Solarus-Games English Forum

Solarus => Development => Topic started by: yangchao on March 15, 2015, 05:21:36 AM

Title: build solarus in ubuntu 14.04,cmake error
Post by: yangchao on March 15, 2015, 05:21:36 AM
Hi
after install ocorresponding packages(apt-get install libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev libluajit-5.1-dev libphysfs-dev libopenal-dev libmodplug-dev libvorbis-dev")
in solarus home directory, mkdir build, cd build,cmake ..

err infomation:
...
-- 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.
...

Title: Re: build solarus in ubuntu 14.04,cmake error
Post by: Christopho on March 15, 2015, 10:20:41 AM
You need a C++ compiler. Try to install the following packages: build-essentials gcc-4.8 g++-4.8
Title: Re: build solarus in ubuntu 14.04,cmake error
Post by: yangchao on March 15, 2015, 11:07:06 AM
thanks a lot!
build success!