|
scons install version
Thanks for quick reply. My os is PLD Linux Distribution. My video card is geforce 6100 and i use the latest nvidia driver from their site.
[piotrek@carnage ~]$ uname -a
Linux carnage 2.6.20.4-1 #1 SMP Fri Mar 23 21:26:09 UTC 2007 x86_64 AMD_Turion_64_X2_Mobile_Technology_TL-50 PLD Linux
I'm not a programist but after source build stopped i tryed find something about this in google. And i found the site where somebody explain why the compilation faild. I change 2 lines in main.cpp and the source are buildable for me :lol: I show you whats happend when i try build before:
g++ -o build/main.o -c -Wall -Wno-non-virtual-dtor -g3 -D_GNU_SOURCE=1 -D_REENTRANT -Iinclude -I/usr/include/SDL src/main.cpp
src/main.cpp:979: error: '<anonymous>' has incomplete type
src/main.cpp:979: error: invalid use of 'GLvoid'
src/main.cpp:1153: error: '<anonymous>' has incomplete type
src/main.cpp:1153: error: invalid use of 'GLvoid'
src/main.cpp: In function 'int main(int, char**)':
src/main.cpp:979: error: too few arguments to function 'void InitGL(<type>)'
src/main.cpp:1828: error: at this point in file
src/main.cpp:1153: error: too few arguments to function 'int drawGLScene(<type>)'
src/main.cpp:1892: error: at this point in file
src/main.cpp:1153: error: too few arguments to function 'int drawGLScene(<type>)'
src/main.cpp:2081: error: at this point in file
scons: *** [build/main.o] Error 1
scons: building terminated because of errors.
error: Bad exit status from /tmp/rpm-tmp.15086 (%build)
And thanks for advice to install data (i thought i done it :oops: )
Thanks once again.
|