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

Pages: 1 [2]
16
General / gluPerspective
« on: February 08, 2010, 08:49:52 pm »
Just working my way through this...

http://www.sfml-dev.org/forum/viewtopic.php?t=1880&sid=1397d9c455d32225fdcdc4bed5542c29

One thing this did highlight was that I was working on a 1.3 example using the 1.5 package. Unfortunately even using the 1.5 example the proposed solution didn't work for me as shown as a post on that thread.

17
General / gluPerspective
« on: February 08, 2010, 07:56:19 pm »
I've been looking at the window-opengl tutorial ie...

   //http://www.sfml-dev.org/tutorials/1.3/window-opengl.php

which I'm compiling with...

   g++ -o window-opengl window-opengl.cpp -lsfml-graphics -lsfml-window -lsfml-system

The sticking point seems to be the line...

    gluPerspective(90.f, 1.f, 1.f, 500.f);

ls /usr/lib/libGLU* gives me...

    /usr/lib/libGLU.a  
    /usr/lib/libGLU.so.1            DIR
    /usr/lib/libGLU.so              DIR
    /usr/lib/libGLU.so.1.3.070300

so libGLU looks to exist.
I tried compiling with "-lglu" added in but this didn't work.
I'm not sure if this is the right specification or if its got to be in a certain place in the line.

Any suggestions much appreciated.

18
General / libsfml-graphics.so.1.4-1084: cannot open shared object fil
« on: February 08, 2010, 04:13:10 pm »
Thanks for creating sfml.
I think it's just what I've been looking for.

I've downloaded "SFML-1.5-sdk-linux-64.tar.gz"
and installed it on my phenom
runnning crunchbang linux 9.04.01 using...
make
sudo checkinstall &
make sfml-samples

Before realising that the sdk already provides the external libraries,
I installed them with...apt-get build-dep libsfml
(I was going to apt-get sfml too but only the C bindings are available on this distro)
My assumption is that the external libraries in the sdk have updated those that I previously installed with apt-get, where necessary. I may be wrong.

Some of the samples run ok ie...
opengl
pong
post-fx

the following samples don't ie...
qt
window
wxwidgets
X11

due to...
"error while loading shared libraries:libsfml-graphics.so.1.4-1084:cannot open shared object file"

libsfml-graphics.so.1.4-1084 doesn't sound right in version 1.5 and
"/usr/lib$ dir |grep libsfml-graphics" seems to "agree" by showing
libsfml-graphics.so.1.5
as a likely replacement.

I've crawled all over the dir looking for "1.4" in the hope that I could change it to 1.5 but I'm not seeing it.

Any advice to resolve this would be much appreciated.
Regards

Pages: 1 [2]