|DLL PATH Environment Variables [message #661316]
||Thu, 24 March 2011 08:09
Originally posted by: olsam.quickaudioc.om|
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,
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?
Powered by FUDForum
. Page generated in 0.02777 seconds