Unsolved Support openssl
-
when yo usay build what you refer? i included the libs in vc/lib of visual studio, included en qt, configurate but anyways show me this message
-
Hi,
You need to check that your version of OpenSSL was built with the same version of Visual Studio you are using to build Qt. Next, you need to also verify that it is the right architecture.
Finally, don't forget the licensing implication of using a static build of Qt.
-
This post is deleted! -
This post is deleted! -
@SGaist Hi i download the openssl since here:
http://www.npcglib.org/~stathis/blog/precompiled-openssl/#comment-71092And then i need to put the libs Mtd in qt folder or in vs folder?? thx
-
There are 5 packages listed there, which one did you download ?
Neither, put them somewhere where you can easily find them and update the name of the libraries you pass in
OPENSSL_LIBS
-
This post is deleted! -
Hi i get these errors:
libeay32.lib(rand_win.obj) : error LNK2019: símbolo externo __imp__CreateCompatibleBitmap@12 sin resolver al que se hace referencia en la función _readscreen
libeay32.lib(rand_win.obj) : error LNK2019: símbolo externo __imp__DeleteObject@4 sin resolver al que se hace referencia en la función _readscreen
libeay32.lib(rand_win.obj) : error LNK2019: símbolo externo __imp__GetDeviceCaps@8 sin resolver al que se hace referencia en la función _readscreen
libeay32.lib(rand_win.obj) : error LNK2019: símbolo externo __imp__GetDIBits@28 sin resolver al que se hace referencia en la función _readscreen
libeay32.lib(rand_win.obj) : error LNK2019: símbolo externo __imp__GetObjectA@12 sin resolver al que se hace referencia en la función _readscreen
debug\tst_qxmppcallmanager.exe : fatal error LNK1120: 5 externos sin resolver
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 12.0\VC\BIN\link.EXE"' : código devuelto '0x460'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe"' : código devuelto '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : código devuelto '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : código devuelto '0x2'
Stop.I dont know why
-
Did you check that you have everything built for the correct architecture ?
-
yes for 5,7 and vs2013
maybe in the configure i must include the paths? -
maybe in the configure i must include the paths?
i will try to include: -openssl-linked OPENSSL_LIBS="-llibeay32 -lssleay32" -I C:\Users\moh\Downloads\openssl-1.0.2h-vs2013\include -L C:\Users\moh\Downloads\openssl-1.0.2h-vs2013\lib -
You are missing the Gdi32 library.
But there something not clear now, at the beginning of your thread you were compiling Qt, now you are compiling an application. What are you really doing ?
-
I did static build with configure, and installation. At last, i compile one Project that it uses these libraries. If i can include these static libraries with INCLUDEPATH and LIBS i think it's not necessary for me doing a build static with openssl. I am trying to do build static with openssl to run one Project that it needs these libraries.
-
Why are you building a static version of Qt in the first place ?
-
because i want to have build static because if i run my Project take me a lot of dll's and if do with static i didnt need these dll's. I prefer static to dynamic respecting the license of course
-
I thin i need to add this:
-lgdi32 and -lUser32But how?¿
-
How to link to these two libraries in your application project ?
-
This post is deleted! -
This post is deleted! -
This post is deleted!