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

Pages: 1 [2] 3
16
Graphics / SVN-Version: RenderWindow kills x11
« on: July 02, 2008, 04:55:40 pm »
wth is that graphics-card? ^^

Ok, what you could try is using standard VESA-Drivers.
For that to work, you have to edit your xorg.conf file. Therein, search for
Section "Device"
where there is (or should be) an entry
Driver "whatever"
change that to
Driver "vesa"

don't forget backuping your xorg.conf, so you can reuse it if that doesn't work.

At least, this could be a hint whether it's a driver-issue...

17
Graphics / SVN-Version: RenderWindow kills x11
« on: July 02, 2008, 02:01:25 pm »
What Linux are you using?

If it's Ubuntu, the simples way to reinstall X11 is opening a Terminal and typing
"sudo apt-get -f install xserver-xorg"

Edit: Ubuntu and any System using apt. of course ;)

18
General / Windows in Linux
« on: July 02, 2008, 01:53:19 pm »
Well, it's definitely not a Gnome issue, as I'm right now trying reproducing it under Fedora 9 with Gnome as desktop.
But yes, might be somehow related to Ubuntu (are you using Hardy? Hardy is a bit buggy anyway...).

However, I'm going to test under Fedora 9 with Compiz and report on that later on...

19
General discussions / SFML / Performance in VirtualBox
« on: July 01, 2008, 08:36:01 pm »
Well, problem is how extensive SFML makes use of the GPU to increase performance.
I don't know about that issue, but if SFML's increase in performance over SDL is heavily GPU-related and it is not that optimized for CPU, maybe SDL has a better rate on CPU-usage only.

However, I'm not really on the inside of SFML, so I can only guess which API is slightly more performant, using a VirtualBox.

20
General / Windows in Linux
« on: July 01, 2008, 07:58:17 pm »
Hi lzr,

I suggest you're using either KDE or Gnome with Beryl/Compiz as Window-Manager, am I right?
If that's the case, I'm affraight it's an Beryl/Compiz - Issue.
So far, I don't know what causes this problem, but me and a friend of mine are able to reproduce it with Compiz under Linux, so there should be done something with tweaking the Window-Manager...

21
General discussions / SFML / Performance in VirtualBox
« on: July 01, 2008, 07:52:00 pm »
Quote from: "Wizzard"
How does VirtualBox change the performance of SFML?

Without using VirtualBox, SFML is in fact faster than SDL because SFML takes advantage of the GPU.


You can answer that yourself ;)

SFML takes advantage of the GPU, however, VirtualBox won't let SFML use these advantages.

22
SFML projects / An simple immediate mode GUI with SFML
« on: June 28, 2008, 09:57:24 pm »
ok, thx, I've tried it.

works fine here!

23
SFML projects / An simple immediate mode GUI with SFML
« on: June 28, 2008, 08:39:10 pm »
hey pamaury,

this project seems interesting to me, however, if I try compiling the code (I'm using Code::Blocks as well), it says "cannot find -lfreetype"

What is that library?
is it from the freetype2-project?
would I have to install the whole freetype2 windows binaries?

hope you know, what I mean ^^

24
Graphics / [Solved] Crapping the Framerate?
« on: June 28, 2008, 06:54:07 pm »
hi,

if you mean limiting the framerate, then SetFramerateLimit is what you are looking for.

when creating a (Rendered)Window, you can set it's framerate, what looks like this:
Code: [Select]
sf::RenderedWindow App(sf::VideoMode(X-Res, Y-Res, Bit), "Title");
App.SetFramerateLimit(Rate);

where "Rate" is your wished limit for Frames.

See also the Tutorials Page: http://www.sfml-dev.org/tutorials/1.3/window-time.php[/code]

25
General / [Solved] static linking in linux?
« on: June 28, 2008, 11:01:28 am »
Thanks again, I'm going to work through that!

26
General / [Solved] static linking in linux?
« on: June 28, 2008, 10:50:27 am »
Ok, thank you very much, Laurent.

I have to admitt, I don't known how to do that right now, but I'm going to find out (I'm new to Linux programming ^^).
So far, my friend is willing to install sfml by himself (good luck for me ;) )

27
General / [Solved] static linking in linux?
« on: June 28, 2008, 10:17:48 am »
Quote from: "Laurent"
SFML libraries under Linux are dynamic only, the static ones are not provided.

OK, thank you.
Good to known, now I can stop searching a way to link statically :)

So, what to do when "shipping" my program to a friend of mine, who doesn't have sfml installed to his system?
Does he have to install sfml, or is shipping the -lsfml-xxx.so.1 right with my program enough?

28
General / [Solved] static linking in linux?
« on: June 28, 2008, 10:07:36 am »
Ok, that doesn't work :)

But thanks anyway...

P.S.: Syntax doesn't seem to matter that much, as for what I found out was people writing the same options down to different positions, doing the same, however, compiling with
Code: [Select]
g++ -c [filename] [options]
g++ -o [output file] [input file] [options]
should always work...and it does with sfml, as well, when not linking statically

29
General / [Solved] static linking in linux?
« on: June 28, 2008, 09:59:36 am »
Quote from: "Wizzard"

Have you tried just doing this?

Code: [Select]
g++ -c main.cpp
g++ -o main main.o -lsfml-system


The error "/usr/bin/ld: cannot find lsfml-system" makes me think you don't have the correct syntax for g++.

Yap, I wrote above that, without the -static option, I'm fine with compiling ;)

Quote from: "Wizzard"

After a little time on google, I found examples of people using syntax like this to statically link libraries:

Code: [Select]
-static-libsfml-system

thanks, I'll try it and report on that!

30
General / [Solved] static linking in linux?
« on: June 28, 2008, 01:00:49 am »
Hey folks!

I've just stumbled upon a problem using SFML under Linux (as Cross Compiling binaries for Linux is quite non-trivial under WinXP ^^ ).

Problem is: I can't figure out a way of statically linking the libraries.

Code: [Select]
g++ -c main.cpp
g++ -o main main.o -static lsfml-system

will give me an error saying
/usr/bin/ld: cannot find lsfml-system

When I try compiling without the -static option, everything works fine, however I'd have a dynamic link

I have as well tried -Wl,-static and -Wl,-Bstatic, all's the same result...

System is Ubuntu 8.04
SFML is 1.3

Is there a way to solve this problem?

Pages: 1 [2] 3
anything