Compiling with VS 2022

I tried ‘upgrading’ MSVC142.sln, but compilation still fails, albeit with only these two errors:

4>vm.obj : error LNK2019: unresolved external symbol _VM_Compile referenced in function _VM_Create
4>vm.obj : error LNK2019: unresolved external symbol _VM_CallCompiled referenced in function _VM_Call

Well, technically three, but the third error refers to these two : p

Can’t help but feel there might be something simple to adjust that would make this work, but if I were qualified enough to know that I probably could fix it myself.

If you’re trying to compiling the latest code on GitHub, there is currently a one line change needed to compile with Visual Studio. https://github.com/ioquake/ioq3/pull/539/files

1 Like

The change has been integrated; you can now just update the code to fix compiling with Visual Studio.

2 Likes

OMG it works. I had to move SDL2.dll to the build dir, but it works!! You’re a gentleman and a scholar Mr. turtleman!