Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » DLL PATH Environment Variables
DLL PATH Environment Variables [message #661316] Thu, 24 March 2011 08:09 Go to next message
Eclipse UserFriend
Originally posted by: olsam.quickaudioc.om

Hi,
I'm trying to get a project to run/debug using the boost library, using
Eclipse 3.6.2, Win7, and the Wascala downloads.

I've written a small program that compiles successfully, and links to
one of the .lib files, but I can't get it to run (output to the console)
within eclipse. (It doesn't even execute, a breakpoint at the first line
isn't even reached.)

When running from the command line, I saw that the program wouldn't run
because it couldn't find the .dll, so I changed the PATH variable, and
all works well from the command line now.

But in Eclipse, when I try to change the PATH variable in
Project->Properties->Run/Debug settings, I don't see any change in
behavior. Similarly when I add the Boost lib path to
Project->Properties->C++ Build->Environment or even to the Global Win7
PATH. Nothing seems to give Eclipse the information it needs to find
this library. (Even copying it to the current directory didn't help.)

Then I saw that there's a related gdb bug,
http://sourceware.org/bugzilla/show_bug.cgi?id=10989
and
https://bugs.eclipse.org/bugs/show_bug.cgi?id=312422

I think my problem is related, but it's not just limited to debuggin the
app, but also the normal execution mode within eclipse, which makes me
think that something else is also at play.

Any tips for getting this resolved?

Thanks,
--
Oliver Sampson
olsam@quickaudio.com
http://www.oliversampson.com
Re: DLL PATH Environment Variables [message #1847830 is a reply to message #661316] Tue, 09 November 2021 16:46 Go to previous message
Matt X is currently offline Matt XFriend
Messages: 1
Registered: November 2021
Junior Member
Did you ever find an answer for this?
Previous Topic:Update References when renaming header files changes the include style
Next Topic:Debugger Issue
Goto Forum:
  


Current Time: Sun Oct 02 23:53:34 GMT 2022

Powered by FUDForum. Page generated in 0.02777 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top