You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I appreciate that you're providing this. I wonder if you have any documentation on resolving "Undefined symbol" linker errors, for those of using running on MacOS but using a package.swift file. Someone initially helped me out by suggesting using the following in my package file:
This worked great until I tried to use the VideoCapture constructor, at which point I got 50 more "Undefined symbol" errors. I was able to resolve some of these by linking two additional frameworks, AVFoundation and CoreMedia. The final 21 errors all relate to "ob", for example ob::VideoFrame::width(). The same person who had helped me suggested these symbols are defined in the OrbbecSDK library. However, so far I have been unable to find a way to include that library in my package.swift file, even after downloading its latest release onto my machine.
Do you have ideas about this? Any help would be appreciated. Thanks.
The text was updated successfully, but these errors were encountered:
Hi, I appreciate that you're providing this. I wonder if you have any documentation on resolving "Undefined symbol" linker errors, for those of using running on MacOS but using a package.swift file. Someone initially helped me out by suggesting using the following in my package file:
linkerSettings: [
.linkedFramework("Accelerate", .when(platforms: [.macOS])),
.linkedFramework("OpenCL", .when(platforms: [.macOS]))
]
This worked great until I tried to use the VideoCapture constructor, at which point I got 50 more "Undefined symbol" errors. I was able to resolve some of these by linking two additional frameworks, AVFoundation and CoreMedia. The final 21 errors all relate to "ob", for example ob::VideoFrame::width(). The same person who had helped me suggested these symbols are defined in the OrbbecSDK library. However, so far I have been unable to find a way to include that library in my package.swift file, even after downloading its latest release onto my machine.
Do you have ideas about this? Any help would be appreciated. Thanks.
The text was updated successfully, but these errors were encountered: