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 / Debugging .exe error

Author
Message
Soccer99
16
Years of Service
User Offline
Joined: 18th Dec 2007
Location:
Posted: 19th Dec 2007 00:23
When I try to debug my game and play it i get an error saying unable to start program c:\....my_game_name.exe then says it cannot find the file specified. What is going on?

----------
GameMaker and DarkGDK user
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 19th Dec 2007 04:09 Edited at: 19th Dec 2007 04:10
Soccer - I personally gave up on that - If someone has a fix - I hope they can help ya - I just started using more "Print "Variable:";VariName;Sync;Wait Key type stuff - and log files sometimes.

(Another thing I like about DarkGDK I can at least freeze it - step through - and hover mouse over variables and usually can see the contents.)

[edit]oops wrong forum - What Version C++ are you using? VC2005Express, VC2005, 2008?

FERSIS
18
Years of Service
User Offline
Joined: 17th May 2006
Location:
Posted: 19th Dec 2007 16:12 Edited at: 19th Dec 2007 16:15
Quote: ":....my_game_name.exe then says it cannot find the file specified"


Its related to the way your project is configured.

The problem appears to be this:
your project is in C:myProj
the debug generated file is stored on c:myProjDebug

SO if you app ,try to open a file from "datamodel.x"
it will try to open from c:\myProj\Debug\data\

You can do this and try:
Copy your generated .exe (the one on the debug/ folder) on the root of your application (where your .vcproj is)
So your app will try to open from c:\myProj\data and NOT on c:\myproj\debug\data

hope you can understand
Sorry my english
cheers

UPDATE: remeber that when you press ctrl+F5 or F5 it will try to run the c:\myApp\debug.

Login to post a reply

Server time is: 2024-11-17 00:19:19
Your offset time is: 2024-11-17 00:19:19