Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Problem running project
Problem running project [message #213623] Thu, 10 April 2008 06:51 Go to next message
Eclipse UserFriend
Originally posted by: marianotepper.gmail.com

Hi,
I'm new to C++ under Eclipse. I'm having troubles running a C++ project. I
can compile and link it (all under Eclipse) and if I run the executable
file in linux console, it works great. I can also debug it using gdb. I
haven't been able to find the right configuration in the Run (or Debug)
dialog.

The output in Eclipse console is:

/Debug/test2: error while loading shared libraries: libsysmw.so: cannot
open shared object file: No such file or directory


Thanks in advance!
Re: Problem running project [message #213761 is a reply to message #213623] Fri, 11 April 2008 11:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: fwein.lse.eei.uni-erlangen.de

> /Debug/test2: error while loading shared libraries: libsysmw.so: cannot
> open shared object file: No such file or directory

with ldd <executable> you can locate which libsysmw.so you use in the
console.

Do you have a LD_LIBRARY_PATH specified pointing to libsysmw.so?

You might want to choose a bash script containing
set
or echo $LD_LIBRARY_PATH
to check the difference. E.g. by comparing set with a (graphical) diff
tool.

Does setting LD_LIBRARY_PATH in the Environment tab of run/debug help?

Cheers,

Fabian
Re: Problem running project [message #213821 is a reply to message #213761] Sat, 12 April 2008 05:07 Go to previous message
Eclipse UserFriend
Originally posted by: marianotepper.gmail.com

Thanks, it worked!
Previous Topic:Getting started
Next Topic:Eclipse is not starting
Goto Forum:
  


Current Time: Tue Oct 14 10:26:44 EDT 2025

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

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

Back to the top