Reputation: 2137
I'm trying to build OpenCV with Cmake on Windows 7. I chose to use the Visual Studio 10 compiler.
I'm getting the following error:
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeCXXInformation.cmake:37 (get_filename_component):
get_filename_component called with incorrect number of arguments Call Stack (most recent call first): CMakeLists.txt:2 (PROJECT)
I'm sure the path to OpenCV is correct. Can anyone please guide me as to how to fix this error?
Thanks in advance!!
Upvotes: 2
Views: 13807
Reputation: 2137
The problem was solved following the link: http://answers.opencv.org/question/13490/cmake-opencv249-master-branch-windows-7-x64/
Upvotes: 1