Compile meshlab in linux is fine but in windows there are lots of linker problem
-
I need to compile meshlab in windows, and i stuck for a week with linker problem, i think my Qt setup is wrong.
reating library D:/meshlab/build/src/distrib/Debug/meshlab-common.lib and object D:/meshlab/build/src/distrib/Deb
ug/meshlab-common.exp
filterscript.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl QString::~QString(v
oid)" (_imp??1QString@@QEAA@XZ) [D:\meshlab\build\src\common\meshlab-common.vcxproj]
ml_selection_buffers.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl QString::~Q
String(void)" (_imp??1QString@@QEAA@XZ) [D:\meshlab\build\src\common\meshlab-common.vcxproj]
mlapplication.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl QString::~QString(
void)" (_imp??1QString@@QEAA@XZ) [D:\meshlab\build\src\common\meshlab-common.vcxproj]
load_save.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl QString::~QString(void
)" (_imp??1QString@@QEAA@XZ) [D:\meshlab\build\src\common\meshlab-common.vcxproj]
globals.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: _This is some linking error i face.
Tks everyone for help me.
-
Please show your CMakeLists.txt. You are not linking against the Qt library.