corewall / corelyzer

The Corelyzer Core Visualization Tool
http://corewall.org
13 stars 6 forks source link

Windows scenegraph DLL must be built in ancient, non-free Visual Studio 2008 #24

Closed sorghumking closed 1 year ago

sorghumking commented 3 years ago

The problem: We need to get scenegraph building in a modern, free version of VS like Visual Studio Community 2019 or, better yet, in a non-Visual Studio toolset like MinGW again.

Background: When I inherited Corelyzer in 2010, the scenegraph DLL was built with MinGW. Somewhere along the line, this broke. I've forgotten the details in the ensuing decade, but I believe at some point the resulting DLL caused Corelyzer to crash at launch. I couldn't figure out why, and ultimately gave up and started building the DLL in Visual Studio 2008. Because we rarely need to modify scenegraph, this sufficed and I never revisited the MinGW issue.

In 2019, I managed to create a 64-bit build of the scenegraph DLL. Most of the effort was building supporting libraries (libtiff, libjpeg, etc.). This was all still done in VS2008. The project can be imported into modern versions of VS e.g. Community 2019, and the DLL builds without issue. However, it always crashes Corelyzer at launch. I believe this is somehow related to the supporting libraries' DLLs, which were built in VS2008.

sorghumking commented 1 year ago

This issue has been resolved by c920ecc (scenegraph cross-build).