Page 1 of 1

Won't compile on Linux

Posted: 26 Sep 2004, 03:43
by Guest
I've installed all the dependencies and still can't get it to compile on Mandrake 10:

g++ -Wall -march=i686 -O3 -fexpensive-optimizations -pipe -fomit-frame-pointer -funroll-loops -fexceptions -c -o Sound/sound.o Sound/sound.cpp
Sound/sound.cpp: In member function `void TmwSound::SetVol(int, int, int)':
Sound/sound.cpp:100: error: `set_hardware_volume' undeclared (first use this function)
Sound/sound.cpp:100: error: (Each undeclared identifier is reported only once for each function it appears in.)
make: *** [Sound/sound.o] Error 1

Any suggestions?

Thanks

Posted: 26 Sep 2004, 06:00
by ElvenProgrammer
That's why you used Allegro 4.0.x instead of Allegro 4.1.x. Switch to a newer version and you'll surely fix it :wink: