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
From what i've read, __imp_ suggests that linker looks for dll symbols, but i want static. Errors for SFML can be bypassed by linking directly to files:
For Poco, same method doesn't work. Besides, it's simply a workaround and imo not proper method.
With OpenCV i've also tried linking libav* libs but it resulted only in longer error log. I've tried also linking via pkg-config by adding these lines to .pro file:
CONFIG += link_pkgconfig
PKGCONFIG += opencv4
but it didn't work either, errors were same as via -l command.
Also i find it strange, that i have to add include path to opencv4 folder in qt .pro file
shouldn't it be somehow automatically handled? If i include <opencv4/opencv2/opencv.hpp> in my cpp file, compilation returns errors, because in opencv headers includes refer to <opencv2/opencv.hpp>
The text was updated successfully, but these errors were encountered:
I'm building Qt6 project via x86_64-w64-mingw32.static-qt6-qmake. Clean qt without external libs builds perfectly but when i link to libs from title
I'm receiving following errors:
Full log at: https://pastebin.com/n13wRmmM
From what i've read, __imp_ suggests that linker looks for dll symbols, but i want static. Errors for SFML can be bypassed by linking directly to files:
For Poco, same method doesn't work. Besides, it's simply a workaround and imo not proper method.
With OpenCV i've also tried linking
libav*
libs but it resulted only in longer error log. I've tried also linking viapkg-config
by adding these lines to .pro file:but it didn't work either, errors were same as via
-l
command.Also i find it strange, that i have to add include path to opencv4 folder in qt .pro file
shouldn't it be somehow automatically handled? If i include
<opencv4/opencv2/opencv.hpp>
in my cpp file, compilation returns errors, because in opencv headers includes refer to<opencv2/opencv.hpp>
The text was updated successfully, but these errors were encountered: