Before I give you the long rant let me cut right to the chase - Ivanux, how exactly did you get Vegastrike to compile and run in Gentoo? (I can't find 'cmake' mentioned anywhere by searching the wiki.)
This is my first post here I played Vegastrike a few years back and wanted to try it again today - on my recently installed Gentoo x86. With the result that I spent the afternoon getting the open source radeon driver to work (on Lenovo Thinkpad W500) and - it does (help to increase room temperature significantly even just with 2D)! Then played around with Tremulous (binary install) a bit - its performance is very acceptable (and in contrast to my old Ubuntu 9.04, mouse pointer doesn't get stuck, but got sluggish at times).
Now, Tremulous had a binary release in December. So I tried to compile Vegastrike from the Subversion version now because I wanted a more recent version than 0.5. ./configure was fine, make wasn't.
Neither Google nor this forum search helped me find a post about anything AUDSoundProperties related ("too common words" for this forum, that's why!), but BY MERE CHANCE, a completely unrelated link I clicked on on http://vegastrike.sourceforge.net/wiki/ ... e_from_SVN ("From this forum thread") led me to http://vegastrike.sourceforge.net/forum ... php?t=9510 - very funny.g++ -DHAVE_CONFIG_H -I. -I/usr/include -DBOOST_PYTHON_NO_PY_SIGNATURES -DHAVE_SDL=1 -DSDL_WINDOWING=1 -I/usr/local/include -DHAVE_FFMPEG -I/usr/include/python2.6 -DHAVE_PYTHON=1 -I./src -pipe -DNV_CUBE_MAP -O2 -ffast-math -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -MT src/aldrv/al_sound.o -MD -MP -MF $depbase.Tpo -c -o src/aldrv/al_sound.o src/aldrv/al_sound.cpp &&\
mv -f $depbase.Tpo $depbase.Po
src/aldrv/al_sound.cpp: In function ‘bool AUDLoadSoundFile(const char*, AUDSoundProperties*, bool)’:
src/aldrv/al_sound.cpp:432: error: invalid use of incomplete type ‘struct AUDSoundProperties’
src/aldrv/al_sound.cpp:428: error: forward declaration of ‘struct AUDSoundProperties’
src/aldrv/al_sound.cpp:451: error: invalid use of incomplete type ‘struct AUDSoundProperties’
src/aldrv/al_sound.cpp:428: error: forward declaration of ‘struct AUDSoundProperties’
src/aldrv/al_sound.cpp:452: error: invalid use of incomplete type ‘struct AUDSoundProperties’
src/aldrv/al_sound.cpp:428: error: forward declaration of ‘struct AUDSoundProperties’
src/aldrv/al_sound.cpp:462: error: invalid use of incomplete type ‘struct AUDSoundProperties’
src/aldrv/al_sound.cpp:428: error: forward declaration of ‘struct AUDSoundProperties’
src/aldrv/al_sound.cpp:463: error: invalid use of incomplete type ‘struct AUDSoundProperties’
src/aldrv/al_sound.cpp:428: error: forward declaration of ‘struct AUDSoundProperties’
src/aldrv/al_sound.cpp:464: error: invalid use of incomplete type ‘struct AUDSoundProperties’
src/aldrv/al_sound.cpp:428: error: forward declaration of ‘struct AUDSoundProperties’
src/aldrv/al_sound.cpp:466: error: invalid use of incomplete type ‘struct AUDSoundProperties’
src/aldrv/al_sound.cpp:428: error: forward declaration of ‘struct AUDSoundProperties’
src/aldrv/al_sound.cpp:476: error: ‘ConvertFormat’ was not declared in this scope
src/aldrv/al_sound.cpp:487: error: ‘ALbyte’ was not declared in this scope
src/aldrv/al_sound.cpp:487: error: expected primary-expression before ‘)’ token
src/aldrv/al_sound.cpp:487: error: invalid use of incomplete type ‘struct AUDSoundProperties’
src/aldrv/al_sound.cpp:428: error: forward declaration of ‘struct AUDSoundProperties’
src/aldrv/al_sound.cpp:487: error: invalid use of incomplete type ‘struct AUDSoundProperties’
src/aldrv/al_sound.cpp:428: error: forward declaration of ‘struct AUDSoundProperties’
(and so on)
src/aldrv/al_sound.cpp:502: error: invalid use of incomplete type ‘const struct AUDSoundProperties’
src/aldrv/al_sound.cpp:428: error: forward declaration of ‘const struct AUDSoundProperties’
src/aldrv/al_sound.cpp:502: error: ‘LoadSound’ was not declared in this scope
src/aldrv/al_sound.cpp: In function ‘float AUDGetCurrentPosition(int)’:
src/aldrv/al_sound.cpp:909: error: ‘ALfloat’ was not declared in this scope
src/aldrv/al_sound.cpp:909: error: expected `;' before ‘rv’
src/aldrv/al_sound.cpp:910: error: ‘rv’ was not declared in this scope
src/aldrv/al_sound.cpp:910: error: ‘alGetSourcef’ was not declared in this scope
make[1]: *** [src/aldrv/al_sound.o] Error 1
make[1]: Leaving directory `/home/frog/Hier/3rdp-software/vegastrike/vegastrike'
make: *** [all] Error 2
Now I'd like to cut down to the compilation problem myself, but I'm getting tired. My approach would be to start by both cutting down the code incrementally, and by starting with a .cpp and a .h file from scratch to try to reproduce the problem that way. But if I get an answer before that, the better!
Greetings
- Felix