Linux Compile issues

OpenSpades is an open source alternative client for AoS Classic and beyond! Runs on Windows, Mac, and Linux. Created by yvt.
Compatible with AoS Classic.
6 posts Page 1 of 1 First unread post
jojo_bacon
Deuce
Posts: 1
Joined: Tue Aug 19, 2014 4:17 pm


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!
learn_more
Coder
Coder
Posts: 891
Joined: Sun Mar 24, 2013 9:59 pm


Code: Select all
g++ --version
what does it show you?
[FWS]Obsidien71
Deuce
Posts: 1
Joined: Thu Sep 25, 2014 4:28 pm


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 ../
a girl
Scripter
Scripter
Posts: 85
Joined: Thu Nov 15, 2012 6:32 am


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).
learn_more
Coder
Coder
Posts: 891
Joined: Sun Mar 24, 2013 9:59 pm


stop being lazy and read the error instead of pasting it here.
a girl
Scripter
Scripter
Posts: 85
Joined: Thu Nov 15, 2012 6:32 am


I thought you'd say that :D
6 posts Page 1 of 1 First unread post
Return to “OpenSpades Discussion”

Who is online

Users browsing this forum: No registered users and 23 guests