nariakiiwatani / ofxNDI

NewTek NDI SDK Wrapper for openFrameworks.
https://ndi.tv/
MIT License
103 stars 19 forks source link

Building ofxNDI for iOS #13

Closed kempermo closed 4 years ago

kempermo commented 4 years ago

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)

kempermo commented 4 years ago

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.