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

Fails to compile (OSX 10.10) #413

Closed
timolins opened this issue Sep 6, 2014 · 2 comments
Closed

Fails to compile (OSX 10.10) #413

timolins opened this issue Sep 6, 2014 · 2 comments
Milestone

Comments

@timolins
Copy link

timolins commented Sep 6, 2014

When I try to make libfreenect, it results in this:

[ 93%] Built target firmware
[ 93%] Built target freenect
[ 93%] Built target freenectstatic
[ 93%] Built target freenect-chunkview
[ 93%] Built target freenect_sync
[ 93%] Built target freenect-regtest
[ 93%] Built target freenect-tiltdemo
[ 93%] Built target freenect-glpclview
[ 93%] Built target freenect-glview
[ 93%] Built target freenect-hiview
[ 93%] Built target freenect-micview
[ 93%] Built target freenect-regview
[ 93%] Built target freenect-wavrecord
[ 93%] Built target fakenect
[ 93%] Built target fakenect-record
[ 93%] Built target freenect_sync_static
Linking CXX executable ../../bin/freenect-cpp_pcview
Undefined symbols for architecture x86_64:
  "_freenect_close_device", referenced from:
      MyFreenectDevice::MyFreenectDevice(_freenect_context*, int) in cpp_pc_view.cpp.o
      MyFreenectDevice::~MyFreenectDevice() in cpp_pc_view.cpp.o
      MyFreenectDevice::~MyFreenectDevice() in cpp_pc_view.cpp.o
      Freenect::FreenectDevice::~FreenectDevice() in cpp_pc_view.cpp.o
      Freenect::FreenectDevice::~FreenectDevice() in cpp_pc_view.cpp.o
  "_freenect_find_depth_mode", referenced from:
      MyFreenectDevice::MyFreenectDevice(_freenect_context*, int) in cpp_pc_view.cpp.o
      Freenect::FreenectDevice::setDepthFormat(freenect_depth_format, freenect_resolution) in cpp_pc_view.cpp.o
  "_freenect_find_video_mode", referenced from:
      MyFreenectDevice::MyFreenectDevice(_freenect_context*, int) in cpp_pc_view.cpp.o
      MyFreenectDevice::VideoCallback(void*, unsigned int) in cpp_pc_view.cpp.o
      Freenect::FreenectDevice::setVideoFormat(freenect_video_format, freenect_resolution) in cpp_pc_view.cpp.o
  "_freenect_get_current_depth_mode", referenced from:
      MyFreenectDevice::DepthCallback(void*, unsigned int) in cpp_pc_view.cpp.o
  "_freenect_get_user", referenced from:
      Freenect::FreenectDevice::freenect_depth_callback(_freenect_device*, void*, unsigned int) in cpp_pc_view.cpp.o
      Freenect::FreenectDevice::freenect_video_callback(_freenect_device*, void*, unsigned int) in cpp_pc_view.cpp.o
  "_freenect_init", referenced from:
      Freenect::Freenect::Freenect() in cpp_pc_view.cpp.o
  "_freenect_open_device", referenced from:
      Freenect::FreenectDevice::FreenectDevice(_freenect_context*, int) in cpp_pc_view.cpp.o
  "_freenect_process_events_timeout", referenced from:
      Freenect::Freenect::operator()() in cpp_pc_view.cpp.o
  "_freenect_select_subdevices", referenced from:
      Freenect::Freenect::Freenect() in cpp_pc_view.cpp.o
  "_freenect_set_depth_callback", referenced from:
      Freenect::FreenectDevice::FreenectDevice(_freenect_context*, int) in cpp_pc_view.cpp.o
  "_freenect_set_depth_mode", referenced from:
      Freenect::FreenectDevice::setDepthFormat(freenect_depth_format, freenect_resolution) in cpp_pc_view.cpp.o
  "_freenect_set_user", referenced from:
      Freenect::FreenectDevice::FreenectDevice(_freenect_context*, int) in cpp_pc_view.cpp.o
  "_freenect_set_video_callback", referenced from:
      Freenect::FreenectDevice::FreenectDevice(_freenect_context*, int) in cpp_pc_view.cpp.o
  "_freenect_set_video_mode", referenced from:
      Freenect::FreenectDevice::setVideoFormat(freenect_video_format, freenect_resolution) in cpp_pc_view.cpp.o
  "_freenect_shutdown", referenced from:
      Freenect::Freenect::~Freenect() in cpp_pc_view.cpp.o
  "_freenect_start_depth", referenced from:
      _main in cpp_pc_view.cpp.o
      Freenect::FreenectDevice::setDepthFormat(freenect_depth_format, freenect_resolution) in cpp_pc_view.cpp.o
  "_freenect_start_video", referenced from:
      _main in cpp_pc_view.cpp.o
      Freenect::FreenectDevice::setVideoFormat(freenect_video_format, freenect_resolution) in cpp_pc_view.cpp.o
  "_freenect_stop_depth", referenced from:
      keyPressed(unsigned char, int, int) in cpp_pc_view.cpp.o
      Freenect::FreenectDevice::setDepthFormat(freenect_depth_format, freenect_resolution) in cpp_pc_view.cpp.o
  "_freenect_stop_video", referenced from:
      keyPressed(unsigned char, int, int) in cpp_pc_view.cpp.o
      Freenect::FreenectDevice::setVideoFormat(freenect_video_format, freenect_resolution) in cpp_pc_view.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [bin/freenect-cpp_pcview] Error 1
make[1]: *** [wrappers/cpp/CMakeFiles/freenect-cpp_pcview.dir/all] Error 2
make: *** [all] Error 2

Somthing similar also happens when I try to install it via brew.

@piedar piedar added this to the v0.5.1 milestone Sep 8, 2014
@piedar
Copy link
Contributor

piedar commented Sep 9, 2014

Please try a5c8f6b.

@piedar
Copy link
Contributor

piedar commented Oct 29, 2014

Assumed fixed.

@piedar piedar closed this as completed Oct 29, 2014
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