Re: MacOS X Build Help
Bryan Bulten <[email protected]>
| Newsgroups | gmane.comp.lib.wxwindows.wxnet |
|---|---|
| Message-ID | <20040415203618.497a0efc@goliath> |
> I thought I saw some hints on MacOS X build but can't find them. > According to this screen shot someone has done it! > > http://www.gnu.org/projects/dotgnu/screenshot14.html > > Does anyone have any build instructions? I wrote up some instructions a while back when I created that screenshot under Mac OSX Panther. Since I'm not a Mac user, and didn't have a lot of time to work on wx.NET with the Mac, the results were _far_ from stable, and a few hacks were required. This was also back when we were using wxWidgets 2.4.2. The following are modified sources for wx.NET, with hacks to get the Makefiles to create .dylib's in Darwin, and parts of the code uncommented where wxMac didn't support certain functionality. http://wxnet.sf.net/mac/wx.NET-mac.tar.gz (Note: these sources are from last November, and were only tested with wxWidgets 2.4.2). To attempt a build, don't use Premake; use the Makefiles provided. > I've installed wxWidgets 2.5.1 via DarwinPorts. I've used premake to > create Makefiles. But one glitch is that the premake.lua files know > about linix and windows but not MacOS X. To get started I hard coded > in "OS = "linux" into the wx-c version. > > I get warnings and errors right away. When compiling bitmap.cxx: > ... > bitmap.cxx: In function `bool wxBitmap_LoadFile(wxBitmap*, const > char*, int)': > bitmap.cxx:84: error: no matching function for call to > `wxBitmap::LoadFile( > wxString, int&)' > /usr/local/dports/include/wx/mac/bitmap.h:172: error: candidates are: > virtual > bool wxBitmap::LoadFile(const wxString&, wxBitmapType = > wxBITMAP_TYPE_BMP_RESOURCE) <near match> > make[1]: *** [obj/bitmap.o] Error 1 > make: *** [wx-c] Error 2 > I am C++ ignorant :-(. If you want to try building the latest wx.NET release in OSX, not knowing a bit of C/C++ will make things fairly difficult. The Makefiles in the above archive may give you some idea on how to get things to link properly, but code will need to be adjusted to get things to compile correctly. Hopefully someone with some (wx)Mac development experience can help out one of these days. :-) Cheers. -- Bryan Bulten http://www.bulten.ca/ http://wxnet.sourceforge.net/
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAfyqF32WFWIzmzHgRAtXhAJwMktcXXr1ikxSbQyG0x2YlZF/ALgCffVBM 3sCJETiQD+1EXtAACgVw9YM= =ZuGP -----END PGP SIGNATURE-----