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

Pages: [1] 2 3 4
1
Graphics / Qt-Integration - UPDATE: Mistake in the Tutorial
« on: September 23, 2008, 12:36:53 pm »
I have found the mistake:
The section
Code: [Select]

#ifdef Q_WS_X11
    #include <Qt/qx11info_x11.h>
    #include <X11/Xlib.h>
#endif

is missing in the file "http://www.sfml-dev.org/tutorials/1.4/sources/QSFMLCanvas.cpp", but when I use the file samples/qt/QSFMLCanvas.cpp, it works fine.

Could you correct that, Laurent? ;)

2
Graphics / Qt-Integration - UPDATE: Mistake in the Tutorial
« on: September 22, 2008, 02:19:52 pm »
Now it works, I think there was a mistake in my code and lX11 was not linked.

3
Graphics / Qt-Integration - UPDATE: Mistake in the Tutorial
« on: September 20, 2008, 12:44:30 am »
Hi!
I tried to integrate SFML into Qt.
I used the QSFMLCanvas from the SVN-Version-Tutorial.
But it seems not to like the winId(), because with "Create(winId());" I get this error:
Quote

X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 3 (X_GetWindowAttributes)
  Resource id:  0x8e0000a
Failed to get the window attributes


I am using qt 4.4 and sfml from svn.

Thank you for help
Kernelpanic

4
Feature requests / Dependencies
« on: July 09, 2008, 03:35:08 pm »
Hi!
When I want to compile sfml - maybe wnith depeems on another pc - I have some problems with dependencies.
I cant find a complete list of dependencies and there is no configure.

Could you change that, Laurent, compiling and using of sfml would be much easier! ;)

5
Graphics / SVN-Version: RenderWindow kills x11
« on: July 04, 2008, 04:18:10 pm »
In which package can I find these "glX"-Functions?

6
Graphics / SVN-Version: RenderWindow kills x11
« on: July 03, 2008, 08:46:06 pm »
Version 1.2 worked fine.
I ll look for a new graphiccard, but nevertheless it is not good that I cant write sfml-based applications. :(

7
Network / Receive loop
« on: July 03, 2008, 01:47:10 pm »
Quote from: "Wizzard"
I do not care about semantics.


For should always mean "walk thorugh" or something like that.

I think
Code: [Select]

for(int unsigned i = 4711; i > 1; i  /= 2)
or
for(std::deque<int>::iterator it = my_deq.begin(), i = 0815; it != my_deq.end() && i != 0; it++, i--)

are unusual but acceptable, but for(;;) has nothing to do with the idea of a for-loop.

8
Graphics / SVN-Version: RenderWindow kills x11
« on: July 03, 2008, 01:34:27 pm »
With Vesa drivers it is the same problem.
But now I know, that the constructor is not the problem, X11 restarts, when Display() is called.

9
Graphics / SVN-Version: RenderWindow kills x11
« on: July 02, 2008, 02:27:01 pm »
I have not installed apt or dpkg, I am using OpenSuSE, rpm.
I have reinstalled xorg-x11-server and some other packages.
Now I will reboot...

Edit:
No effect, maybe the graphic-driver is the problem, but I dont think that there are other drivers for a s3 prosavage8.

10
Network / Receive loop
« on: July 02, 2008, 12:56:35 pm »
For such a loop you should not use "for".
It is a semantic absurdity, you should use "while(true)".

11
Graphics / SVN-Version: RenderWindow kills x11
« on: July 02, 2008, 12:44:43 pm »
Which are the important packages?
xorg-x11 and xorg-x11-devel?

12
Graphics / SVN-Version: RenderWindow kills x11
« on: July 01, 2008, 09:15:33 pm »
Hi!
I have installed the latest SVN-Version.
Then I tried to recompile one of my programs and x11 was restarted.
That is "normal" because I have often bugs producing this errors.
But then I tried the example and I lost x11 again.
What could be the problem?

The dependencies - do I only need freetype? In the tutorials no other dependencies are mentioned, I am wondering about it.

13
Graphics / Framerate > 1000
« on: June 05, 2008, 04:11:26 pm »
Okay, thank you for your great work!

14
Window / Transperancy of RenderWindow
« on: June 04, 2008, 09:54:26 pm »
I am not sure, but try this:
Code: [Select]

YourRenderWindow.SetBackgroundColor(Color(0, 0, 255, 100));

Color is always a RGBa-color.
This should be transparent blue.

Edit:
Nett dich wiederzuentdecken, Zac. :)
"Jovycos"

15
Graphics / Framerate > 1000
« on: June 04, 2008, 09:32:43 pm »
Hey Laurent!
Any results or questions?

Pages: [1] 2 3 4