build solarus in ubuntu 14.04,cmake error

Started by yangchao, March 15, 2015, 05:21:36 AM

Previous topic - Next topic
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.
...


March 15, 2015, 10:20:41 AM #1 Last Edit: March 15, 2015, 02:30:36 PM by Christopho
You need a C++ compiler. Try to install the following packages: build-essentials gcc-4.8 g++-4.8