NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

trouble in setting environment variables for cygwin app

 
Post new topic   Reply to topic    NetBeans Forums -> C/C++ Users
View previous topic :: View next topic  
Author Message
maxpagani



Joined: 16 May 2012
Posts: 2
Location: Italy

PostPosted: Mon May 21, 2012 4:04 pm    Post subject: trouble in setting environment variables for cygwin app Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> C/C++ Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo