Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No libfreenect.pc installation on Mac OS X #410

Closed
mindrones opened this issue Sep 1, 2014 · 0 comments
Closed

No libfreenect.pc installation on Mac OS X #410

mindrones opened this issue Sep 1, 2014 · 0 comments
Milestone

Comments

@mindrones
Copy link

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.

@piedar piedar added this to the v0.5.1 milestone Sep 1, 2014
@piedar piedar closed this as completed in f0beb4c Sep 1, 2014
piedar added a commit that referenced this issue Sep 1, 2014
Fix broken link in README.md

Signed-off-by: Benn Snyder <benn.snyder@gmail.com>
piedar added a commit that referenced this issue Sep 1, 2014
Fix broken link in README.md

Signed-off-by: Benn Snyder <benn.snyder@gmail.com>
yarikoptic added a commit to yarikoptic/libfreenect that referenced this issue Feb 14, 2015
libfreenect v0.5.1 Tabula

* tag 'v0.5.1':
  Fix CPack libusb dependency - fixes OpenKinect#420
  win32: Fix scattered sources causing link errors
  OSX: Link freenect-cpp_pcview to libfreenect
  Install libfreenect.pc on OSX - fixes OpenKinect#410 Fix broken link in README.md
  Add cpp_pcview example
  Update python wrapper.
  python: Add .gitattributes which treats the Python freenect.c as binary
  Ignore .pyc files from Python
  Python wrapper: handle non-standard modes properly
  Python wrapper: prevent *Ptr classes from being created from Python
  Java wrapper: Don't set video or depth formats at startup.
  Implement all FREENECTAPI functions in fakenect to avoid issues with Java wrapper
  bump java wrapper version, bundle with all dependencies
  Use native byte ordering on byte buffers
  Add convenient Makefile
  python: add Python library to link command
yarikoptic added a commit to yarikoptic/libfreenect that referenced this issue Feb 14, 2015
* dfsg:
  Fix CPack libusb dependency - fixes OpenKinect#420
  win32: Fix scattered sources causing link errors
  OSX: Link freenect-cpp_pcview to libfreenect
  Install libfreenect.pc on OSX - fixes OpenKinect#410 Fix broken link in README.md
  Add cpp_pcview example
  Update python wrapper.
  python: Add .gitattributes which treats the Python freenect.c as binary
  Ignore .pyc files from Python
  Python wrapper: handle non-standard modes properly
  Python wrapper: prevent *Ptr classes from being created from Python
  Java wrapper: Don't set video or depth formats at startup.
  Implement all FREENECTAPI functions in fakenect to avoid issues with Java wrapper
  bump java wrapper version, bundle with all dependencies
  Use native byte ordering on byte buffers
  Add convenient Makefile
  python: add Python library to link command
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants