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

Pages: 1 [2] 3 4 ... 7
16
Window / Undefined Reference Errors
« on: December 13, 2008, 06:37:39 pm »
Did you add the libraries to the linker settings?

(Properties -> C/C++ Build -> Settings -> GCC C++ Linker -> Libraries)

17
General / MS VisualStrudio9 C++ SFML: How to port exe on others PC?
« on: October 15, 2008, 04:45:28 pm »
I have the same problem (and somehow think that it is linked to http://www.sfml-dev.org/forum/viewtopic.php?t=605, http://www.sfml-dev.org/forum/viewtopic.php?t=460&start=15).
Older revisions of sfml were working ok, but since the last big change in the window-module it stopped working.
Everything runs fine on nvidia cards, but it fails on ati-cards (maybe others too).
Note that there is always that error code 0xC0000005.:
Quote
(78c.790): Access violation - code c0000005 (first chance

The same error seems to occur in combination with fonts (also no problem with nvidia cards so far):
http://www.sfml-dev.org/forum/viewtopic.php?t=704

It looks like a driver problem to me (from my research with google).

18
Feature requests / Build Files füor Borland IDEs
« on: October 12, 2008, 10:27:21 am »
I also doubt that SFML will build on Borland without serious modifications.
The last time I had to work with Borland it was a mess.

19
General / i didnt want to post it ^^
« on: October 05, 2008, 12:23:08 pm »
This should work:

Missile.h
Code: [Select]
#include <SFML/Graphics.hpp>

class Missile
{
public :

    Missile();

    static bool Init(const std::string& ImageFile);

private :

    static sf::Image Image; // shared by every instance

    sf::Sprite Sprite; // one per instance
};


Missile.cpp
Code: [Select]
sf::Image Missile::Image;

Missile::Missile()
{
Sprite.SetImage(Image); // every sprite uses the same unique image
}

bool Missile::Init(const std::string& ImageFile)
{
return Image.LoadFromFile(ImageFile);
}


Maybe you should read a book about C++.

20
Graphics / sf::WindowSettings access violation
« on: October 02, 2008, 04:38:24 pm »
Does anyone use the svn-version of sfml in combination with an ati card?
So far all my experiments with various ati cards have failed.

21
General discussions / C Sharp
« on: October 01, 2008, 03:22:53 pm »
Yes, there is a .NET binding available through SVN.

22
Graphics / How do I undraw text
« on: September 15, 2008, 05:47:30 pm »
The easiest solution to the problem is probably something like this:

Code: [Select]
class RenderObject
{
public:
void setVisible(bool visible)
{
m_is_visible = visible;
}

void render()
{
if (!m_is_visible)
{
return;
}

// actual drawing code here
}

protected:
bool m_is_visible;
}


@Laurent:
What about adding this kind of functionality to sf::Drawable?

23
Graphics / Problem with drawing text
« on: September 13, 2008, 11:34:19 am »
But it's likely that they are related in some way.

24
SFML projects / Tanktris - a Tetris clone [RC2 & Sourcecode released]
« on: September 13, 2008, 11:30:26 am »
Quote from: "christoph"
Are you debian? Debian SFML or selfmade?

Ubuntu, SFML is compiled from the repository.

25
SFML projects / Tanktris - a Tetris clone [RC2 & Sourcecode released]
« on: September 13, 2008, 11:22:37 am »
This someone is right:
Code: [Select]
Floating point exception
This might help you to fix the problem:
Code: [Select]
==10696== Process terminating with default action of signal 8 (SIGFPE)
==10696==  Integer divide by zero at address 0x63655045
==10696==    at 0x4040FA7: sf::Randomizer::Random(int, int) (in /usr/lib/libsfml-system.so.1.3)
==10696==    by 0x805F4D0: MoverProvider::applyRandomTemplate(Mover&) (moverprovider.cc:77)
==10696==    by 0x8056CB2: InGame::createNext() (ingame.cc:402)
==10696==    by 0x8058E99: InGame::onEnter() (ingame.cc:249)
==10696==    by 0x8061CC0: Tetris::setState(State*) (tetris.cc:119)
==10696==    by 0x8061EFB: Tetris::startGameState() (tetris.cc:143)
==10696==    by 0x80624FE: Tetris::run() (tetris.cc:73)
==10696==    by 0x805B146: main (main.cc:7)

26
Graphics / Problem with drawing text
« on: September 13, 2008, 10:48:33 am »
I think he's talking about the same error that is discussed here: http://www.sfml-dev.org/forum/viewtopic.php?t=605
It's similar to the one that I get.
Note:
Code: [Select]
Ausnahmecode (error code): c0000005 and atioglxx.dll

27
Graphics / sf::WindowSettings access violation
« on: September 12, 2008, 05:00:42 pm »
I also compiled the opengl-sample, which produces the same error.

28
Graphics / sf::WindowSettings access violation
« on: September 12, 2008, 03:56:33 pm »
Ok, I did a clean svn checkout, but it's still not working.
BTW: It works on my 8800GTX, as opposed to kdmiller3s one.

29
Graphics / sf::WindowSettings access violation
« on: September 11, 2008, 02:38:33 pm »
I now noticed the same problem.
On my new computer everything runs fine, but on my old computer, there are problems with the ati opengl driver (crash - atioglxx.dll). I get the same error code
Code: [Select]
0xC0000005
An older compile however runs fine.

30
Audio / Buffers not deleted
« on: September 09, 2008, 07:23:26 pm »
I always do a full rebuild (especially before posting something like this).
However, I can't reproduce it with the latest svn, so maybe it was all my systems fault
(as you know, I recently encountered some other problems in combination with sfml).

However, this was the message I got:
Code: [Select]
AL lib: alBuffer.c:1097: exit() 1 Buffer(s) NOT deleted
Google gives a few results, but nothing useful.

Pages: 1 [2] 3 4 ... 7