B
Barry
Hi,
I have a C++ project which I maintain with CMake. The Debug version of
the program works fine but I can't link the release version which uses
the same CMake file. Can anyone offer me some advice on how I might
resolve this issue?
Here is an example of one of my linker erros -
Application.obj : error LNK2001: unresolved external symbol "__declspec
(dllimport) public: static class QString __cdecl QString::fromStdString
(class std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)" (__imp_?fromStdString@QString@@SA?
AV1@ABV?$basic_string@DU?$char_traits@D@std@@V?
$allocator@D@2@@std@@@Z)
Thanks for your help,
Magnus
I have a C++ project which I maintain with CMake. The Debug version of
the program works fine but I can't link the release version which uses
the same CMake file. Can anyone offer me some advice on how I might
resolve this issue?
Here is an example of one of my linker erros -
Application.obj : error LNK2001: unresolved external symbol "__declspec
(dllimport) public: static class QString __cdecl QString::fromStdString
(class std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)" (__imp_?fromStdString@QString@@SA?
AV1@ABV?$basic_string@DU?$char_traits@D@std@@V?
$allocator@D@2@@std@@@Z)
Thanks for your help,
Magnus