Page 1 of 1

Cmake error

Posted: Wed May 08, 2019 4:12 am
by m.rasool
hi dear all. i want to compile a controller example in opensim4.0 in order to make my own controller plugin. when im using Cmake, i see following errors in the attached image.what could be the reason?. i'm using VS 2017.
thanks

Re: Cmake error

Posted: Wed May 08, 2019 4:32 am
by mitkof6
You have an OpenSim with x64 architecture, but you are configuring for an x86 generator (VS 15 2017). This is why CMake found OpenSim, but didn't proceed with the configuration. You should delete the cache (File -> delete cache) and reconfigure with VS 15 2017 WIN64 generator.

Re: Cmake error

Posted: Wed May 08, 2019 5:18 am
by m.rasool
thank u so much.it works.