error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'

环境:QT + VTK + VS2010  64位

error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'_第1张图片

按照官网上的步骤配置 cmake 的一些选项,还是出了问题。


error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'_第2张图片

开始我以为是我cmake 的时候有些选项错了,所以改了两三次,release 还是一直不通过。各种baidu google 都不行,也是醉了。


配置环境就配了一天了,我勒个去,遇到这个问题也是醉了,最后的最后才发现原来是QT的版本不对,应该也是选用64位的,我也是服了我了,怎么能这么蠢啊

你可能感兴趣的:(C++)