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

ofxNDI5 macOS 10.15.7 OF 11.2 build error for example-audio-receiver #32

Open
stephanschulz opened this issue Aug 20, 2022 · 1 comment

Comments

@stephanschulz
Copy link

I am trying to compile the example-audio-receiver example but get the following error.
I am on a MBP with i9 chip.

Screen Shot 2022-08-20 at 11 06 17 AM

Undefined symbols for architecture x86_64:
  "_NDIlib_framesync_free_audio_v2", referenced from:
      ofxNDI::Recv::FrameSyncAudio::freeFrame(NDIlib_audio_frame_v3_t&) in ofxNDIRecvStream.o
  "_NDIlib_framesync_capture_audio_v2", referenced from:
      ofxNDI::Recv::FrameSyncAudio::captureFrame(NDIlib_audio_frame_v3_t&) in ofxNDIRecvStream.o
  "_NDIlib_recv_free_audio_v3", referenced from:
      ofxNDI::Recv::Stream<NDIlib_audio_frame_v3_t, ofxNDI::Recv::Receiver>::freeFrame(NDIlib_audio_frame_v3_t&) in ofxNDIRecvStream.o
  "_NDIlib_recv_destroy", referenced from:
      ofxNDI::Recv::Receiver::~Receiver() in ofxNDIReceiver.o
  "_NDIlib_destroy", referenced from:
      ofxNDI::Recv::Receiver::~Receiver() in ofxNDIReceiver.o
  "_NDIlib_recv_get_no_connections", referenced from:
      ofxNDI::Recv::Receiver::isConnected() const in ofxNDIReceiver.o
  "_NDIlib_framesync_destroy", referenced from:
      ofxNDI::Recv::Receiver::createFrameSync() in ofxNDIReceiver.o
      ofxNDI::Recv::Receiver::~Receiver() in ofxNDIReceiver.o
  "_NDIlib_framesync_create", referenced from:
      ofxNDI::Recv::Receiver::createFrameSync() in ofxNDIReceiver.o
  "_NDIlib_recv_create_v4", referenced from:
      ofxNDI::Recv::Receiver::setup(ofxNDI::Source const&, ofxNDI::Recv::Receiver::Settings const&) in ofxNDIReceiver.o
  "_NDIlib_find_wait_for_sources", referenced from:
      void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, ofxNDI::Find::Finder::watchSources(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >)::$_0, NDIlib_find_create_t> >(void*) in ofxNDIFinder.o
  "_NDIlib_util_audio_to_interleaved_32f_v2", referenced from:
      bool ofxNDI::Frame::decode<NDIlib_audio_frame_v3_t, ofSoundBuffer>(NDIlib_audio_frame_v3_t const&, ofSoundBuffer&) in ofxNDIFrame.o
  "_NDIlib_recv_capture_v3", referenced from:
      ofxNDI::Recv::Stream<NDIlib_audio_frame_v3_t, ofxNDI::Recv::Receiver>::captureFrame(NDIlib_audio_frame_v3_t&) in ofxNDIRecvStream.o
  "_NDIlib_find_create_v3", referenced from:
      void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, ofxNDI::Find::Finder::watchSources(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >)::$_0, NDIlib_find_create_t> >(void*) in ofxNDIFinder.o
  "_NDIlib_find_get_current_sources_v2", referenced from:
      void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, ofxNDI::Find::Finder::watchSources(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >)::$_0, NDIlib_find_create_t> >(void*) in ofxNDIFinder.o
  "_NDIlib_find_destroy", referenced from:
      void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, ofxNDI::Find::Finder::watchSources(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >)::$_0, NDIlib_find_create_t> >(void*) in ofxNDIFinder.o
  "_NDIlib_recv_connect", referenced from:
      ofxNDI::Recv::Receiver::changeConnection(ofxNDI::Source const&) in ofxNDIReceiver.o
  "_NDIlib_initialize", referenced from:
      ofxNDI::Find::Finder::watchSources(bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >) in ofxNDIFinder.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
@nariakiiwatani
Copy link
Owner

https://github.com/2bbb/ofxNDI/blob/48616bf6a51dd1abfe2a30608390b95dc97e5132/readme.md

HI, sorry for late reply.
Please follow the instruction at Xcode Project setting (osx) of this link.
I'm sorry I haven't added this information to my readme.

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