Author Topic: Crashes with Code::Blocks 12.11 rev 8629 on Mac OSX  (Read 40323 times)

Offline erwincoumans

  • Single posting newcomer
  • *
  • Posts: 9
Re: Crashes with Code::Blocks 12.11 rev 8629 on Mac OSX
« Reply #15 on: December 28, 2012, 11:09:37 pm »
MacOSX10.6.sdk is not installed with the most up-to-date Xcode, only MacOSX10.7 and MacOSX10.8.

I'll wait until CodeBlocks supports wxWidgets 2.9 and learn how to use Xcode in the meanwhile.
« Last Edit: December 28, 2012, 11:11:32 pm by erwincoumans »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Crashes with Code::Blocks 12.11 rev 8629 on Mac OSX
« Reply #16 on: December 28, 2012, 11:46:17 pm »
But you can install older xcodes, I suppose.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Crashes with Code::Blocks 12.11 rev 8629 on Mac OSX
« Reply #17 on: December 29, 2012, 06:48:37 am »
To encourage contributors to help fixing CodeBlocks, please provide a self-contained source tarball that simply builds out-of-the-box.
Well we do that using autotools, or C::B itself.
The problem is that we have dependencies on third party libs that maybe not easily to be resolved by everybody:
- boost
- hunspell
- fam
If you know how to get these for the Mac - do this in advance, the dependency on wxWidgets is clear, I think.
But if you disable the plugins that make use of it (for me it was NassiShneidermann, SpellChecker, FileManageer) the build should just succeed. Then you have to build a package for which there was a script just posted recently which I am trying to understand (I am not an Mac user and never will be, so and this "App package foo" is new to me). But once ready, this script should just work.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Calexus

  • Multiple posting newcomer
  • *
  • Posts: 48
Re: Crashes with Code::Blocks 12.11 rev 8629 on Mac OSX
« Reply #18 on: January 18, 2013, 10:29:42 am »
About that, last time I tried to build codeblocks using the provided workspaces it would not work without quiet a bit of changes. From compiling to linking, missing headers and undefined defines, .dylib fils instead of .so files und so weiter. I don't know it has been updated since then, with the new release and all, but at least then building codeblocks was not that easy. And on top of that we have appels crappy version of wx, and probably some other stuff I have forgot about.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Crashes with Code::Blocks 12.11 rev 8629 on Mac OSX
« Reply #19 on: January 18, 2013, 10:48:44 am »
About that, last time I tried to build codeblocks using the provided workspaces it would not work without quiet a bit of changes.
It should work now just fine when building C::B using C::B and running the update and mac_pack script afterwards. Of course you need a wxWidgets compiled before. And yes, there have been changes recently to the build system and C::B itself to make it work.

instead of .so files und so weiter
LOL.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ