Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Sneaky

Pages: [1]
1
General / Re: Problem compiling project in CodeLite
« on: September 19, 2015, 08:46:25 pm »
Following this guide for linux, http://www.sfml-dev.org/tutorials/2.3/start-linux.php, is what you need to do.  Compiling and installing with cmake on linux installs SFML to /usr/local in a couple of directories.  Do this
Quote
export LD_LIBRARY_PATH=<sfml-install-path>/lib && ./sfml-app
as per the above tutorial and you should be fixed.  Change ./sfml-app to your app name.

Thanks, got it working using this. Also had to switch my VM software from Virtualbox to VMWare, Virtualbox had problems with OpenGL.

2
General / Re: Problem compiling project in CodeLite
« on: September 19, 2015, 04:23:27 pm »
Check if it's listed on 'ldconfig -p'. If it's not try running 'ldconfig' as root.

I did that, couldn't find it listed when I ran ldconfig -p so I used the ldconfig command but I still get the same error.

3
General / Problem compiling project in CodeLite
« on: September 19, 2015, 02:36:06 pm »
I'm building a game with SFML on Windows but I also want it to run on Linux, so I followed this guide here:

http://en.sfml-dev.org/forums/index.php?topic=18820.0

The problem is when I compile it I get an error:

./SFML-Test: error while loading shared libraries: libsfml-graphics.so.2.3: cannot open object file: No such file or directory

But I have that file, so I don't understand why it can't find it. I searched Google and none of the answers were of any help. I've checked my linker and compiler settings multiple times so I really have no idea why it doesn't work. Any help would be really appreciated.

Pages: [1]
anything