Python-RVO2 icon indicating copy to clipboard operation
Python-RVO2 copied to clipboard

Compile for Windows

Open sv136 opened this issue 7 years ago • 2 comments
trafficstars

Is there a simple way to install Python-RVO2 for Windows? I faced the problems on linking stage.

RVO.lib(RVOSimulator.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in rvo2.obj

and

python36.lib(python36.dll) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'

It seems msbuild generates project in debug configuration and for x86 architecture by default. How can I fix it? Thnx

I use Windows 10, Python 3.6 (Anaconda) and VC++ 14 (as recommended).

sv136 avatar Dec 13 '17 13:12 sv136

I have no experience with building Python-RVO2 on Windows, but based on experience with other projects I have to say that no, there is no simple way to fix these kind of issues. Maybe you can tweak the cmake parameters so that it explicitly chooses the correct settings?

sybrenstuvel avatar Dec 13 '17 13:12 sybrenstuvel

I could do it, but only for win32 and Debug mode. Win32 is acceptable but Debug is a problem for runtime.

sv136 avatar Dec 13 '17 18:12 sv136