LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please (https://www.linuxquestions.org/questions/linux-newbie-8/cmake-error-your-cxx-compiler-cmake_cxx_compiler-notfound-was-not-found-please-4175449222/)

face123k 02-08-2013 03:35 PM

CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please
 
sachin@sachin-Lenovo-TianYi-Fxx:~/pam-face-authentication-0.3/build$ cmake -D CMAKE_INSTALL_PREFIX=/usr ..
-- 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.
CMake Error at /usr/share/cmake-2.8/Modules/FindX11.cmake:411 (MESSAGE):
Could not find X11
Call Stack (most recent call first):
CMakeLists.txt:72 (FIND_PACKAGE)

-- Configuring incomplete, errors occurred!

What is this mean exactly..what i have to do ,i checked out in system gCC 4.6.3 already there..in another system it ask for C++ cmpiler.Is there any need to Download C++ compiler or somthing else

knudfl 02-08-2013 04:52 PM

Quote:

CMAKE_CXX_COMPILER-NOTFOUND
sudo apt-get install g++
Quote:

Could not find X11
sudo apt-get install libx11-dev


"pam-face-authentication"
http://www.ubuntubuzz.com/2011/05/fa...cognition.html
sudo apt-add-repository ppa:antonio.chiurazzi/ppa && sudo apt-get update
sudo apt-get install pam-face-authentication

-

face123k 02-09-2013 02:53 AM

After installing this


Could NOT find Qt4 (missing: QT_QMAKE_EXECUTABLE QT_MOC_EXECUTABLE
QT_RCC_EXECUTABLE QT_UIC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR
QT_QTCORE_LIBRARY)
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-2.8/Modules/FindQt4.cmake:1171 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:73 (FIND_PACKAGE)

-- Configuring incomplete, errors occurred!

knudfl 02-09-2013 03:08 AM

Well, you could start with :
sudo apt-add-repository ppa:antonio.chiurazzi/ppa && sudo apt-get update
sudo apt-get install pam-face-authentication
http://askubuntu.com/questions/11593...authentication
http://www.ubuntubuzz.com/2011/05/fa...cognition.html
... Then you don't have to build anything manually.


About the missing qt4 :
All library dependencies at build time are "(lib)<name>-dev" :
sudo apt-get install libqt4-dev

All prerequisites for 'pam-face-authentication'
http://code.google.com/p/pam-face-authentication/ >
> https://code.google.com/p/pam-face-a...tionFromSource
sudo apt-get install build-essential cmake qt4-qmake libqt4-dev libx11-dev libcv-dev libcvaux-dev libhighgui-dev libpam0g-dev checkinstall

-


All times are GMT -5. The time now is 01:05 AM.