Skip to content

Instantly share code, notes, and snippets.

@justinmoon
Created October 6, 2020 22:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save justinmoon/a0e89fe1488f6c1769ca66c39cb6d2cf to your computer and use it in GitHub Desktop.
Save justinmoon/a0e89fe1488f6c1769ca66c39cb6d2cf to your computer and use it in GitHub Desktop.
$ cargo build
Compiling openpnp_capture_sys v0.2.5 (/Users/justin/dev/openpnp-capture-rs/sys)
warning: unreachable statement
--> sys/build.rs:15:9
|
13 | panic!("help");
| --------------- any code following this expression is unreachable
14 | // Compile the included library distribution
15 | let out = cmake::build("vendor");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
|
= note: `#[warn(unreachable_code)]` on by default
warning: 1 warning emitted
error: failed to run custom build command for `openpnp_capture_sys v0.2.5 (/Users/justin/dev/openpnp-capture-rs/sys)`
Caused by:
process didn't exit successfully: `/Users/justin/dev/openpnp-capture-rs/target/debug/build/openpnp_capture_sys-66b160bc6effff63/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'help', sys/build.rs:13:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
bash-3.2$ nvim sys/build.rs
bash-3.2$ cargo build
Compiling openpnp_capture_sys v0.2.5 (/Users/justin/dev/openpnp-capture-rs/sys)
Compiling openpnp_capture v0.1.0 (/Users/justin/dev/openpnp-capture-rs)
Finished dev [unoptimized + debuginfo] target(s) in 4.48s
bash-3.2$ cargo run --example devices
Compiling openpnp_capture v0.1.0 (/Users/justin/dev/openpnp-capture-rs)
error: linking with `cc` failed: exit code: 1
|
= note: "cc" "-m64" "-arch" "x86_64" "-L" "/Users/justin/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/justin/dev/openpnp-capture-rs/target/debug/examples/devices.14lalwhs456uo3mc.rcgu.o" "/Users/justin/dev/openpnp-capture-rs/target/debug/examples/devices.18hdx1myzb6uuy8r.rcgu.o" "/Users/justin/dev/openpnp-capture-rs/target/debug/examples/devices.1aa58atoiqqwdyrz.rcgu.o" "/Users/justin/dev/openpnp-capture-rs/target/debug/examples/devices.1st5vv7sy1qdrup4.rcgu.o" "/Users/justin/dev/openpnp-capture-rs/target/debug/examples/devices.290sabh49czkww6g.rcgu.o" "/Users/justin/dev/openpnp-capture-rs/target/debug/examples/devices.2h2cvsc4dhzjj7y3.rcgu.o" "/Users/justin/dev/openpnp-capture-rs/target/debug/examples/devices.2sgouyb2wmi816z.rcgu.o" "/Users/justin/dev/openpnp-capture-rs/target/debug/examples/devices.2v9vn80i4l8ra1iv.rcgu.o" "/Users/justin/dev/openpnp-capture-rs/target/debug/examples/devices.2ywlodutsyfc7p97.rcgu.o" "/Users/justin/dev/openpnp-capture-rs/target/debug/examples/devices.369wz8vnsg4oli8v.rcgu.o" "/Users/justin/dev/openpnp-capture-rs/target/debug/examples/devices.3gqsduicouiodq2t.rcgu.o" "/Users/justin/dev/openpnp-capture-rs/target/debug/examples/devices.401m0kh98psvaxpy.rcgu.o" "/Users/justin/dev/openpnp-capture-rs/target/debug/examples/devices.4ogzbkbin7n568x5.rcgu.o" "/Users/justin/dev/openpnp-capture-rs/target/debug/examples/devices.4vhpk6ylbt6zyr0m.rcgu.o" "/Users/justin/dev/openpnp-capture-rs/target/debug/examples/devices.56fu57tw07jpmpzu.rcgu.o" "/Users/justin/dev/openpnp-capture-rs/target/debug/examples/devices.5atvuwy3nxu5nfzh.rcgu.o" "/Users/justin/dev/openpnp-capture-rs/target/debug/examples/devices.ew2aycyihygod9o.rcgu.o" "/Users/justin/dev/openpnp-capture-rs/target/debug/examples/devices.sq7rij86gh64kh3.rcgu.o" "-o" "/Users/justin/dev/openpnp-capture-rs/target/debug/examples/devices" "/Users/justin/dev/openpnp-capture-rs/target/debug/examples/devices.11odmxye4vxnyp6h.rcgu.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/Users/justin/dev/openpnp-capture-rs/target/debug/deps" "-L" "/Users/justin/dev/openpnp-capture-rs/target/debug/build/openpnp_capture_sys-dda736acc271413e/out/lib" "-L" "/Users/justin/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/Users/justin/dev/openpnp-capture-rs/target/debug/deps/libopenpnp_capture-7e9daf0a09ee6e3d.rlib" "/Users/justin/dev/openpnp-capture-rs/target/debug/deps/libopenpnp_capture_sys-2b4c2cde0c12069c.rlib" "/Users/justin/dev/openpnp-capture-rs/target/debug/deps/liblazy_static-c43fd7a7bb044329.rlib" "/Users/justin/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libstd-3704639a9502890d.rlib" "/Users/justin/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-a2ebbbdd1e4dd12d.rlib" "/Users/justin/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libhashbrown-5fc8ffab9d1c707f.rlib" "/Users/justin/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_alloc-6511d31d91c857ac.rlib" "/Users/justin/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libbacktrace-7ae18c7d11827720.rlib" "/Users/justin/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libbacktrace_sys-ca22c1afcaa45efa.rlib" "/Users/justin/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_demangle-7e2f4e7fd08fc05c.rlib" "/Users/justin/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libunwind-11e7f6c76b8c0e65.rlib" "/Users/justin/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcfg_if-74fdaa4d248e1cdf.rlib" "/Users/justin/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liblibc-0e072f298f5b6481.rlib" "/Users/justin/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liballoc-43498705c3851c42.rlib" "/Users/justin/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_core-39cd39f05998adb0.rlib" "/Users/justin/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcore-4cf164a5ec4540b9.rlib" "/Users/justin/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-2230c0fdff8a0f15.rlib" "-lSystem" "-lresolv" "-lc" "-lm"
= note: Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_NSNumber", referenced from:
objc-class-ref in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformstream.mm.o)
"_OBJC_CLASS_$_NSDictionary", referenced from:
objc-class-ref in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformstream.mm.o)
"_OBJC_CLASS_$_AVCaptureVideoDataOutput", referenced from:
objc-class-ref in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformstream.mm.o)
"_OBJC_CLASS_$_AVCaptureDeviceInput", referenced from:
objc-class-ref in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformstream.mm.o)
"_OBJC_METACLASS_$_NSObject", referenced from:
_OBJC_METACLASS_$_PlatformAVCaptureDelegate in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformstream.mm.o)
"_CMSampleBufferGetImageBuffer", referenced from:
-[PlatformAVCaptureDelegate captureOutput:didOutputSampleBuffer:fromConnection:] in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformstream.mm.o)
"_CVPixelBufferGetBaseAddress", referenced from:
-[PlatformAVCaptureDelegate captureOutput:didOutputSampleBuffer:fromConnection:] in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformstream.mm.o)
"_CVPixelBufferGetBytesPerRow", referenced from:
-[PlatformAVCaptureDelegate captureOutput:didOutputSampleBuffer:fromConnection:] in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformstream.mm.o)
"std::terminate()", referenced from:
___clang_call_terminate in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
"std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::__init(char const*, unsigned long)", referenced from:
std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::basic_string<std::nullptr_t>(char const*) in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
"_CVPixelBufferUnlockBaseAddress", referenced from:
-[PlatformAVCaptureDelegate captureOutput:didOutputSampleBuffer:fromConnection:] in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformstream.mm.o)
"_OBJC_CLASS_$_NSScanner", referenced from:
objc-class-ref in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
"_OBJC_CLASS_$_AVCaptureDevice", referenced from:
objc-class-ref in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
"std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::append(char const*, unsigned long)", referenced from:
std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > std::__1::operator+<char, std::__1::char_traits<char>, std::__1::allocator<char> >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, char const*) in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::append(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
"_OBJC_CLASS_$_NSBundle", referenced from:
objc-class-ref in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
"vtable for __cxxabiv1::__class_type_info", referenced from:
typeinfo for deviceInfo in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
typeinfo for Context in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(context.cpp.o)
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"std::logic_error::logic_error(char const*)", referenced from:
std::length_error::length_error(char const*) in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
"__objc_empty_cache", referenced from:
_OBJC_METACLASS_$_PlatformAVCaptureDelegate in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformstream.mm.o)
_OBJC_CLASS_$_PlatformAVCaptureDelegate in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformstream.mm.o)
"vtable for std::length_error", referenced from:
std::length_error::length_error(char const*) in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"___cxa_allocate_exception", referenced from:
std::__1::__throw_length_error(char const*) in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
"typeinfo for std::length_error", referenced from:
std::__1::__throw_length_error(char const*) in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
"___CFConstantStringClassReference", referenced from:
CFString in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
CFString in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
CFString in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
CFString in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
CFString in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
CFString in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
"std::length_error::~length_error()", referenced from:
std::__1::__throw_length_error(char const*) in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
"___cxa_throw", referenced from:
std::__1::__throw_length_error(char const*) in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
"_CVPixelBufferLockBaseAddress", referenced from:
-[PlatformAVCaptureDelegate captureOutput:didOutputSampleBuffer:fromConnection:] in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformstream.mm.o)
"_objc_msgSend", referenced from:
PlatformContext::PlatformContext() in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
PlatformContext::enumerateDevices() in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
"vtable for __cxxabiv1::__si_class_type_info", referenced from:
typeinfo for PlatformContext in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
typeinfo for platformDeviceInfo in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"___cxa_begin_catch", referenced from:
___clang_call_terminate in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
"std::__1::__vector_base_common<true>::__throw_length_error() const", referenced from:
std::__1::vector<CapFormatInfo, std::__1::allocator<CapFormatInfo> >::__recommend(unsigned long) const in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
std::__1::vector<AVCaptureDeviceFormat*, std::__1::allocator<AVCaptureDeviceFormat*> >::__recommend(unsigned long) const in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
std::__1::vector<deviceInfo*, std::__1::allocator<deviceInfo*> >::__recommend(unsigned long) const in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
"_CMSampleBufferGetNumSamples", referenced from:
-[PlatformAVCaptureDelegate captureOutput:didOutputSampleBuffer:fromConnection:] in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformstream.mm.o)
"std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::append(char const*)", referenced from:
std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > std::__1::operator+<char, std::__1::char_traits<char>, std::__1::allocator<char> >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&, char const*) in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
"_CFRelease", referenced from:
platformDeviceInfo::~platformDeviceInfo() in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
"___cxa_free_exception", referenced from:
std::__1::__throw_length_error(char const*) in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
"___gxx_personality_v0", referenced from:
createPlatformContext() in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
PlatformContext::PlatformContext() in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
PlatformContext::~PlatformContext() in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
PlatformContext::enumerateDevices() in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
std::__1::vector<deviceInfo*, std::__1::allocator<deviceInfo*> >::clear() in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > std::__1::operator+<char, std::__1::char_traits<char>, std::__1::allocator<char> >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, char const*) in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::basic_string() in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
...
"std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::basic_string(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long, unsigned long, std::__1::allocator<char> const&)", referenced from:
std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::substr(unsigned long, unsigned long) const in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
"_CVPixelBufferGetHeight", referenced from:
-[PlatformAVCaptureDelegate captureOutput:didOutputSampleBuffer:fromConnection:] in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformstream.mm.o)
"_NSLog", referenced from:
PlatformContext::PlatformContext() in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
____ZN15PlatformContextC2Ev_block_invoke in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
"std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::__init(char const*, unsigned long, unsigned long)", referenced from:
std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > std::__1::operator+<char, std::__1::char_traits<char>, std::__1::allocator<char> >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, char const*) in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
"_CFRetain", referenced from:
PlatformContext::enumerateDevices() in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
"_CMFormatDescriptionGetMediaSubType", referenced from:
PlatformContext::enumerateDevices() in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
-[PlatformAVCaptureDelegate captureOutput:didOutputSampleBuffer:fromConnection:] in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformstream.mm.o)
"___cxa_pure_virtual", referenced from:
vtable for Context in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(context.cpp.o)
"operator delete(void*)", referenced from:
createPlatformContext() in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
PlatformContext::~PlatformContext() in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
PlatformContext::enumerateDevices() in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
platformDeviceInfo::~platformDeviceInfo() in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
deviceInfo::~deviceInfo() in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
std::__1::_DeallocateCaller::__do_call(void*) in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
"_objc_enumerationMutation", referenced from:
PlatformContext::enumerateDevices() in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
"operator new(unsigned long)", referenced from:
createPlatformContext() in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
PlatformContext::enumerateDevices() in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
std::__1::__libcpp_allocate(unsigned long, unsigned long) in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
"_OBJC_CLASS_$_AVCaptureSession", referenced from:
objc-class-ref in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformstream.mm.o)
"std::__1::this_thread::sleep_for(std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > const&)", referenced from:
void std::__1::this_thread::sleep_for<long long, std::__1::ratio<1l, 1000l> >(std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000l> > const&) in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
"_CMVideoFormatDescriptionGetDimensions", referenced from:
PlatformContext::enumerateDevices() in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
-[PlatformAVCaptureDelegate captureOutput:didOutputSampleBuffer:fromConnection:] in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformstream.mm.o)
"_CMSampleBufferGetFormatDescription", referenced from:
-[PlatformAVCaptureDelegate captureOutput:didOutputSampleBuffer:fromConnection:] in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformstream.mm.o)
"_AVMediaTypeVideo", referenced from:
PlatformContext::PlatformContext() in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
PlatformContext::enumerateDevices() in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
"std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::~basic_string()", referenced from:
PlatformContext::enumerateDevices() in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > std::__1::operator+<char, std::__1::char_traits<char>, std::__1::allocator<char> >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, char const*) in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
deviceInfo::~deviceInfo() in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformcontext.mm.o)
"_OBJC_CLASS_$_NSObject", referenced from:
_OBJC_CLASS_$_PlatformAVCaptureDelegate in libopenpnp_capture_sys-2b4c2cde0c12069c.rlib(platformstream.mm.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: aborting due to previous error
error: could not compile `openpnp_capture`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment