Christian Lechner
04/01/2011 4:16 AM
post84507
|
Hi,
I'm working in a team and we want to use different workspaces on different paths. For the compiler and linker I found a
solution with environment variables. For the debugger (upload and shared libs) I don't know
How to solve it.
The libs which I need in: Edit launch configuration properties - Upload - Local path and Debugger - Shared libraries -
Directories can be selected via Filesystem (absolute path) or Workspace. When I select workspace and confirm the lib is
included also with an absolute path.
In the file: .metadata\.plugins\org.eclipse.debug.core\.launches I found my 2 entries.
<stringAttribute key="com.qnx.tools.ide.qde.core.LIB_LOCAL_NAME.1" value="C:\QNX650\target\qnx6\ppcbe\lib\boost\
libboost_system-mt.so"/>
<stringAttribute key="com.qnx.tools.ide.qde.core.LIB_LOCAL_NAME.2" value="$(QNX_TARGET)\ppcbe\lib\boost\libboost_thread-
mt.so"/>
In the workspace log file I get: !MESSAGE File '$(QNX_TARGET)\ppcbe\lib\boost\libboost_thread-mt.so' doesnt exist.
When I try to debug I get an error window with: cannot find file $(QNX....)
I would need a symbolic path e.g. $(my_path) as environment variable or global variable which I can use for Upload and
shared Libraries. Then we have to change the symbolic path only once and not with every lib.
<stringAttribute key="com.qnx.tools.ide.qde.core.LIB_LOCAL_NAME.2" value="$(QNX_TARGET)\ppcbe\lib\boost\libboost_thread-
mt.so"/>
Maybe the syntax is wrong. I also tried $$(my_path) and ${my_path}, still not working.
With kind regards
Chris
|
|
|