Scorche,
try
wxWidgets-2.6.1-gcc3.4.2-1spec.DevPak
I had the same problems as you.
After using wxWidgets-2.6.1-gcc3.4.2-1spec.DevPak
It's no problem,I don't know why.
:D To try and look for a couple of days I set in the setup.h file #define wxUSE_MEDIACTRL 1 then the compiling is no errors , but link..... [[email protected] front-end]$ make -f mkf2.unx g++ -c `wx-config --cxxflags ` -DGAME_SOUNDS -o base.o base.cpp g++ -c `wx-config --cxxflags ` -DGAME_SOUNDS -o about...
:wink: I got the Space Shuttle! AboutWin::AboutWin(wxWindow* parent) : wxDialog(parent, -1, _("About ") + GAMENAME + _("...")), m_artworkBmp(wxBitmap(Artwork)) From the wxwindows pdf Document wxBitmap not wxBITMAP Andy, would you please to try for Windows XP ? Regards. Hans -------------------------...
':D' I cannot load bmp file,so I change the code #include "sample.xpm" AboutWin::AboutWin(wxWindow* parent) : wxDialog(parent, -1, _("About ") + GAMENAME + _("...")), m_artworkBmp(wxBITMAP(sample)) so I cannot see space shuttle. Thanks Andy Thomas and You. PS:I don't know how to put png file on the ...
:lol: Hi Davros I try iit for Linux. it works,but without sound. I try compiler option got some errors: g++ -c `wx-config --cxxflags` -DGAME_SOUNDS -DGAME_MUSIC -o base.o base.cpp In file included from base.h:23, from base.cpp:35: gamepanel.h:84: error: expected class-name before '{' token gamepanel...
Hii :oops: Lamego I got some error message as : [[email protected] minimal]$ make -f mkh2.unx mkh2.unx:10: *** missing separator (did you mean TAB instead of 8 spaces?). Stop. but use the default make file is all right: # by default, wx-config from the PATH is used WX_CONFIG := wx-config # set this to th...