edo9300 / edopro

A script engine for "yu-gi-oh!" and sample gui (former "ygopro")
Other
279 stars 75 forks source link

compile error on vs2017/2019: unrecognized flag in 'p2' #195

Closed knight00 closed 4 years ago

knight00 commented 4 years ago

未命名 while compiling on vs2017/2019, the above error displays. I have already installed v141_xp. It happened only on release mode, debug mode is fine. Any idea?

edo9300 commented 4 years ago

If you used vcpkg, and have both vs2017 and vs2019 installed, the libraries could have been built with vs2019, making them incompatible, anyways, you can disable the v141_xp toolsed (that's only if you want to target windows xp, to disable it just remove that line from the premake file), then you should be able to compile it properly.

knight00 commented 4 years ago

it worked, thank you