Issue Compiling on OSX

BlitzMax Modules Forums/Brucey's Modules/Issue Compiling on OSX

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Okay... so it wouldn't build as a 10.4 binary on my 10.5.

Still, it was worth a try :-)

So... your mission, should you choose to accept it, is to :

1) download wxwidgets 2.8.7 "wxAll" from http://www.wxwidgets.org/downloads/

Either of the three formats (.tar.gz / .zip / bz2)

2) Extract to your drive somewhere.

3) Open a terminal session, and cd to the newly extracted wxWidgets-2.8.7 directory.

4) Type/copy/paste :
./configure --enable-unicode --with-opengl --enable-mediactrl --enable-graphics_ctx --disable-shared --with-expat=builtin


<EDIT>
4.5) Type
make

to build the library... (quite important that one!)
</EDIT>

5) Wait ... :-)

6) All going well, you will end up with a "lib" folder containing a set of static libraries (lots of files ending in .a). This is the same set as you use wxMax.

7) Create a "macosx86" folder in your wx.mod/lib folder. If there's one already there, you can either rename it first, or remove it.

8) Copy everything in the recently compiled lib folder to the macosx86 folder, including the "wx" folder.

9) browse down into that wx folder, into "include", until you see a folder named something like "mac-unicode-release-static-2.8.7"
You need to remove the number part so that the folder name is simply "mac-unicode-release-static"

10) You may need to rebuild your wxMax modules to pick up the lib changes.


Any volunteers (with an Intel 10.4) ? :-)