-
Notifications
You must be signed in to change notification settings - Fork 7k
Open
Description
Describe the bug
building a project with VS22 with vcpkg integration (legacy mode), the jpeg62.dll copied to debug build directory is in fact the release version. I know this because in debug, OpenCV passes debug parameters to jpeg read that the release jpeg code does not recognize, so it throws an exception. Moreover the dll in question is much smaller than the correct debug one, and binary identical to the one vcpkg copies for the release build.
I suppose this has something to do with the fact that the jpeg package uses the same file name for both dlls -- and that might be a port bug.
Environment
- OS: Win11
- Compiler: VS22
The vcpkg directories 'installed\x64-windows\bin' and 'installed\x64-windows\debug\bin' respectively contain the correct release and debug jpeg62 dlls.
To Reproduce
Steps to reproduce the behavior:
- run the debug build. happens every time.
Expected behavior
The right jpeg dll should be copied.
Metadata
Metadata
Assignees
Labels
No labels