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

Pages: [1]
1
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

2
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! ;)

3
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.

4
Graphics / Framerate > 1000
« on: June 03, 2008, 06:03:27 pm »
I often get displayed framerates > 1000 and sometimes > 6000, although I have called setFramerateLimit(40).
And it is not fast, it is really slow when the (displayed) framerate is higher than 1000.
What is the problem?

5
Window / [Solved] Event::KeyEvent operator<
« on: June 01, 2008, 10:47:37 pm »
Code: [Select]

#ifndef SFEKE_OPERATOR_LESS

#define SFEKE_OPERATOR_LESS

namespace sf
{
bool operator<(const Event::KeyEvent& a, const Event::KeyEvent& b)
{
if(static_cast<int>(a.Code) < static_cast<int>(b.Code))
return true;
if(static_cast<int>(a.Code) > static_cast<int>(b.Code))
return false;
if(a.Alt < b.Alt)
return true;
if(a.Alt > b.Alt)
return false;
if(a.Control < b.Control)
return true;
if(a.Control > b.Control)
return false;
if(a.Shift < b.Shift)
return true;
return false;
}
};

#endif


I want to use an Event::KeyEvent as Keytype in a multimap.
So I have defined this operator<.
But I get this g++-Link-Error:
Quote

/home/Jonathan2/Desktop/C++/Linuwokakerox/src/Utils.cpp:35: multiple definition of `sf::operator<(sf::Event::KeyEvent const&, sf::Event::KeyEvent const&)'



What could I do?

6
Window / [Solved] Drawing outside of the window
« on: May 30, 2008, 02:47:52 pm »
When I call RenderWindow::Draw, would it be usefull to check, if the coordinates are outside of the window or is there any automatically checking?

7
Feature requests / Roadmap: copying
« on: May 23, 2008, 09:32:08 pm »
Quote from: "Roadmap"

GRAPHICS   Add a function to copy an image onto another


Somthing like sf::Image::Draw(const Drawable&) ?
We ll have great features, thank you Laurent!

8
General / Changes in the new SVN-Version
« on: May 20, 2008, 08:58:52 pm »
Yes, RenderWindow::GetViewRect is missing in the new SVN-Version, what is the alternative?

The Constructors are different, too.
I hope they ll be listed in the documentation.

9
Window / Inherit from RenderWindow
« on: May 18, 2008, 03:15:34 pm »
I wanted to inherit from RenderWindow, but I get alway this error:
Quote

undefined reference to `sf::RenderWindow::RenderWindow(sf::VideoMode, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long, int)'
undefined reference to `sf::RenderWindow::OnEventReceived(sf::Event const&)'


Isn't it allowed to inherit from RenderWindow, or what is the problem, I have copied the constructorarguments from the documentation?

10
General / SVN-Source Errors
« on: May 18, 2008, 12:55:37 pm »
I have downloaded the latest SVN-Source.
Make produces this error:
Quote

../../ -DNDEBUG -O2 -fPIC
In file included from ../../SFML/Audio/AudioDevice.hpp:31,
                 from AudioDevice.cpp:28:
../../SFML/Audio/OpenAL.hpp:32:19: error: AL/al.h: Datei oder Verzeichnis nicht gefunden
../../SFML/Audio/OpenAL.hpp:33:20: error: AL/alc.h: Datei oder Verzeichnis nicht gefunden
In file included from ../../SFML/Audio/AudioDevice.hpp:31,
                 from AudioDevice.cpp:28:

And then  a lot of "not-declared" errors.

With "make install" I have got an error »../../../lib/libsfml-audio.so.1« not found,

Is it a bug in the makefile?
The non-SVN-version is running.

11
Hi,
I'm a new (and happy ;)) SFML-User.

When I call Display(), the RenderWindow ist displayed and his contents are cleared, I can call Display() again and there is only the background.
I have searched for a function in the Documentation, but I haven't found a option to disable this cls.

This is my idea for a new feature:
void Display(bool clear = true), developers would be able to keep the content of a RenderWindow.
Would it be possible to implement that feature?

"Kernelpanic"

PS:
Sorry for my bad English - German guy  :roll: ;)

Pages: [1]