Compiling BOINC client software
The BOINC client software includes:
- The core client
- The BOINC Manager
- boinc_cmd
- The BOINC screensaver (Windows and Mac only)
Linux
If you want to build the client software for use on hosts equivalent to yours, build it using:
./_autosetup
./configure --disable-server --enable-client CXXFLAGS="-O3 "
make
cd packages/generic/sea/
make
The executables are located under the folder BOINC.
If instead you intend to build portable binaries of the client software that should run on a wide variety of GNU/Linux platforms, we recommended that you build the client software using a virtual machine (e.g. running under Oracle VirtualBox, download the Compatibility virtual machine image). In this case you should build using:
./_autosetup
./configure --disable-server --enable-client-release --build=i686-pc-linux-gnu \
CXXFLAGS="-O3 -funroll-loops -fforce-addr -ffast-math"
make
See details of the build system.
The result (in the sea/ directory) will be a self-extracting archive (boinc_x.y.z_i686-pc-linux-gnu.sh) containing the BOINC client software.
Other Unix
- Download and install prerequisites
- Download current source code
- Configure (with --disable_server) and make
The result (in the sea/ directory) will be a self-extracting archive (boinc_x.y.z_PLATFORM.sh) containing the BOINC client software. If you have old versions of libraries (curl, openssl etc.) in /usr/lib, and newer versions somewhere else (like /usr/local/lib) you may need to tell the linker where to find the newer versions, as in:
./configure LDFLAGS=-L/usr/local/lib
Here is the list of packages that are needed to compile the BOINC graphics libs on Debian (the same packages should also be available on Ubuntu):
freeglut3-dev libsm-dev libice-dev libxmu-dev libxi-dev libx11-dev libjpeg62-dev
Windows
Visual Studio 2022 Community Edition Build Environment
Software Prerequisites:
- Download and install Visual Studio 2022 Community Edition (or any other edition of Visual Studio 2022 if you have a license).
- Download the BOINC source code.
Building via Visual Studio
Double-click on the boinc.sln file in the win_build directory to launch Visual Studio. From here you should be able to perform any build operation you want.
Building via the Command Line
Launching the BOINC Build Environment for Windows x64:
cd \src\boinc\win_build
msbuild win_build\boinc.sln -p:Configuration=Release -p:Platform=x64
Launching the BOINC Build Environment for Windows ARM64:
cd \src\boinc\win_build
msbuild win_build\boinc.sln -p:Configuration=Release -p:Platform=ARM64
To build Debug version just replace
-p:Configuration=Release
with
-p:Configuration=Debug
Mac OS X
Instructions for building the BOINC client on Mac OS X are on a separate page.