Visual Studio 2019 Project

Post Reply
FluffyFreak
Posts: 1343
Joined: Tue Jul 02, 2013 1:49 pm
Location: Beeston, Nottinghamshire, GB
Contact:

Visual Studio 2019 Project

Post 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?
sturnclaw
Posts: 82
Joined: Tue Sep 18, 2018 12:20 am

Re: Visual Studio 2019 Project

Post 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
Post Reply