I'm trying to build and run the sensor simulator by following the steps from here: http://www.movesense.com/docs/esw/getting_started/#build-commands-sensor-simulator
I have:
cmake -G "Visual Studio 16 2019" -DMOVESENSE_CORE_LIBRARY=../MovesenseCoreLib/ ../samples/blinky_app
Project.sln
fileNow when I try to run it with Debug
-> Start new instance
, I get the following error: movesense-coreD.lib(ResourceClient.obj) : fatal error LNK1112: module machine type 'x86' conflicts with target machine type 'x64'
. How do I resolve this?
I also tried to set the Linker
-> Command line: Additional Options
to %(AdditionalOptions) /machine:x86
but that also fails with similar but slightly different error: Movesense.dir\\Debug\\App.obj : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'x86
Had a same issue. Downgrading to Visual Studio 2017 helped. Obviously it is not working on 2019 version.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.