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

Pages: [1]
1
General / Pure Virtual Function call
« on: October 12, 2010, 12:05:15 pm »
Anyone have any clue of what to do? Else, judging this post and my test:

Quote from: "e_barroga"
I think it is a bug.

I got that error, too, just earlier.


Happened when I created an Image without doing anything with it:
Code: [Select]

sf::Image imCursor;
imCursor.LoadFromFile(...);



Commenting it out relieves the issue.

Once I set a sprite to that image, then draw the sprite.... it also relieved the issue.


By the way, I was using VC++.


Maybe I should not use sf::Image for images and use e.g. SOIL with OpenGL?
Because it works fine without sf::Image? Or does anyone have a better idea?

2
General / Pure Virtual Function call
« on: October 11, 2010, 04:11:17 pm »
Quote from: "panithadrum"
That is the problem I have in my thread (http://sfml-dev.org/forum/viewtopic.php?t=3349), but I use Visual Studio 2010 (SFML2 last revision, shared libraries).

Just happens when something related to sf::Context (sf::Window for example) is created and destroyed. Then, that message emerges at the end of the application.

EDIT: Maybe it's because I am using an integrated graphic card intel


I have an integrated graphic card intel too :)

3
General / Pure Virtual Function call
« on: October 10, 2010, 01:25:20 pm »
Hi, I belive this issue is still active, because I get the same error at the end of the application, it appears as e_barroga said, with sf::Image. But sadly I'm working with SFML-OpenGL and I'm using sf::Image with Image.bind() so I'm not setting a sprite. On the other hand it works fine on Mac OSX.

I'm using Code::Blocks (MinGW) on Windows.

Is there any way to avoid this Pure Virtual Function Call error, when the application ends?

Thanks

Pages: [1]