Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: CarstenT on October 29, 2013, 07:04:46 pm

Title: execution working dir ???
Post by: CarstenT on October 29, 2013, 07:04:46 pm
Hi all,
I'm new to c::b and have a low level of experience with MinGW.
I've started a GLFW project and after a little hassle it worked. I've moved the GLFW/include,lib and library to it's own library under c::b.
I came a long way expanding the project, but eventually it didn't work properly .. I'm in the process of redesigning the project and get a lot of unresolved references.
Anyway, my specific question is about the 'Execution working dir' field that is named in
Project properties
     /Build targets
In the base GLFW project that works, this 'dir' is situated in '/bin' (a temp folder?) in the new GLFW library. The compilation produces a working executable ... but I see no signs of this '/bin', or 'Execution working dir' pointed out in the 'build target' tab?
What is the significance of this?
After elaborating/expanding on the GLFW project (using other libraries) .. this 'execution working dir' is still marked as in the initial GLFW-library. I suspect that part of my problems is due to this, but I'm quite blind on what's going on ..
Title: Re: execution working dir ???
Post by: oBFusCATed on October 29, 2013, 07:37:11 pm
The execution directory is using only when running/debugging your application and this settings controls where in the file system you application thinks it is when started.
It is the same as starting the application from command line in this directory.
Title: Re: execution working dir ???
Post by: CarstenT on October 29, 2013, 08:07:45 pm
thanks oBFusCATed,
the progression seems to find it's way round none the less. I'll rule it out as a source of error.