In short: when compiling on Mac OS X (10.7.5) libfreenect.pc is not installed, causing problems compiling other libraries depending on libfreenect.
In src/CMakeLists.txt this block:
IF(UNIX AND NOT APPLE)
# Produce a pkg-config file for linking against the shared lib
configure_file ("libfreenect.pc.in" "libfreenect.pc" @ONLY)
install (FILES "${CMAKE_CURRENT_BINARY_DIR}/libfreenect.pc"
DESTINATION "${PROJECT_LIBRARY_INSTALL_DIR}/pkgconfig")
ENDIF()`
prevents from installing libfreenect.pc. When compiling another library depending on libfreenect, this line in the offended library configure.ac:
PKG_CHECK_MODULES(FREENECT, libfreenect >= 0.0)
fails to find the libfreenect version causing compiling problems.
If there isn't a specific reason why this has been disabled, it would be nice to have it enabled.
In short: when compiling on Mac OS X (10.7.5)
libfreenect.pcis not installed, causing problems compiling other libraries depending onlibfreenect.In
src/CMakeLists.txtthis block:prevents from installing
libfreenect.pc. When compiling another library depending onlibfreenect, this line in the offended libraryconfigure.ac:fails to find the
libfreenectversion causing compiling problems.If there isn't a specific reason why this has been disabled, it would be nice to have it enabled.