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

Pages: [1]
1
Graphics / Getting pixels from sf::RenderWindow
« on: April 01, 2010, 06:33:35 pm »
How can I get pixels from sf::RenderWindow? I'm going to get pixels and then update it on WM_PAINT message in my game (I don't need realtime rendering). On the other hand; can I connect HDC whit sf::RenderWindow?

2
General / Many warnings when linking
« on: March 30, 2010, 05:23:25 pm »
Quote from: "Laurent"
This is because you don't have the debug symbols of SFML (which is normal). These warnings won't happen in release mode.
But, how to avoid it in debug mode?

3
General / Many warnings when linking
« on: March 30, 2010, 04:59:46 pm »
When I build application in Visual C++ 2008 Express Edition I get many warnings:
Code: [Select]

sfml-system-s-d.lib(Platform.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'E:\_proj\_bin\libs\sfml-1.5\lib\sfml-system-s-d.lib' or at 'E:\_proj\Middle\Debug\vc90.pdb'; linking object as if no debug info
sfml-system-s-d.lib(Clock.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'E:\_proj\_bin\libs\sfml-1.5\lib\sfml-system-s-d.lib' or at 'E:\_proj\Middle\Debug\vc90.pdb'; linking object as if no debug info
sfml-system-s-d.lib(Sleep.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'E:\_proj\_bin\libs\sfml-1.5\lib\sfml-system-s-d.lib' or at 'E:\_proj\Middle\Debug\vc90.pdb'; linking object as if no debug info
sfml-window-s-d.lib(Joystick.obj) : warning LNK4099: PDB 'vc90.pdb' was not found with 'E:\_proj\_bin\libs\sfml-1.5\lib\sfml-window-s-d.lib' or at
// many, many more...

Application is Ok. My includes:
Code: [Select]

#ifndef _DEBUG
#include <sfml/System.hpp>
#pragma comment(lib, "sfml-system-s.lib")
#include <sfml/Window.hpp>
#pragma comment(lib, "sfml-window-s.lib")
#include <sfml/Graphics.hpp>
#pragma commnet(lib, "sfml-graphics-s.lib")
#else
#include <sfml/System.hpp>
#pragma comment(lib, "sfml-system-s-d.lib")
#include <sfml/Window.hpp>
#pragma comment(lib, "sfml-window-s-d.lib")
#include <sfml/Graphics.hpp>
#pragma comment(lib, "sfml-graphics-s-d.lib")
#endif


How to avoid that warnings? I know that only warning but I like to have clean output ;).

4
Window / Multiple windows
« on: March 30, 2010, 04:31:26 pm »
I have been tring to do that, But it this tutorial you've just create static controls and 'put' into them sf::RenderWindow class and then in "real-time loop" you have update it. But I won't have control to many MDI child window. So how to redraw it? I will have HWND only when I will create it. How to do this?

Can I redraw it on WM_PAINT event?

5
Window / Multiple windows
« on: March 29, 2010, 10:37:40 am »
Quote from: "Laurent"

However you can use a GUI framework like Qt to create the MDI windows, and then embed SFML into them.
So if I create window with MDI, will can I connect HWND with SFML?

6
Window / Multiple windows
« on: March 23, 2010, 05:06:42 pm »
It works, but the windows are on status bar. I rather want to don't show it on the status bar - 2 windows per application whit 1 on status bar.

7
Window / Multiple windows
« on: March 23, 2010, 04:23:31 pm »
Hi,

Does SFML 1.5 support multiple windows? If yes there are any tutorials for this - I can't find it.

-Wine

8
General / Unhandled exception in sf::String
« on: November 21, 2009, 08:08:12 pm »
Quote from: "Laurent"
This is a known bug.

One simple workaround is to use the static SFML libraries.
Do you plan patch to that version?

9
General / Unhandled exception in sf::String
« on: November 21, 2009, 07:44:37 pm »
Hi,

I have a problem with sf::String class. When I want to run code like this:
Code: [Select]
int main()
{
// ...
sf::RenderWindow Window;
// ....
while(true)
{
//...
Window.Draw(sf::String("text"));
//...
}
//...
return 0;
}// <- ERROR!
I get run time error: "Unhandled exception ..." after "return 0;" line. When I don't use font drawing it's run OK. Some solutions?

Wine

10
General / unresolved external symbol sf::Font::ourDefaultCharset
« on: November 19, 2009, 10:46:57 pm »
Thanks, now linking without errors. I think that what is now (the debug liblaries, SFML_DYNAMIC macro etc.) is bit... strange, but maybe I'm not accustomed...

11
General / unresolved external symbol sf::Font::ourDefaultCharset
« on: November 19, 2009, 10:06:30 pm »
Hello,

I have an problem with SFML 1.5 liblary. When I'm run it in debug mode is OK but when I want to link it in release I get that linker error:
Code: [Select]
error LNK2001: unresolved external symbol "private: static unsigned int * sf::Font::ourDefaultCharset" (?ourDefaultCharset@Font@sf@@0PAIA)

That is the only error I get. I have latest liblaries for release mode (I downloaded them minute ago) and problem still is. I working in Visual C++ 2008 Express Edition, maybe that info will help. What should I do now?

PS. I'm from Poland so I apologize for language errors... but I think you will understand me...

Wine

Pages: [1]