Skip to main content



      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 02:04 Go to next message
Eclipse UserFriend
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 05:15 Go to previous message
Eclipse UserFriend
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).
Previous Topic:Creating custom configuration from "Default Configuration" not created correctly
Next Topic:CDT - DWARF.java
Goto Forum:
  


Current Time: Thu Jun 12 15:50:51 EDT 2025

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

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

Back to the top