I opened the "BUILDING.txt" and installed all the libraries that it told me to and followed the instructions to build the "GNUmakefile" and the first error I got was this
"g++ PEngine/audio.cpp -> PEngine/audio.o PEngine/audio.cpp:151:21: fatal error: AL/alut.h: No such file or directory compilation terminated. GNUmakefile:157: recipe for target 'PEngine/audio.o' failed make: [PEngine/audio.o] Error 1"
so then i removed the "audio.cpp" file out of the "PEngine" folder and then entered the "make" command again then I got this error
"-> ../bin/trigger-rally
/usr/bin/ld: cannot find -lalut
collect2: error: ld returned 1 exit status
GNUmakefile:123: recipe for target '../bin/trigger-rally' failed
make: [../bin/trigger-rally] Error 1"
can anyone tell me what im doing wrong?
Last edit: Burned Hdmi 2016-11-12
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
so then i removed the "audio.cpp" file out of the "PEngine" folder and then entered the "make" command again then I got this error
Please don't do this. Restore all the files you may have removed so that the src/ directory has its original contents.
g++ PEngine/audio.cpp -> PEngine/audio.o PEngine/audio.cpp:151:21: fatal error: AL/alut.h: No such file or directory compilation terminated. GNUmakefile:157: recipe for target 'PEngine/audio.o' failed make: [PEngine/audio.o] Error 1
This error message tells that the OpenAL / freeALUT development library was not installed (the header file AL/alut.h is missing).
Search again for these development libraries and install them. Possible names: libopenal-dev, libalut-dev, freealut-devel, openal-soft-devel, depending on your distro.
As a last ditch effort, if you cannot find the libraries listed above, then download and build them yourself:
Don't hesitate to ask again if you have future problems getting the game to run.
And may I interest you in testing the future version 0.6.5 that's due to be released this December?
The differences are purely technical (it uses newer versions of development libraries). So the new game looks and plays just like the current 0.6.4 but we want to make sure it works correctly for everybody.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I opened the "BUILDING.txt" and installed all the libraries that it told me to and followed the instructions to build the "GNUmakefile" and the first error I got was this
"g++ PEngine/audio.cpp -> PEngine/audio.o PEngine/audio.cpp:151:21: fatal error: AL/alut.h: No such file or directory compilation terminated. GNUmakefile:157: recipe for target 'PEngine/audio.o' failed make: [PEngine/audio.o] Error 1"
so then i removed the "audio.cpp" file out of the "PEngine" folder and then entered the "make" command again then I got this error
"-> ../bin/trigger-rally
/usr/bin/ld: cannot find -lalut
collect2: error: ld returned 1 exit status
GNUmakefile:123: recipe for target '../bin/trigger-rally' failed
make: [../bin/trigger-rally] Error 1"
can anyone tell me what im doing wrong?
Last edit: Burned Hdmi 2016-11-12
Please don't do this. Restore all the files you may have removed so that the src/ directory has its original contents.
This error message tells that the OpenAL / freeALUT development library was not installed (the header file AL/alut.h is missing).
Search again for these development libraries and install them. Possible names: libopenal-dev, libalut-dev, freealut-devel, openal-soft-devel, depending on your distro.
As a last ditch effort, if you cannot find the libraries listed above, then download and build them yourself:
Thanks this helped!
I'm new to all of this as you can tell.
Don't hesitate to ask again if you have future problems getting the game to run.
And may I interest you in testing the future version 0.6.5 that's due to be released this December?
The differences are purely technical (it uses newer versions of development libraries). So the new game looks and plays just like the current 0.6.4 but we want to make sure it works correctly for everybody.
Also, if my above post did not help you, please share more information about your system and tools.
For example, if you're trying to build on Windows then you must use GNUmakefile.MSYS or GNUmakefile.MSYS64, like so: