error LNK2019: unresolved external symbol
Hi guys,
I´m with trouble here.
I had a library to build in MSVS2010. I built him and one .lib file was created.
But my version Qt is Qt 4.8.1 for Desktop MSVS 2008 (Qt SDK).
I added in -pro file this
Code:
#LIBS += -L$$PWD/ASN1/lib/ -lASN1
When i run the code various errors are detected.
They are all:
Code:
error LNK2019: unresolved external symbol
I hope you'll help me.
best regards,
8080205
Re: error LNK2019: unresolved external symbol
C++ compilers from Visual Studio 2010 and 2008 are not binary compatible, so you might want to check what the library exports and maybe you need to build both the library and your application with the same version of Visual Studio.
Re: error LNK2019: unresolved external symbol
The line you added to your PRO file is a comment. Remove the '#' if you want it to do something.
Re: error LNK2019: unresolved external symbol
Hi everybody.
Thanks for your help guys.
Best regards,
8080205