| | 1 | = Compiling BOINC client software = |
| | 2 | |
| | 3 | The BOINC client software includes: |
| | 4 | * The core client |
| | 5 | * The BOINC Manager |
| | 6 | * boinc_cmd (Unix/Linux only) |
| | 7 | * The BOINC screensaver (Windows and Mac only) |
| | 8 | |
| | 9 | |
| | 10 | == Linux/x86 == |
| | 11 | We recommend that you build client software using a virtual machine running under Microsoft Virtual PC. Download the [VirtualMachines Compatibility] virtual machine image. Then: |
| | 12 | * [SourceCode Download current source code] |
| | 13 | * In the top directory, type |
| | 14 | {{{ |
| | 15 | ./_autosetup |
| | 16 | ./configure --disable-server --build=i686-pc-linux-gnu \ |
| | 17 | CXXFLAGS="-O3 -funroll-loops -fforce-addr -ffast-math" |
| | 18 | make |
| | 19 | }}} |
| | 20 | [BuildSystem See details] |
| | 21 | |
| | 22 | 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. |
| | 23 | == Other Unix == |
| | 24 | |
| | 25 | * Download and install [http://boinc.berkeley.edu/trac/wiki/SoftwarePrereqsUnix prerequisites] |
| | 26 | * [SourceCode Download current source code] |
| | 27 | * [BuildSystem Configure (with --disable_server) and make] |
| | 28 | |
| | 29 | 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: |
| | 30 | |
| | 31 | |
| | 32 | {{{ |
| | 33 | ./configure LDFLAGS=-L/usr/local/lib |
| | 34 | }}} |
| | 35 | 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): |
| | 36 | |
| | 37 | freeglut3-dev libsm-dev libice-dev libxmu-dev libxi-dev libx11-dev libjpeg62-dev |
| | 38 | |
| | 39 | |
| | 40 | == Windows == |
| | 41 | Use Microsoft Visual Studio 2005. Install version 2.6.3 of [http://www.wxwidgets.org/ WxWidgets]: |
| | 42 | |
| | 43 | |
| | 44 | * Download and install the WxWidgets source according to instructions on the web site. |
| | 45 | * 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. |
| | 46 | |
| | 47 | Open boinc/win_build/boinc.sln, and build. TODO: instructions for creating an installer with Installshield X. |
| | 48 | |
| | 49 | |
| | 50 | == Mac OS X == |
| | 51 | Instructions for building the BOINC client on Mac OS X are [MacBuild here]. |