Closed micmarty closed 5 years ago
Ubuntu 18.04 gcc and g++ 7.3.0 Torcs 1.36
I think this may help others:
sudo apt-get install libplib-dev sudo apt-get install libopenal-dev sudo apt-get install libalut-dev sudo apt-get install libvorbis-dev sudo apt-get install libxxf86vm-dev sudo apt-get install libxmu-dev sudo apt-get install libxi-dev sudo apt-get install libxrender-dev sudo apt-get install libxrandr-dev
Then you will get 2 compilation errors:
# Modify src/drivers/olethros/geometry.cpp isnan -> std::isnan
# Modify src/libs/musicplayer/OpenALMusicPlayer.cpp const char* error = '\0' -> const char* error = nullptr (Modify )
Thanks @micmarty for your help!
I think this may help others:
Then you will get 2 compilation errors: