Page 1 of 1

Linux Compile issues

Posted: Tue Aug 19, 2014 4:21 pm
by jojo_bacon
I have done all of the steps listed on github, I get this error when compiling:

-- The CXX compiler identification is unknown
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
-- Could NOT find SDL2_image (missing: SDL2_IMAGE_LIBRARIES SDL2_IMAGE_INCLUDE_DIRS)
CMake Error at CMakeLists.txt:21 (message):
SDL_image 2.0 not found, set ENV{SDL2DIR} to point to SDL 2.0, and
optionally set the cmake var SDL2_LIBRARY_TEMP to the lib dir


-- Configuring incomplete, errors occurred!

Re: Linux Compile issues

Posted: Tue Aug 19, 2014 5:13 pm
by learn_more
Code: Select all
g++ --version
what does it show you?

Re: Linux Compile issues

Posted: Thu Sep 25, 2014 4:38 pm
by [FWS]Obsidien71
Her jojo_bacon
sudo apt remove g++ && sudo apt install g++
I had the same problem
also
( YOLO methode )
sudo apt-get install pkg-config libglew-dev libcurl3-openssl-dev libjpeg-dev libxinerama-dev libxft-dev gcc clang g++ cmake

for install SDL :
wget http://www.libsdl.org/release/SDL2-2.0.2.tar.gz
tar -zxvf SDL2-2.0.2.tar.gz
cd SDL2-2.0.2/
./configure && make && sudo make install
cd ../
wget https://www.libsdl.org/projects/SDL_ima ... 0.0.tar.gz
tar -zxvf SDL2_image-2.0.0.tar.gz
cd SDL2_image-2.0.0/
./configure && make && sudo make install
cd ../

Re: Linux Compile issues

Posted: Tue Sep 30, 2014 9:00 am
by a girl
Can I be lazy and post a compile issue too? :D

error: /usr/local/games//libopenal.so: cannot open shared object file: No such file or directory audio

symptoms: game produces previous error when I launch the game from the setup screen. If i disable audio, the game works, though silently (imagine that).

Re: Linux Compile issues

Posted: Thu Oct 02, 2014 9:45 pm
by learn_more
stop being lazy and read the error instead of pasting it here.

Re: Linux Compile issues

Posted: Fri Oct 03, 2014 12:20 am
by a girl
I thought you'd say that :D