Bug #18153 2011-06-04 18:12

eeghem

windows: runtime environment not persistent

Created a new project based on the GTK+ template. After compiling the default code file and building the executable, the program is run. An error is thrown that the required DLL could not be found.

Next created a new environmet set, named GTK. Added the following lines:

GTK_DLL = <path to gtk bin folder>

PATH = %PATH%;%GTK_DLL%

Next choose "set now". Run the project and the application starts OK. Now open project options. Go to the EnvVars tab and select the set GTK. Now run again. Application runs OK.

Now. Do a rebuild. Run the application. Now the application complains again on missing DLL's. What seems to happen is that the build process changes the environment. This makes sense if the C::B, the build process and the application runtime process all share the same environment. However, in an IDE the ideal situation should be that the IDE should, the build tools and the application all should run in a private process environment.

This seems to be reported in issue 7713. However it looks like it wasn't fixed and this issue seems to be closed.

Category
Plugin::Any
Group
Platform:Windows
Status
Open
Close date
 
Assigned to
 
tpetrov 2012-01-06 14:52

Can you provide some version information?

The env variable plugin works ok for me on linux with the latest nightly from the debugger's branch.