Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Mac OS development
roxlu:
Hi afb,
I want to create a development environment like this:
codeblocks_dev\wxwidgets_svn
codeblocks_dev\codeblocks_svn
and link codeblocks_svn against the wxwdigets_svn. I've tried to use the wxWidgets trunk but that did not work. I used this configure command:
--- Code: ---./configure --enable-shared --enable-monolithic --enable-unicode --with-osx_cocoa --with-png=builtin --with-jpeg=builtin --with-tiff=builtin --with-expat=builtin/configure --enable-shared --enable-monolithic --enable-unicode --with-osx_cocoa --with-png=builtin --with-jpeg=builtin --with-tiff=builtin --with-expat=builtin --prefix=/Users/roxlu/Documents/programming/c++/codeblocks_dev/wxwidgets_svn/wxwidgets_build
--- End code ---
Now, I want to build C::B against this wxwidgets compilation. But each time I tried I got different errors (from redefinition to incorrent function arguments). The errors I got were probably due to the fact I used the latest svn from wxWidgets. Do you have any idea how I can build C::B against a custom compiled wxWidgets?
Roxlu
Jenna:
--- Quote from: roxlu on January 25, 2010, 10:21:41 am ---Hi afb,
I want to create a development environment like this:
codeblocks_dev\wxwidgets_svn
codeblocks_dev\codeblocks_svn
and link codeblocks_svn against the wxwdigets_svn. I've tried to use the wxWidgets trunk but that did not work. I used this configure command:
--- Code: ---./configure --enable-shared --enable-monolithic --enable-unicode --with-osx_cocoa --with-png=builtin --with-jpeg=builtin --with-tiff=builtin --with-expat=builtin/configure --enable-shared --enable-monolithic --enable-unicode --with-osx_cocoa --with-png=builtin --with-jpeg=builtin --with-tiff=builtin --with-expat=builtin --prefix=/Users/roxlu/Documents/programming/c++/codeblocks_dev/wxwidgets_svn/wxwidgets_build
--- End code ---
Now, I want to build C::B against this wxwidgets compilation. But each time I tried I got different errors (from redefinition to incorrent function arguments). The errors I got were probably due to the fact I used the latest svn from wxWidgets. Do you have any idea how I can build C::B against a custom compiled wxWidgets?
Roxlu
--- End quote ---
wxWidgets trunk is not (yet) compatible with C::B.
You have to use wxWidgets 2.8 .
roxlu:
Okay nice! I'll try that tonight!
afb:
--- Quote from: roxlu on January 25, 2010, 10:21:41 am ---The errors I got were probably due to the fact I used the latest svn from wxWidgets.
--- End quote ---
Yes, "wrong" version (3.0) and "wrong" platform (wxOSX/Cocoa) of wxWidgets...
I suppose you could have used the WX_2_8_BRANCH in the svn too, but not the trunk.
You'll need 2.8 and wxMac for Code::Blocks to work "out of the box". Otherwise
it (and deps) needs updating to support the newer version and the new platform.
First it needs to be made to work against the (preliminary) API of the 2.9 versions,
and then it needs something like: #if defined(__WXMAC__) || defined(__WXCOCOA__)
PS. Note that wxMac only works in 32-bit mode, which is what I was saying above.
Not a major problem, as GUI doesn't need 64-bit and wxCocoa is in an "alpha" stage.
It's possible to make a Code::Blocks version that works with 2.9.0 wxCocoa as well,
but there are more important and useful things to add to the Mac OS X version I think ?
roxlu:
Hi afb!
Thanks for your reply! Tonight I'll try and get a compilation working!
And indeed there are more important things to fix! I'm not sure, but I noticed some
shortcut key differences but I'll look into that.
Roxlu
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version