Boost module of type "X86" conflicts with target device type "x64" Windows Qt

I need to build my code with boost lib, my environment is

Windows 8, Qt 5.4.1 MSVC2013 64 Bit

      

When I create the code, I get an error like

libboost_thread-vc120-mt-1_58.lib(thread.obj):-1: error: LNK1112: module machine type 'X86' conflicts with target machine type 'x64'

      

My pro file looks like

INCLUDEPATH += C:/local/boost_1_58_0/
LIBS += -LC:/local/boost_1_58_0/stage/lib/ -llibboost_thread-vc120-mt-1_58 

      

I need to create an application for 64 bit architecture.

Any help would be appreciated.

Thanks Haris

+3


source to share





All Articles