Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt 4.8.6 win32-msvc2008 compilation. error LNK2001: unresolved external symbol __imp__q_atomic_increment
Dakota last edited by
I have been experimenting some problems after compiling Qt 4.8.6 with win32-msvc2008 platform . Using this configuration:
configure -debug-and-release -prefix C:/libs/3rdparty/qtfw_4_8_6_1/lib/windows/x86 -opensource -platform win32-msvc2008 -qt-sql-mysql -plugin-sql-mysql -I C:/libs/3rdparty/msql_5_6_13_4/include -L C:/libs/3rdparty/msql_5_6_13_4/lib/windows/x86 -opengl desktop -nomake examples -nomake tests -nomake demos -nomake docs
I got a succesfull compilation. But when I try to compile a test program using my Qt version compiled, it goes fine in Debug mode but in Release I get these Link errors:
xx.obj : error LNK2019: unresolved external symbol __imp__q_atomic_increment referenced in function ...
yy.obj : error LNK2001: unresolved external symbol __imp__q_atomic_increment
xx.obj : error LNK2019: unresolved external symbol __imp__q_atomic_decrement referenced in function "public: __thiscall ...
yy.obj : error LNK2001: unresolved external symbol __imp__q_atomic_decrement
It seems that something is not being exported or not compiled for my windows platform. Any ideas would be really appreciated.
Thanks in advance.