Creating a Project - Compiling the source on x86 64

From Unofficial BOINC Wiki

Jump to: navigation, search

BOINC on an x86_64 system can be problematic.

Find the error in the list here, and then follow the steps to resolve.

[edit] libstdc++.so: could not read symbols: File in wrong format

This means the g++ found your x86 version of the library before the 64 bit version.

To correct, edit the Makefiles by running the following script after ./configure

fixmake.sh

#!/bin/sh
grep -v "LDFLAGS" apps/Makefile > apps/Makefile
grep -v "LDFLAGS" lib/Makefile > lib/Makefile
grep -v "LDFLAGS" tools/Makefile > tools/Makefile
grep -v "LDFLAGS" sched/Makefile > sched/Makefile

[edit] apps/upper_case.C:241: undefined reference to `boinc_init_graphics'

BOINC has not been compiled with graphical API.

To correct run the following command a console, chdired to the boinc root folder.

grep -v "#define BOINC_APP_GRAPHICS"  apps/upper_case.C > apps/upper_case.C
Personal tools