-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
I tried very hard on building the FOVIS on Windows 7 with CMake. However, I
could never got the project built without annoying errors...
First, it is the pkg_config problem. I never use it since installing PCL does
not need pkg-config. However I managed to install it by using MinGW
http://www.gaia-gis.it/spatialite-3.0.0-BETA/mingw_how_to.html
Second, it seems like pkg-config cannot find eigen3.
After a unsuccessful cmake configuration by MinGW Shell, I tried to add
libfovis.pc directory (C:/libfovis-1.0.0/libfovis/build/lib/pkgconfig) and
eigen3.pc.in directory (C:/eigen-eigen-c76e08cca8eb)to PKG_CONFIG_PATH. I got
the same errors after all...
Third, the STRIP commands in cmake file causing errors. It can be solved by
commenting it out, but not sure it is a proper way.
Please help if you have experienced and solved these errors. Really appreciate
it.
/////////Cmake configure result ///////////
checking for module 'eigen3'
package 'eigen3' not found
CMake Error at D:/Development/CMake
2.8/share/cmake-2.8/Modules/FindPkgConfig.cmake:279 (message):
A required package was not found
Call Stack (most recent call first):
D:/Development/CMake 2.8/share/cmake-2.8/Modules/FindPkgConfig.cmake:333 (_pkg_check_modules_internal)
CMakeLists.txt:11 (pkg_check_modules)
CMake Error at cmake/pods.cmake:239 (string):
string sub-command STRIP requires two arguments.
Call Stack (most recent call first):
libfovis/CMakeLists.txt:34 (pods_use_pkg_config_packages)
CMake Error at cmake/pods.cmake:239 (string):
string sub-command STRIP requires two arguments.
Call Stack (most recent call first):
testers/CMakeLists.txt:3 (pods_use_pkg_config_packages)
CMake Error at cmake/pods.cmake:239 (string):
string sub-command STRIP requires two arguments.
Call Stack (most recent call first):
testers/CMakeLists.txt:9 (pods_use_pkg_config_packages)
Configuration (fovis):
libfovis: Enabled
OpenNI example: Enable
libfreenct example: Disabled - libfreenect.h not found (leave it unfound since i dont need it)
/////////////////////////////////////////////////////////////
Original issue reported on code.google.com by freakyen...@gmail.com on 18 Jan 2013 at 3:16
Reactions are currently unavailable