-
Notifications
You must be signed in to change notification settings - Fork 126
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
[BUG] depthai-core.dll will not link #1044
Comments
@onthegrid007 seems like Clang on Windows doesn't support DELAYLOAD functionality Fastest would be to use MSVC for now. Or tweaks done to XLink dependency |
@themarpe |
The flag comes from XLink - its the win32 path for loading libusb |
Added a fix to a forked repo, it works for the first error but a new error has occurred where it doesn't seem to link with opencv itself, I assume a missing lib link flag or something...
|
@themarpe |
@onthegrid007 Hmm, first thing to check is what OpenCV was being compiled against (eg which And the second thing to check is the "release v debug" build that the errors indicate. Perhaps OpenCV builds some of the API differently in these two cases. So make sure in same way as above you are compiling for headers of same release/debug build/prebuilt |
I got it to compile in Release build mode bud had to make some dirty fixed to my cmake file and some abs paths to library files... Everything is included on the $PATH so the fact it is finding the dlls but not the lib files is interesting |
Could it be because I build OpenCV in release vs debug? |
It could yup - try building the core for same as OpenCV is |
Is there something I am doing wrong?
The text was updated successfully, but these errors were encountered: