NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
maxpagani
Joined: 16 May 2012 Posts: 2 Location: Italy
|
Posted: Mon May 21, 2012 4:04 pm Post subject: trouble in setting environment variables for cygwin app |
|
|
Hi everyone,
I would like to use Netbeans to develop and debug a cygwin application on Windows.
The problem I face is that my application needs the PATH environment variable to include /usr/bin and /usr/local/bin in order to find the DLLs it needs (otherwise I get the error 0xc0000135 on debugging start).
I added the variables in the Project/Properties/Run/Environment widget, but they are not apparently applied to the gdb session.
I added the variables to the Windows environment using the Windows pathnames (hoping for someone in the middle to translate them), but still I get the same problem.
What's odd, is that if I chose "run Main Project" the application starts properly, while "Debug Main Project" always fail.
I'm using Netbeans 7.1.2; Windows 7 64 bits; cygwin with gdb v7.3.50.
Is there any additional information I can provide?
Thank you in advance
Best Regards |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|