FAQ Database Discussion Community


Cmake errors: The CXX Compiler identification is unknown, The C compiler identification is unknown

c++,opencv,cmake,arm,cmake-gui
I'm trying to install OpenCV on Fedora 21 with a cross compiler for ARM processor. However, when i try to configure using Cmake 3.03, it gives the error: *The CXX compiler identification is unknown The C compiler identification is unknown Check for working CXX compiler: /opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-g++ Check for working CXX...

Visual Studio 2013 and Cmake?

visual-studio,visual-studio-2012,visual-studio-2013,cmake,cmake-gui
I have been using 2010 on a project. The project was built using cmake, when cmake chose to use the compiler Visual Studio 2010. Now I intend to move the whole set up of the project to Visual Studio 2013. So, today I installed Visual Studio 2013. But when I...

OpenGL GLFW build errors OR linking errors

c++,opengl,visual-studio-2012,glfw,cmake-gui
Can someone help me get GLFW working in Visual Studio 2012? I can't get past initial compilation. I keep getting unresolved externals for the GLFW functions. The problem is, I don't know what I'm doing wrong. I could be: Improperly making the source files with CMake. Improperly building the library....

Cmake could not find the VTKConfig.cmake

c++,qt,boost,vtk,cmake-gui
I'm trying to compile a program in CMake but I'm getting this error. By not providing "FindVTK.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "VTK", but CMake did not find one. Could not find a package configuration file provided by "VTK" (requested...

Setting a cross-compiler file using the CMake GUI

cmake,cmake-gui
I'm trying set-up my cross-compile build using CMake. So far I'm setting the cross compiler file calling CMake like this from the command line: #Call cmake with the given options cmake -D CMAKE_TOOLCHAIN_FILE=$cross_cmp_file \ -D BUILD_TESTS:BOOLEAN=$build_test \ ../src This works just fine. Now I'm trying to set the CMAKE_TOOLCHAIN_FILE variable...

Link target to libraries

makefile,cmake,mingw,cmake-gui
I have a "CMakified" version of CryptoPP and I am using CMake-GUI to create a MakeFile which ming-make could process as shown in the image below. The "MakeFile" creation was successful but when I executed mingw32-make.exe I got below errors at the very end. Linking CXX executable cryptest.exe CMakeFiles\cryptest.dir/objects.a(test.cpp.obj):test.cpp:(.text+0x8e82): undefined...