【发布时间】:2014-09-23 13:23:55
【问题描述】:
我在詹金斯做所有事情。 我正在使用 CMake 使用 Makefile Generator:Visual Studio 12 配置我的项目。在此之后,我有解决方案文件 - *.sln。我的下一步是使用 MSBuild 构建项目。我使用命令行参数 -/p:"VisualStudioVersion=12.0" 运行它。在此步骤处理过程中,我收到以下消息:
> Qt5Cored.lib(Qt5Cored.dll) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'
我尝试使用 Makefile Generator : Visual Studio 12 Win64 并且出现了更多失败。在我也尝试使用参数/p:"Platform=x64" 运行 MSBuild 但失败后 - "Debug|x64" 无效。
我有 x64 平台的 Qt,我的机器也是 x64。我在CMAKE_PREFIX_PATH 中也有通往 Qt 的正确路径。我真的不知道还能做什么:C
【问题讨论】:
标签: qt jenkins msbuild cmake qt5