|
From: | Kjetil Matheussen |
Subject: | Re: [Mingw-cross-env-list] linker error for qt5 application |
Date: | Thu, 4 Jan 2018 14:53:57 +0100 |
Hello,
I try to cross compile a QT5/QTQuick application. In the first step I made a "hello World" application just to test if the cross environment works for me. It doesn't.
It's a cmake project. It works in my debian Linux. With:
cd build
rm -rf *
cmake ..
make
The test program compiles
If I try for minGW:
cd build
rm -rf *
~/mxe/usr/bin/i686-w64-mingw32.static-cmake ..
make
I get linker errors:
/home/thomas/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5N etwork.a(qsslsocket_openssl.o) :qsslsocket_openssl.cpp:(. text+0x125a): undefined reference to `_imp__CertCreateCertificateCo address@hidden'
/home/thomas/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5N etwork.a(qsslsocket_openssl.o) :qsslsocket_openssl.cpp:(. text+0x12dd): undefined reference to `_imp__CertGetCertificateChain @32'
...
/home/thomas/mxe/usr/i686-w64-mingw32.static/qt5/lib/libQt5N etwork.a(qnetworkinterface_ win.o):qnetworkinterface_win. cpp:(.text+0x7cd): undefined reference to address@hidden'
I've no idea, what to do. Can you give me a hint?
[Prev in Thread] | Current Thread | [Next in Thread] |