wiki:CompileClient

Version 2 (modified by Nicolas, 11 years ago) (diff)

Required manual changes to automatic conversion.

Compiling BOINC client software

The BOINC client software includes:

  • The core client
  • The BOINC Manager
  • boinc_cmd (Unix/Linux? only)
  • The BOINC screensaver (Windows and Mac only)

Linux/x86

We recommend that you build client software using a virtual machine running under Microsoft Virtual PC. Download the Compatibility virtual machine image. Then:

  • Download current source code
  • In the top directory, type
    ./_autosetup
    ./configure --disable-server --build=i686-pc-linux-gnu \
        CXXFLAGS="-O3 -funroll-loops -fforce-addr -ffast-math"
    make
    
    See details

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

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 must tell the linker where to find the newer versions:

./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

Use Microsoft Visual Studio 2005.

Install version 2.6.3 of WxWidgets:

  • Download and install the WxWidgets? source according to instructions on the web site.
  • In Settings/Control? Panel/System?, select Advanced; click Environment Variables. Under 'User variables' click New. Create a variable named 'wxwin' with value 'c:\wx' (or wherever you installed it). Then restart Visual Studio.

Open boinc/win_build/boinc.sln, and build. TODO: instructions for creating an installer with Installshield X.

Mac OS X

Instructions for building the BOINC client on Mac OS X are here.