Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » External Library Compile fine... but will not run?
External Library Compile fine... but will not run? [message #870071] Sun, 06 May 2012 06:04 Go to next message
aNew Hobby is currently offline aNew HobbyFriend
Messages: 3
Registered: May 2012
Junior Member
I ma trying to use the SFML2 library, but while i cna get it to compil fine.. I can not get it to run...

The compile works no erorrs.. but when I try to use teh run command...
Quote:
error while loading shared libraries: libsfml-graphics.so.2: cannot open shared object file: No such file or directory


Any ideas what to do here?

http***www1.picturepush.com/photo/a/8196534/img/8196534.png
http***www3.picturepush.com/photo/a/8196536/img/8196536.png

(User level to low to post screen shots)
Re: External Library Compile fine... but will not run? [message #870203 is a reply to message #870071] Mon, 07 May 2012 09:15 Go to previous message
Axel Mueller is currently offline Axel MuellerFriend
Messages: 1973
Registered: July 2009
Senior Member
Your application needs the library libsfml-graphics.so.2 at runtime. You have to add the library path to the environment variable LD_LIBRARY_PATH (globally or in the Launch Config of Eclipse).

Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Previous Topic:Creating custom configuration from "Default Configuration" not created correctly
Next Topic:CDT - DWARF.java
Goto Forum:
  


Current Time: Fri Apr 26 12:02:55 GMT 2024

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

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

Back to the top