Getting wxMax

BlitzMax Modules Forums/Brucey's Modules/Getting wxMax

When will an official release of wxMax be released (just estimated)?

Thank You in Advance

I am getting some strange errors...
Building Modules
Compiling:wxglue.cpp
In file included from K:/Programs/BlitzMax/mod/wx.mod/wx.mod/wxglue.cpp:23:
K:/Programs/BlitzMax/mod/wx.mod/wx.mod/wxglue.h:26:19: wx/wx.h: No such file or directory
K:/Programs/BlitzMax/mod/wx.mod/wx.mod/wxglue.h:27:24: wx/evtloop.h: No such file or directory
K:/Programs/BlitzMax/mod/wx.mod/wx.mod/wxglue.h:28:25: wx/aboutdlg.h: No such file or directory
K:/Programs/BlitzMax/mod/wx.mod/wx.mod/wxglue.h:29:24: wx/artprov.h: No such file or directory
K:/Programs/BlitzMax/mod/wx.mod/wx.mod/wxglue.h:30:24: wx/fontmap.h: No such file or directory
K:/Programs/BlitzMax/mod/wx.mod/wx.mod/wxglue.h:31:22: wx/timer.h: No such file or directory
K:/Programs/BlitzMax/mod/wx.mod/wx.mod/wxglue.h:32:25: wx/ptr_scpd.h: No such file or directory
K:/Programs/BlitzMax/mod/wx.mod/wx.mod/wxglue.h:33:24: wx/txtstrm.h: No such file or directory
K:/Programs/BlitzMax/mod/wx.mod/wx.mod/wxglue.h:34:25: wx/wfstream.h: No such file or directory
In file included from K:/Programs/BlitzMax/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/cstring:51,
                 from K:/Programs/BlitzMax/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/stl_algobase.h:65,
                 from 

(...Too many errors for this post (FYI: There were over 1800 lines of errors)...)

`bmx_wxtextoutputstream_delete' declared void
K:/Programs/BlitzMax/mod/wx.mod/wx.mod/wxglue.cpp:1835: error: redefinition of `int bmx_wxtextoutputstream_delete'
K:/Programs/BlitzMax/mod/wx.mod/wx.mod/wxglue.h:365: error: `int bmx_wxtextoutputstream_delete' previously defined here
K:/Programs/BlitzMax/mod/wx.mod/wx.mod/wxglue.cpp:1835: error: `wxTextOutputStream' was not declared in this scope
K:/Programs/BlitzMax/mod/wx.mod/wx.mod/wxglue.cpp:1835: error: `s' was not declared in this scope
K:/Programs/BlitzMax/mod/wx.mod/include/string.h:58: error: storage size of `wxString' isn't known
Build Error: failed to compile K:/Programs/BlitzMax/mod/wx.mod/wx.mod/wxglue.cpp
Process complete

And an error that says "Compile Error wx/wx.h: No such file or directory"
Any Ideas?

You've installed it in the wrong folder, it looks like. It's supposed to be in BlitzMax/Mod/wx.mod but you appear to have it in BlitzMax/Mod/wx.mod/wx.mod

You are missing the headers.

You need wxwidgets_2.8.7_headers.zip, which should be unzipped into mod/wx.mod/include

Don't forget to get the static libraries too :-)

I didn't copy the headers and libs (inside their "win32" and "wx" folders) into their designated folders.

But it's all good now...Thanks Brucey and Gabriel!

Building Modules...

I just grabbed wxMax again, and can't get it working for the life of me.


C:/Program Files/BlitzMax/mod/wx.mod/wx.mod/wxglue.h:51,
from C:/Program Files/BlitzMax/mod/wx.mod/wx.mod/wxglue.cpp:23:
C:/Program Files/BlitzMax/mod/wx.mod/wx.mod/../../brl.mod/event.mod/event.h:62:7: warning: no newline at end of file
C:/Program Files/BlitzMax/mod/wx.mod/wx.mod/wxglue.cpp: In function `BBString* bbStringFromWxString(const wxString&)':
C:/Program Files/BlitzMax/mod/wx.mod/wx.mod/wxglue.cpp:55: error: invalid conversion from `const wchar_t*' to `const BBChar*'
C:/Program Files/BlitzMax/mod/wx.mod/wx.mod/wxglue.cpp: In function `BBString* bmx_wxkeyevent_getunicodekey(wxKeyEvent&)':
C:/Program Files/BlitzMax/mod/wx.mod/wx.mod/wxglue.cpp:1346: error: 'class wxKeyEvent' has no member named 'GetUnicodeKey'
C:/Program Files/BlitzMax/mod/wx.mod/wx.mod/wxglue.cpp: In function `long int bmx_wxgetelapsedtime(bool)':
C:/Program Files/BlitzMax/mod/wx.mod/wx.mod/wxglue.cpp:1765: warning: `wxGetElapsedTime' is deprecated (declared at C:/Program Files/BlitzMax/mod/wx.mod/include/wx/stopwatch.h:77)
C:/Program Files/BlitzMax/mod/wx.mod/wx.mod/wxglue.cpp:1765: warning: `wxGetElapsedTime' is deprecated (declared at C:/Program Files/BlitzMax/mod/wx.mod/include/wx/stopwatch.h:77)
C:/Program Files/BlitzMax/mod/wx.mod/wx.mod/wxglue.cpp: In function `void bmx_wxstarttimer()':
C:/Program Files/BlitzMax/mod/wx.mod/wx.mod/wxglue.cpp:1798: warning: `wxStartTimer' is deprecated (declared at C:/Program Files/BlitzMax/mod/wx.mod/include/wx/stopwatch.h:73)
C:/Program Files/BlitzMax/mod/wx.mod/wx.mod/wxglue.cpp:1798: warning: `wxStartTimer' is deprecated (declared at C:/Program Files/BlitzMax/mod/wx.mod/include/wx/stopwatch.h:73)
Build Error: failed to compile C:/Program Files/BlitzMax/mod/wx.mod/wx.mod/wxglue.cpp
Process complete



I have placed headers and libs as instructed, svn'd all the files, pasted them into the mod folder and still the above is what I get. What am I missing?

What's this:
C:/Program Files/BlitzMax/mod/wx.mod/wx.mod/../../brl.mod/event.mod/event.h:62:7: warning: no newline at end of file

Doesn't look right to me. Looks like you've accidentally put the brl.mod folder in the wx.mod folder

Nope lol.

I think the
/../../
brings it back 2 directories. Could this be related to having mingw 1.5.4? Although I haven't had problems compiling any other mods.


Edit: did a complete reinstall/syncmod and it's working now.

> brings it back 2 directories.

Heh - woops! Glad you got it working. :-)