Sup.
i'm trying to port one of my massive game projects to the new dgdk and visual studio express 2008. its been a horriable evening of failure since I started!
just copying the project folder and opening it would seem to work at first, compiles and even links. But running it causes a crash with no information in a source file I dont have. Amazingly it happens before the first line of DarkGDK() executes as I have a random test line in there (just a variable being assigned a nosense value) just to have a break point on which never fires. So i guess that problem is in the DGDK itself somewhere, or in some other place I cant get access to.
So I decided fine, i'll create a new project using the Dark Game wizard. Create new project, test run.. everything runs fine and gives me the black window you would expect. I add in all my engines source files etc.. now i get linker errors. ungh. so after much much fiddling im down to linker errors like:
error LNK2001: unresolved external symbol __CrtDbgReportW
which is an old old error im sure we used to have to fix in early versions of the sdk! but i cant for the life of me find out how to get rid of those linker errors.
So anyway, I use newton and fmod with this engine and was wondering if maybe some of those conflict. So i create another new project and basically i start adding header files one at time. amazingly the first header I added threw a linker error, and what was that header?
#include <string>
...!!
that little bueaty throws a: error LNK2019: unresolved external symbol __malloc_dbg referenced in function "void * __cdecl operator new(unsigned int,struct std::_DebugHeapTag_t const &,char *,int)" (??2@YAPAXIABU_DebugHeapTag_t@std@@PADH@Z)
so whats going on if i cant even link with the string class? though as I write this im beginging to have an idea... I'm going to have to reinstall the platform sdk arnt I? downloading all 400+ megs of it >> is that it?
wasnt mentioned in the install instructions lads!
Any help appreiciated.