nariakiiwatani/ofxNDI

Building ofxNDI for iOS

kempermo opened this issue · 1 comments

Do you have any ideas, why the example "example-sender-ios" wouldn't compile properly? I get the error:
Undefined symbols for architecture arm64: "_NDIlib_send_send_video_async_v2", referenced from: ofxNDI::Send::VideoStream::sendFrame(ofxNDI::VideoFrame const&) const in ofxNDISendStream.o "_NDIlib_send_send_video_v2", referenced from: ofxNDI::Send::VideoStream::sendFrame(ofxNDI::VideoFrame const&) const in ofxNDISendStream.o "_NDIlib_send_destroy", referenced from: ofxNDI::Send::Sender::~Sender() in ofxNDISender.o "_NDIlib_destroy", referenced from: ofxNDI::Send::Sender::~Sender() in ofxNDISender.o "_NDIlib_send_create", referenced from: ofxNDI::Send::Sender::setup(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, bool) in ofxNDISender.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Ok. I've got it. Had to download the latest SDK by myself and replace the libndi_ios.a in the libs folder.

Thanks anyway for this library.