Author Topic: CXX compiler not found?  (Read 1419 times)

jadedFS

  • Newbie
  • *
  • Posts: 2
    • View Profile
CXX compiler not found?
« on: March 02, 2015, 12:39:11 am »
I'm trying to compile Solarus, but whenever "cmake ." is run, I get the error:
Code: [Select]
jade@the-stars-like-dust ~/solarus-1.3.1  cmake .
-- 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.
-- Configuring incomplete, errors occurred!
Anyone happen to know of a fix? Thank you!

Christopho

  • Administrator
  • Hero Member
  • *****
  • Posts: 1177
    • View Profile
Re: CXX compiler not found?
« Reply #1 on: March 02, 2015, 07:58:00 am »
It looks like the C++ compiler is missing.
You need to install g++ 4.8.

jadedFS

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: CXX compiler not found?
« Reply #2 on: March 03, 2015, 04:05:53 am »
It looks like the C++ compiler is missing.
You need to install g++ 4.8.
Thank you very much! I just reinstalled Blag, but I assumed I already installed the compiler, hence my confusion at the error.