Eclipse does not find BRITE library

40 views
Skip to first unread message

Daniel Brettschneider

unread,
Sep 18, 2014, 10:29:50 AM9/18/14
to ns-3-...@googlegroups.com
Hi,

I followed the instructions to install brite and the module does build. Also "./waf --run" works fine. However, if I try to run my script in Eclipse, it does not find the libbrite.so library. The LD_LIBRARY_PATH is defined and other libraries are loaded properly. As a workaround I copied the libbrite.so to /usr/lib where it is found. But since waf knows where to find it, Eclipse should somehow too. Is there a configuration that points to the library?

Thanks in advance
Daniel


Peter Riedemann

unread,
Jan 6, 2016, 9:33:51 AM1/6/16
to ns-3-users
Hi Daniel,

I had the same problem. You can just edit the LD_LIBRARY_PATH variable. Seperate the first path with a semicolon and then add the relative path to your BRITE Directory without a space. In my case the LD_LIBRARY_PATH looks like this: ${workspace_loc:/NS3Project}/build;${workspace_loc:/NS3Project}/../BRITE. Now try to run a programm of your choise. I think it is possible to set an absolute path, too.

Peter
Reply all
Reply to author
Forward
0 new messages