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 - JSB

Pages: [1]
1
General discussions / A quick trick for Linux SFML apps
« on: January 26, 2014, 09:33:53 pm »
Since I don't want to write: "export LD_LIBRARY_PATH=<path to sfml>/lib && ./sfml-app" into my terminal every time i want to run sfml-app, I did this:
1 Start gedit (go to terminal and type "gedit" then enter)
2 Write:
#!/bin/sh
export LD_LIBRARY_PATH=<path to sfml>/lib && ./sfml-app
3 Save in the same directory as sfml-app.

2
General / Re: Pthread on ubuntu?
« on: January 26, 2014, 09:24:32 pm »
Installed package, works perfectly! Compiled my program with 0 errors. Thank you. Just to let everyone know: building from source is a hassle, but once your done and dependencies installed it woks like a charm.

3
General / Pthread on ubuntu?
« on: January 26, 2014, 08:53:04 pm »
I am trying to install all the dependencies for compiling sfml on ubuntu, and I have installed all of them except pthread. I've tried a google search for "how to install pthread ubuntu" and these desperate tries: sudo apt-get install pthread, sudo apt-get install libpthread-dev, sudo apt-get install libpthread, sudo apt-get install pthread-dev and on and on. How do you install Pthread on ubuntu linux?

4
General / Re: Linux compile error
« on: January 01, 2014, 05:09:22 pm »
Thanks. I will build from source :P dangit, i was hoping aptitude would give me the easy way out :) .

5
General / Linux compile error
« on: December 31, 2013, 07:11:52 pm »
I tried to use the method in the resources to compile the test file on ubuntu linux. It errored.
~$ g++ -c main.cxx
In file included from /usr/include/SFML/Window.hpp:40:0,
                 from /usr/include/SFML/Graphics.hpp:32,
                 from main.cxx:1:
/usr/include/SFML/Window/OpenGL.hpp:47:23: fatal error: GL/gl.h: No such file or directory
I installed it through the Ubuntu repository, (sudo apt-get install libsfml-dev) so shouldn't OpenGL.hpp exist?
:(
I’ve never gotten sfml to work on linux. windows, yes, but linux, for some reason, no. Which is a shame because I ceartainly like using g++ better than the Code::blocks I use on windows :( .

Pages: [1]