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...
error while loading shared libraries: cannot open shared object file: No such file or directory

Any ideas what to do here?


(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 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 -
Goto Forum:

Current Time: Wed Oct 26 21:10:01 GMT 2016

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

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