[FIX] cmake "CMAKE_CXX_COMPILER-NOTFOUND" error
If you come across this error while using cmake to build from source:
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
It means that you don't have the build tools installed (the g++ in this case).
Fix
Open a terminal window and run:
sudo apt-get install build-essential -y
ty this helped very much, Ubuntu 12.04 just incase any one needs to know :)
ReplyDeleteThank you very much! I has this trouble and it was solutioned with your help.
ReplyDeleteYou're welcome.
DeleteThank you
ReplyDeleteThanks! Working in Ubuntu 12.04.
ReplyDeleteYou're welcome!
Deletei don't always make comment, but this is really helpful. thanks!
ReplyDeleteYou're welcome!
DeleteIt helps me a lot to install mysql-5.6.10 from source.
ReplyDelete-Sourav
I'm glad this was helpful.
Deletethanks man! this is really helpful !!!!!
ReplyDeleteThank you very much..this solution works as magic.
ReplyDeleteThank you! :)
ReplyDeleteThank you. this is helpful.
ReplyDeleteWorked :)
ReplyDeleteWhen I tried this, it got stuck at 0% [Waiting For Headers]. How to proceed further?
ReplyDeleteTry sudo apt-get update
DeleteWhich Xubuntu version are you running?
Thanks! Worked on Ubuntu 10.10.
ReplyDeletethank you <3
ReplyDeletethanks!!!
ReplyDeleteThanks a lot.
ReplyDeletethanks!!
ReplyDeletethank you very much - Mint 17
ReplyDeleteWorks Tanks
ReplyDeleteThanks! Working in Ubuntu 14.04.
ReplyDeletedoes not work ...
ReplyDeletePlease elaborate
Delete