Small Problem compiling with cake

JoshPendergrass

17-07-2007 07:45:15

Hi I love the cake sandbox makes it so easy to test stuff quickly.
The problem I'm having is when ever I compile a project with changes I get the following error:


1>Project : error PRJ0019: A tool returned an error code from "Copying exe to samples bin directory ..."


When I compile again it compiles but doesn't run, I get the following:


First-chance exception at 0x7c812a5b in NxOgreFirst.exe: Microsoft C++ exception: Ogre::FileNotFoundException at memory location 0x0012f664..
The program '[3408] NxOgreFirst.exe: Native' has exited with code 0 (0x0).


I can go the the .exe and run it, that works fine. Just kinda a pain and a little time consuming.

Any suggestions?

Aiursrage2k

17-07-2007 07:57:38

If you are using visual studio, my guess is you are not setting the working directory. If thats the case go to project properties, click on debugging properties and there should be a field called working directory, change it to the same path as the exe. Otherwise I am not sure.

frier

17-07-2007 08:25:16

Offtopic: What does the cake sandbox help us to do?

JoshPendergrass

17-07-2007 18:56:46

Yep that was it, much appreciated!