No CMAKE_CXX_COMPILER could be found

In case you get this error

No CMAKECXXCOMPILER could be found

Here is the steps to fix it .

You can come across this error for many reasons such as

If you don't have the C++ compiler installed or g++ .

If you don't have required environment variables configured .

How to install g++ under Ubuntu


You can install the g++ compiler under Ubuntu by opening your terminal window and typing

sudo apt-get install build-essential 

Or you can also install g++ directly with

sudo apt-get install g++

About the Author

Techiediaries is a website dedicated to bring you tutorials for the latest web technologies


comments powered by Disqus
DMCA.com Protection Status