ms vs trouble shooting - Serbipunk/notes GitHub Wiki

“模块计算机类型“x64”与目标计算机类型“X86”冲突解决方案


在vs里面解决

https://blog.csdn.net/u014805066/article/details/78143091

在cmake里解决

https://stackoverflow.com/questions/3563756/fatal-error-lnk1112-module-machine-type-x64-conflicts-with-target-machine-typ

不能使用cmake-gui.exe,只能用cmake.exe

cmake $CODE_DIR -G "Visual Studio 12 Win64"