Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » workspace_loc and LD_LIBRARY_PATH(trying to find correct syntax)
workspace_loc and LD_LIBRARY_PATH [message #753737] Fri, 28 October 2011 10:39 Go to next message
Eclipse UserFriend
I am trying to use the &{workspace_loc} parameter in the environment definition of LD_LIBRARY_PATH.

I can use full paths and it works - ie it finds all my lib*.so libraries at run time. But I cannot get it to work using a workspace_relative path.

i have tried copying the syntax from the link library paths, with/without quotes and it either says that i have a badly defined variable or just fails to find the .so

I am using eclipse CDT 3.5.2

þøx
Re: workspace_loc and LD_LIBRARY_PATH [message #753739 is a reply to message #753737] Fri, 28 October 2011 10:43 Go to previous messageGo to next message
Eclipse UserFriend
I believe the form you should use is
${workspace_loc}
notice the $ sign instead of the &.
Maybe that will solve it.

Marc
Re: workspace_loc and LD_LIBRARY_PATH [message #753748 is a reply to message #753739] Fri, 28 October 2011 10:53 Go to previous messageGo to next message
Eclipse UserFriend
I apologize - that '&' was a typo, I thought ${workspace_loc} should work too.

i also need to be able to enter multiple paths separated by ':'s. i just can't get it to work. you're never sure if its a bug or a noob user error.
icon5.gif  Re: workspace_loc and LD_LIBRARY_PATH [message #755024 is a reply to message #753748] Sun, 06 November 2011 19:58 Go to previous message
Eclipse UserFriend
Where do you enter this: in debug configurations? or in some script that runs inside the IDE?
IIRC CDT can set environment variables based on various project variables such as ${workspace_loc}.

-- pa
Previous Topic:Is there any help like MSDN
Next Topic:How do I install CDT plug-in?
Goto Forum:
  


Current Time: Wed Jul 16 17:36:56 EDT 2025

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

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

Back to the top