Build problem
by Bill "CodeMonkey" Oatman · in Torque Game Engine · 10/26/2001 (11:25 am) · 1 replies
I just purchased the SDK so forgive my ignorance :)
First off, it would be helpful to have a search function for this forum to see if this was already discussed.
OK, I built the release versions of all the libs, the two DLLs (glu2d3d.dll and opengl2d3d.dll), and v12test.exe. It all built fine and all 3 of the files I built were exactly the same size as the ones that came in the download. I put the 3 files in my 'example' directory, and started v12test.exe. The DOS window pops up, then in a few seconds I get a application error dialog box: 'The instruction at 0x00000000 referenced memory at 0x00000000. The memory could not be read.'
This happens both when I run it in a window and when I changed the prefs to run it full screen. I am using the code straight from the download, I have not gotten into CVS and pulled anything new yet. Those three files included with the distribution work perfectly on this machine. This system is running win2k pro. Is there some other file I need to build or move into the example directory structure? I could build in debug mode and see exactly where it is crashing sometime this weekend if need be. I am just hoping I forgot a step and someone can save me the effort. :)
Thanks.
Bill
First off, it would be helpful to have a search function for this forum to see if this was already discussed.
OK, I built the release versions of all the libs, the two DLLs (glu2d3d.dll and opengl2d3d.dll), and v12test.exe. It all built fine and all 3 of the files I built were exactly the same size as the ones that came in the download. I put the 3 files in my 'example' directory, and started v12test.exe. The DOS window pops up, then in a few seconds I get a application error dialog box: 'The instruction at 0x00000000 referenced memory at 0x00000000. The memory could not be read.'
This happens both when I run it in a window and when I changed the prefs to run it full screen. I am using the code straight from the download, I have not gotten into CVS and pulled anything new yet. Those three files included with the distribution work perfectly on this machine. This system is running win2k pro. Is there some other file I need to build or move into the example directory structure? I could build in debug mode and see exactly where it is crashing sometime this weekend if need be. I am just hoping I forgot a step and someone can save me the effort. :)
Thanks.
Bill
Torque Owner Tim Gift
There is a known bug with linking the OpenGL/GLU d3d wrappers dll's using the IDE in version 1.1. They'll work fine if you build them with the makefiles, but the IDE project is not configured correctly. I'd recommend upgrading to 1.1 using CVS. There is a new unified VC6 workspace which is much easier to use (and doesn't have this bug).