here it stops, when i try to compile Gem from git:
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -DGEM_INTERNAL -DGLEW_BUILD -DPD -I/home/kubriel/Downloads/AUR/pd-git/src/pd-build/src -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -freg-struct-return -O3 -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -msse2 -MT libGem_la-GLStack.lo -MD -MP -MF .deps/libGem_la-GLStack.Tpo -c GLStack.cpp -fPIC -DPIC -o .libs/libGem_la-GLStack.o Files.cpp: In function ‘void gem::files::close(int)’: Files.cpp:171:7: error: ‘::close’ has not been declared Files.cpp:171:7: note: suggested alternative: Files.cpp:167:10: note: ‘gem::files::close’ make[3]: *** [libGem_la-Files.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... GLStack.cpp:92:3: warning: #warning push/pop texture matrix has to be done per texunit [-Wcpp]
On 04/06/12 18:46, Jakub Pišek wrote:
here it stops, when i try to compile Gem from git:
which compiler (gcc-version) is this?
i pushed a change to Files.cpp that would include <unistd.h>, maybe this fixes the problem. please check (and tell us of success/failure)
fgmasdr IOhannes