Author Topic: build solarus in ubuntu 14.04,cmake error  (Read 1294 times)

yangchao

  • Newbie
  • *
  • Posts: 10
    • View Profile
build solarus in ubuntu 14.04,cmake error
« 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.
...


Christopho

  • Administrator
  • Hero Member
  • *****
  • Posts: 1172
    • View Profile
Re: build solarus in ubuntu 14.04,cmake error
« Reply #1 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
« Last Edit: March 15, 2015, 02:30:36 pm by Christopho »

yangchao

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: build solarus in ubuntu 14.04,cmake error
« Reply #2 on: March 15, 2015, 11:07:06 am »
thanks a lot!
build success!