nint22 / dwarfcraft

Automatically exported from code.google.com/p/dwarfcraft
Other
0 stars 0 forks source link

Runtime Errors - Windows #203

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Win64 VS2010 C++ Express
Building and running results in several (near) infinite loops and/or crashes 
because of a couple uninitialized variables.

The diff that fixes the problems for me is available at 
https://gist.github.com/2493960?.

The last change in the diff is due to g2Label::Render being protected.  This 
can be solved un-destructively by commenting out the protected: line in 
g2Label.h.

As a side note, a couple of sources of build errors that you may or may not be 
interested in:
The visual studio project for dwarfcraft is (I assume) out-of-date.  It 
includes files that don't exist and excludes some that do.

glew.lib, glew.dll, Glui2* are included in the repo, but glut32.* and the 
headers for glew, glut and pthread are not.

Original issue reported on code.google.com by etinq...@gmail.com on 25 Apr 2012 at 10:50

GoogleCodeExporter commented 9 years ago
The Windows binary (and associated libs) are very out of date; the submitted 
patch has been applied (though not using any official patch tool, I saw the 
bugs you pointed out and was very happy to fix them!)

Thank you for the feedback! I'll try and post a stable windows binary as soon 
as the new world-gen code works!

Original comment by nin...@gmail.com on 4 May 2012 at 3:11

GoogleCodeExporter commented 9 years ago
*Forgot to close

Original comment by nin...@gmail.com on 4 May 2012 at 3:11