
DebugExperience
Zivei
Skyline...
展开
-
Module Machine Type 'x64' Conflicts With Target Machine Type
Detail: fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'x86' In my case, it appears it was because I had "copied settings" from a 32-bit to a new configuration (64 bit) and it hadn't updated the libraries.原创 2017-05-24 11:14:21 · 821 阅读 · 0 评论 -
C++类模板声明与实现分离
当模板声明与实现分离未处理得当时,会出现链接错误,如下: error LNK2019: unresolved external symbol poisson referenced 其实,LNK2019错误一般都是 compile是能找到相应的header (.h)文件,但链接时找不到相应的 lib 库文件(也含dll文件)。 首先,对编译器来说模板的声明与实现并不能真正的分离,我们要原创 2017-05-25 11:39:31 · 3472 阅读 · 3 评论