Page 1 of 1

Visual Studio 2019 Project

Posted: Mon Nov 07, 2022 11:00 pm
by FluffyFreak
I tried to give up on using the VS2019 project this time... but could not get the CMake build to work

In Log.cpp I had to change
if (file && sv <= m_maxFileSeverity) {
if (msg.back() == '\n')
to
if (file && sv <= m_maxFileSeverity) {
if (!msg.empty() && msg.back() == '\n')
Because otherwise it crashes when calling `OutputVersioningInfo()` on the line `Output("\n");` which is weird.

Later it crashed during loading of the models deep in Assimp (fnarr) with a nonesense callstack.

Before I go digging into all of that and figuring out wtf is going on does anyone ever run the Debug x64 build of Pioneer using CMake and if so do they get these issues?

Re: Visual Studio 2019 Project

Posted: Thu Nov 10, 2022 3:42 am
by sturnclaw
Hah, that bug in Log.cpp is my fault; probably breaks everywhere. Unsure what's going on with assimp, I'd check to make sure you have a relatively recent version (the one in pioneer-thirdparty should work correctly).

Can't speak to anything else as I haven't run Pioneer on Windows in... ever :D