Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Release versus Debug issue

Author
Message
m0ng00se
16
Years of Service
User Offline
Joined: 2nd Dec 2007
Location:
Posted: 23rd Dec 2007 23:24
When I compile and run in debug mode my code works fine. If I change to release version I just get an empty console window but no animation in it and no errors. Because it's not debug mode I can't work out what is going on.

The animation runs fine in Debug mode.

Any ideas?

m0ng00se
sadsack
20
Years of Service
User Offline
Joined: 27th Nov 2003
Location: here
Posted: 23rd Dec 2007 23:37
Move your release icon exe to your project floder.
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 23rd Dec 2007 23:38
1: What GDK? DarkGDK or DarkGDK.Net?

2: What Compiler?

3: What DirectX SDK?

Tip:
If DarkGDK C++?

1:Start Clean!
2ownLoad and install the new VC2008 Express.
3ownload and install the DirectX Auguest 2007 SDK
4ownload and install the new DarkGDK C++ Bundled for VC2008 Express

5:Make a New Empty Project with the Wizard.
6: Remove the Main.cpp from the project.

7: copy your source files and media only *.cpp *.h + gfx files to your project's directory

8: Add Existing Items to your project. Add those *.h and *.cpp you copied to your project directory.

Compile - and run - be MErry

(Trying to manually set up the options is a pain - one import help is that wizard setting up the defaults you need! I Always select 3d - but never use it - just glad the project is all configured )

Also use "string.h" over <string.h>.

Happy Holidays

m0ng00se
16
Years of Service
User Offline
Joined: 2nd Dec 2007
Location:
Posted: 23rd Dec 2007 23:56
Thanks Jason. Sorry about the lack of information I provided.
I'm using VC++ 2008 and the latest version of the Dark GDK downloaded at the same time.

Thanx sadsack you were right. It couldn't find my resources (sprite file) from the "release" folder. I should have realised because I didn't write any code to tell it where to look. Duh!

m0ng00se

Login to post a reply

Server time is: 2024-09-29 07:33:15
Your offset time is: 2024-09-29 07:33:15