Cmake fails with error: "Could not find compiler set in environment variable CC"
By Daniel Rodriguez •
I am brand new to Linux/Ubuntu. I installed Ubuntu two days ago to run ROSS (Rensselaer's Optimistic Simulation System) developed by Argonne National Lab. However, I have been running into some build/installation process with CMake I can't seem to figure out.
I issue the following terminal commands up until the point I get an error:
git clone
cd ROSS
mkdir build
cd build
ARCH=x86_64 CC=mpicc CXX=mpicxx cmake -DCMAKE_INSTALL_PREFIX=../install ../After the 5th command I get the error:
CMake Error at /usr/share/cmake-3.5/Modules/CMakeDetermineCCompiler.cmake:57 (message): Could not find compiler set in environment variable CC: mpicc.
Call Stack (most recent call first): CMakeLists.txt:1 (PROJECT)
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
See also "/home/lawrence/ROSS/build/CMakeFiles/CMakeOutput.log".I have a feeling the solution to my problem is trivial but like I mentioned I'm brand new to Linux so I'd appreciate any help I can get and please go easy on me while describing the solution. Thanks!
Side Notes:
I installed CMake with:
sudo apt-get install cmake & sudo apt-get upgradegcc and g++ is already installed
Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.
More in general
"Zoraya ter Beek, age 29, just died by assisted suicide in the Netherlands. She was physically healthy, but psychologically depressed. It's an abomination that an entire society would actively facilitate, even encourage, someone ending their own life because they had no hope. Th…"