RigsOfRods / rigs-of-rods

Main development repository for Rigs of Rods soft-body physics simulator
https://www.rigsofrods.org
GNU General Public License v3.0
1.01k stars 175 forks source link

Can't build on Windows with MSVC Community 2022 (64-bit) Version 17.2.5 #2948

Closed Trotzky closed 1 year ago

Trotzky commented 1 year ago

Hi! I have followed this https://github.com/RigsOfRods/rigs-of-rods/blob/master/BUILDING.md and this https://github.com/RigsOfRods/rigs-of-rods/wiki/Compile-(Windows)

So... cmake-gui Click Configure twice until all entries are white... bla bla bla everything is OK, i have Rigs_of_Rods.sln in the end.

It compiles then i've got linker error Error C1047 The object or library file 'C:\Users\user\.conan\data\ogre3d-pagedgeometry\1.2.0\anotherfoxguy\stable\package\f80fe582aacd4a3ff674079970b523fda9f4795a\lib\PagedGeometry.lib' was created by a different version of the compiler than other objects like '....\bin\Release\version_info.lib'; rebuild all objects and libraries with the same compiler

Am i missing something? I will appreciate any help.

P.S. DUMPBIN.EXE shows PagedGeometry.lib was built using old _MSC_VER=1900 Visual Studio 2015 (14.0) so no surprise it fails to link...

tritonas00 commented 1 year ago

https://discord.com/channels/136544456244461568/189904947649708032/1027323889606463530