Won't compile on Linux

Ask for help regarding any technical issue or report any bug or OS independent issues.
Locked
Guest

Won't compile on Linux

Post by Guest » 26 Sep 2004, 04:43

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
User avatar
ElvenProgrammer
TMW Adviser
TMW Adviser
Posts: 2526
Joined: 13 Apr 2004, 20:11
Location: Italy
Contact:

Post by ElvenProgrammer » 26 Sep 2004, 07:00

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:
Locked