Hey everyone
So this is me sucking at setting up a Dark GDK 2.0 project. I searched the forum for a solution, and all I found was that perhaps "DarkGDK.h" wasn't being included. This can't be however, because it's in the top of "main.cpp" and would be throwing an error if it weren't being included. I've followed everything in the help files, this is what I did:
-Create an empty project
-Delete the filters in VS
-Copy "gdkengine.dll" to the project directory
-Copy the "c++" folder into the "include" folder and rename "puregdk"
-Mirror the folder structure as filters in VS
-Include all files in "include/puregdk/core"
-Create "main.cpp" in the folder "src"
-Copy the example program (below) into "main.cpp"
-Right click on project, go to properties, click on "C++" on the left, and set the include path to "$(ProjectDir)"
-Save everything and compile
1>------ Build started: Project: test2, Configuration: Debug Win32 ------
1>Compiling...
1>main.cpp
1>c:\users\alex\documents\visual studio 2008\projects\test2\main.cpp(21) : error C3861: 'dbOpenScreen': identifier not found
1>c:\users\alex\documents\visual studio 2008\projects\test2\main.cpp(32) : error C3861: 'dbCloseScreen': identifier not found
1>Build log was saved at "file://c:\Users\alex\Documents\Visual Studio 2008\Projects\test2\Debug\BuildLog.htm"
1>test2 - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
The entire project is attached if you need it.
TheComet