Hello brave GDK coders,
I am now up and running with the Express Edition of VC2005. It is working (FINALLY!) but there are several steps in the creation of a project that seem like you shouldn't have to do everytime. I'm sure someone has figured it out, and if so hopefully you could share your wisdom with me(all of us).
First of all, couldn't we/someone/GameCreators make a Project Wizard for 2005 Express? VC6 had one I think and it worked fine. But this isn't major, that part's not hard, creating an empty project and a new .cpp file in it. But a Project Wizard would probably fix the next two more important issues I have everytime.
(If you are having linker problems and haven't gotten past them, read this part)
-I have to go to the
project properties of every new DGDK project and in the
C++ section/Code Generation/Runtime Library section change it to be "Multithreaded (/MT).
(this cures the "__invoke_watson already defined" linker error)
-Next I have to go to the
project properties and in the
Linker/Input/Ignore Specific Library section add in "atls.lib".
(this cures the "cannot open file 'atls.lib'" linker error)
So those two required changes to every project seem like they should be fixable once and for all. In the "GettingStartedWithExpress.txt" file that came with the fine GDK it mentions,
"2. Configure the INCLUDEMFC headers (specifically afxres.h), and ignore ATLS.LIB from all builds". This, and posts on this forum helped me figure out the ignore atls.lib fix but is that sentence in that doc trying to tell me there's an easier way than typing that into the ignore section for every project (and I make lots of projects =)
In other words (one more time hehheh) I'd love to be able to just select New Project, type in the name, select win32 empty project then type some code and run it. Is it possible or are we stuck with these extra steps?
Thanks for the help, it's much appreciated, and I apologize if I've duplicated any information, but I thought it would be nice to spell it all out clearly for people having the same linker errors.
Best regards,
VRMan
<Edits
By the way I just want to say, WOW! I'm very pleased with the size of the release executable being a mere 208kb! Well done guys! I've been programming in DarkBasicProfessional for many years now and the huge executable was one of my least favorite parts.
Also wanted to point out that the above project properties changes ALSO have to be done when you switch to a Release solution. So you have to do it twice for every project basically. But, the thing does work flawlessly, performance is excellent, and like I said I love the 208k .exe!
Kudos GameCreators, this is a winner product!
World Famous 3D Screensavers
-- http://www.vrman3d.com --