Solarus-Games English Forum

Solarus => Development => Topic started by: jadedFS on March 02, 2015, 12:39:11 AM

Title: CXX compiler not found?
Post by: jadedFS on March 02, 2015, 12:39:11 AM
I'm trying to compile Solarus, but whenever "cmake ." is run, I get the error:
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!
Title: Re: CXX compiler not found?
Post by: Christopho on March 02, 2015, 07:58:00 AM
It looks like the C++ compiler is missing.
You need to install g++ 4.8.
Title: Re: CXX compiler not found?
Post by: jadedFS on March 03, 2015, 04:05:53 AM
Quote from: Christopho on March 02, 2015, 07:58:00 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.