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.

Topics - ravenheart

Pages: [1] 2 3 4
General / OpenGL - how to make it work
« on: October 29, 2014, 06:47:19 pm »

I just want to learn some modern OpenGL using Linux and SFML. I am trying to use the OpenGL 4.0 tutorial i found on http://antongerdelan.net/opengl/.

Now i am trying to compile the program and get like for every Opengl-Command:

cpp:18:26: error: ‘glGenBuffers’ was not declared in this scope

I do not know how to proceed from here. Any ideas?

I could post the whole program code if needed and maybe the linker options too.

General / Tiled Map
« on: February 17, 2011, 11:10:54 pm »
Hi, i wanted to render a Tiled map, each tile 12*12px.
My first way was to draw every single tile itself. But i think this may cause too many drawcalls,
any better ways?

General / Segmentation Fault - SFML2
« on: January 02, 2011, 06:17:05 pm »
I get a segmantation fault when closing a SFML window-application.

Im using sfml 2 on a 64bit linux.

XIO: fatal IO error 11 (Resource temporarily unavailable) on X server "��
      after 7131 requests (7130 known processed) with 0 events remaining.
Segmentation fault

Not sure what it means exactly

Audio / Sound in games, beginners question
« on: December 21, 2010, 12:07:24 am »
Well i havent found an answer to this .

If i have a look at the sound tutorial eg, i see the  sleep() method.
Why is it there exactly?

(it says leave some time for other threads)
would playing the sound without sleep take over the whole cpu and nothing else could be done (similiar to fractals?)

should sound be handled in an extra thread when programming a game?

Python / PySFML and Installation
« on: July 07, 2010, 04:41:52 pm »
Does SFML work with Python3.x?

Moreover what is the link in the wiki to see how to compile the sourcecode from the svn 2.0 properly?

Thx in advance !

General discussions / DirectX vs SFML
« on: April 19, 2010, 06:34:42 am »
I dont know if u understand german but this might be interesting for you:


in short:

sfml would be very slow compared to directX tested on WinXP and Win2000, this guy is wondering why

General discussions / Compiling and deleting
« on: March 16, 2010, 02:23:49 pm »
Hello, at the moment i use sfml 1.4, because it is standard in debian.

But now i want to try out the newer sfml-versions 1.5 and 2.0.
unfortunately i do not exactly know what will happen to my system if i compile sfml on myself.

If done so how could i remove it properly?

I´d like to have just one folder containing all used headers and .so files so that i easily could delete this folder to remove sfml again.

Is that tricky or hard to realize? And if not what can i do?

General / splash screen
« on: January 27, 2010, 03:24:00 pm »
is there any possiility to show a splash screen before a render window is created?

General / OpenGL - Question concerning Image::bind() a bit
« on: January 15, 2010, 11:02:55 am »
Hello, i wanted to create a billard-ball with a texture,

thats the code:

Code: [Select]

    GLUquadricObj* quadric;

    sf::Image img;
    while (App.IsOpened())
        // Process events
        sf::Event Event;
        while (App.GetEvent(Event))



        quadric = gluNewQuadric();
        //gluQuadricNormals(quadric, GLU_SMOOTH);
        gluQuadricTexture(quadric, GL_TRUE);
        gluSphere(quadric, 30.0, 1000, 500);


but i can see the border of the texture.

Someone told me that cube-mapping might help.

I didnt really find out how i could do this, can someone help me?

It seems that Bind() decides the way it is mapped, what is standard and how can i change it?

Graphics / sf::Image::bind()
« on: December 15, 2009, 04:27:24 pm »
Hello, I´m wondering what the bind() - function exactly does.
Background: I´d like to use sfml for creating OpenGL-textures.

But yet i do not understand what the bind() does.

Are there any restrictions for a texture-image?
E.g. should it be quadratic? Or from the other side:
What is a bad texture-image?

General discussions / OpenGl 3.x
« on: November 10, 2009, 04:20:12 pm »
In the german forum someone said that sfml isn compatible to opengl 3.x,

is that true?
and if so, will that change?

General discussions / Not really related to SFML
« on: October 22, 2009, 08:10:07 am »
Hi guys,
here i am again to ask for some help.

I'm using Code::Blocks on Kubuntu.
Setting up SFML was no big Problem, the tutorial on it is really great.
But now i wanted to start to integrate QT4, too.

ANd here the problems start.

I'm quite new to Linux and installed all Qt (-dev) packages I will need using the package manager synaptic.

Now I want to create a QT - Project, but i don't know
a) where the folder containing /lib and /include is located
b) what linker options i have to do manually

I'll try out QTCreator which has been recommended to me.

Though I didnt even try yet, I'm somehow sure I'll have some Problems linking SFML again...

Where can I take a  crash course to learn what I have to do, no matter what IDE I choose?

I've seen that

g++ -o out  -lLIBRARY -L../lib file.cpp

seems to be some standard operation,

but where are the /includes ?

I'm glad for any explanation or good link (meaning: should be intelligible for a total beginner )

thnx- the ravenhearted

General discussions / Java
« on: May 21, 2009, 01:25:09 pm »
One question :

Is there a real probability that someone writes a java-wrapper for sfml??

i really like sfml but much of my code is java and i dont like java2d

General / sfml download
« on: February 28, 2009, 05:48:35 pm »
is it possible that the download from sourceforge causes some trouble??

as i told u i downloaded it several times with linux systems and often i had the error

: unexpected end of file

when i tried to extract the full sdk

now i downloaded the windows-sdk and tried to extract it using winrar:


!   C:\Users\Osiris\Documents\Downloads\SFML-1.4-sdk-windows.zip: Unerwartetes Archivende.

for those who dont speak german:
  unexpected end of file


General / almost got it working on linux but still need help^^
« on: February 27, 2009, 08:16:57 pm »
now finally the installation of sfml finished without complaining bout something - and i am able to compile programms


localhost:/home/kleopatra/Dokumente # g++ -o test test.cpp -lsfml-system -lsfml-window
localhost:/home/kleopatra/Dokumente # dir
insgesamt 44
drwxr-xr-x 3 kleopatra users  4096 27. Feb 14:07 Downloads
drwxr-xr-x 2 kleopatra users  4096 27. Feb 10:02 Privat
drwxr-xr-x 2 kleopatra users  4096 27. Feb 10:02 Programmieren
drwxr-xr-x 2 kleopatra users  4096 27. Feb 10:02 Studium
-rwxr-xr-x 1 root      root  13595 27. Feb 14:13 test
-rw-r--r-- 1 kleopatra users   119 27. Feb 14:13 test.cpp
-rw-r--r-- 1 kleopatra users   114 27. Feb 14:13 test.cpp~

but trying to run it there is a little problem


localhost:/home/kleopatra/Dokumente # ./test
./test: error while loading shared libraries: libsfml-system.so.1.4: cannot open shared object file: No such file or directory

Pages: [1] 2 3 4