【发布时间】:2021-10-07 22:50:44
【问题描述】:
我正在尝试按照此处的步骤构建和运行传感器模拟器:http://www.movesense.com/docs/esw/getting_started/#build-commands-sensor-simulator
我有:
- 拉回了回购
- 已创建 simuBuild 文件夹
- 运行
cmake -G "Visual Studio 16 2019" -DMOVESENSE_CORE_LIBRARY=../MovesenseCoreLib/ ../samples/blinky_app - 然后打开
Project.sln文件 - 选择 Movesense 作为启动项目
现在,当我尝试使用 Debug -> Start new instance 运行它时,我收到以下错误:movesense-coreD.lib(ResourceClient.obj) : fatal error LNK1112: module machine type 'x86' conflicts with target machine type 'x64'。我该如何解决这个问题?
我还尝试将 Linker -> Command line: Additional Options 设置为 %(AdditionalOptions) /machine:x86 但这也失败,出现类似但略有不同的错误:Movesense.dir\Debug\App.obj : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'x86
【问题讨论】:
-
有什么我可以尝试的想法吗?