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

Pages: [1]
1
General / Problem with integrating SFML into wxWidgets
« on: September 13, 2008, 03:47:42 pm »
Hey,

I'm using the Code::Blocks IDE with the standard GNU GCC Compiler on my WinVista machine. When I build either pure wxWidgets projects or pure SFML projects everything works fine. The problems begin when I try to accomplish the Integrating into wxWidgets tutorial. I always get this error:

Code: [Select]
C:\wxWidgets-2.8.8\include\wx\msw\winundef.h|39|error: cannot convert `const TCHAR*' to `const WCHAR*' for argument `2' to `HWND__* CreateDialogParamW(HINSTANCE__*, const WCHAR*, HWND__*, BOOL (*)(HWND__*, UINT, WPARAM, LPARAM), LPARAM)'|

and several similar ones. By the way: On my linux machine the samples compile fine. First I thought that this error might come from my wxWidgets libs so I recompiled them with the options UNICODE=1 and MONOLITHIC=1 for both release and debug but this didn't change anything.

So if anyone has an idea or hint don't hesitate to share it  :wink:
thx, neuroticdecay

Pages: [1]
anything