Author Topic: Code::Blocks on Mountain Lion  (Read 14767 times)

Offline wford

  • Single posting newcomer
  • *
  • Posts: 3
Code::Blocks on Mountain Lion
« on: December 22, 2012, 12:04:33 am »
I have been using Codeblocks for several years and love the software. I now have a MacMini running Mountain Lion, and Codeblocks will not function properly for me, either 10.05 or 12.11. I have spent hours trying to compile a working version with no luck. As a result, I have had to switch to CodeLite which works well on Mountain Lion. Does anyone have any information as to when a reliable version of the software for Lion and Mountain Lion will be available?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Code::Blocks on Mountain Lion
« Reply #1 on: December 22, 2012, 07:45:14 am »
Does anyone have any information as to when a reliable version of the software for Lion and Mountain Lion will be available?
No. And saying "something doesn't work" is not very helpful, btw.. How shall we fix that "something" than?
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 wford

  • Single posting newcomer
  • *
  • Posts: 3
Re: Code::Blocks on Mountain Lion
« Reply #2 on: December 26, 2012, 12:32:44 am »
Two problems I have noted just today while using the OS X version 12.11.

1. While building a simple wxWidgets application, Code::Blocks crashed. I cannot deal with the error dialog produced by OS X. This happens frequently.

2. Code::Blocks crashes when quitting the application.

3. When using wxSmith, no scroll bar appears that allows the user to view the bottom portion of the resource.

NOTE: CodeLite works very well on Lion and Mountain Lion, so I am at a loss why the OS X build of Code::Blocks this faulty has been made available for download since 2010.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Code::Blocks on Mountain Lion
« Reply #3 on: December 26, 2012, 09:50:08 am »
Two problems I have noted just today while using the OS X version 12.11.
For me it worked pretty well if I disabled the following plugins:
- CodeCompletion
- Keymacs
- ThreadSearch

For CC, there is a couple of patches pending to be verified by a Mac Dev. Unfortunately at the moment we don't have any. The whole C::B core team does not have a Mac at all, so currently we are searching for supporters on the Mac.

To be honest: For me personally (so I am just talking for myself here!) Mac has not much priority. As a dev Apple is really throwing stones in your way that makes it impossible to seriously develop OpenSource products on that platform. MacOS seems the platform for money-makers, where OpenSource has no place unless you buy their products. But I simply won't buy an overpriced product that spies on me. Sorry, but no.

However, I am happy to assist/guide any dev willing to develop C::B on that platform.
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 wford

  • Single posting newcomer
  • *
  • Posts: 3
Re: Code::Blocks on Mountain Lion
« Reply #4 on: December 26, 2012, 10:17:22 pm »
Thank you for your candid reply. For now, I'll use CodeLite on OS X and check out Code::Blocks after a period of time.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Code::Blocks on Mountain Lion
« Reply #5 on: January 02, 2013, 09:01:46 pm »
Thank you for your candid reply. For now, I'll use CodeLite on OS X and check out Code::Blocks after a period of time.
FYI: I've released an updated version for the Mac (SP1) which works pretty well for me under OSX 10.6... including wxSmith.
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

jbanegas

  • Guest
Re: Code::Blocks on Mountain Lion
« Reply #6 on: January 02, 2013, 11:40:37 pm »
In 10.8 I can't even open the new version  :-\

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Code::Blocks on Mountain Lion
« Reply #7 on: January 03, 2013, 06:26:02 am »
In 10.8 I can't even open the new version  :-\
What is the error?
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

h0cked

  • Guest
Re: Code::Blocks on Mountain Lion
« Reply #8 on: January 03, 2013, 12:17:02 pm »
Can't open in Mountain Lion 10.8.2

Process:         CodeBlocks [69420]
Path:            /Users/USER/Downloads/CodeBlocks.app/Contents/MacOS/CodeBlocks
Identifier:      org.codeblocks.app
Version:         CodeBlocks version 12.11 (CodeBlocks version 12.11)
Code Type:       X86 (Native)
Parent Process:  launchd [137]
User ID:         501

Date/Time:       2013-01-03 05:15:54.710 -0600
OS Version:      Mac OS X 10.8.2 (12C60)
Report Version:  10

Interval Since Last Report:          294875 sec
Crashes Since Last Report:           10
Per-App Crashes Since Last Report:   4
Anonymous UUID:                      8E460601-D9D0-F20E-4575-AE9E0390D2B6

Crashed Thread:  0

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Library not loaded: /usr/lib/libwx_macu-2.8.0.dylib
  Referenced from: /Users/USER/Downloads/CodeBlocks.app/Contents/MacOS/CodeBlocks
  Reason: image not found

Binary Images:
    0x1000 -    0xf8ffb +org.codeblocks.app (CodeBlocks version 12.11 - CodeBlocks version 12.11) <0AA2CE36-3A8B-02D6-2177-813378DDD4D1> /Users/USER/Downloads/CodeBlocks.app/Contents/MacOS/CodeBlocks
0x8fef5000 - 0x8ff27e57  dyld (210.2.3) <23DBDBB1-1D21-342C-AC2A-0E55F27E6A1F> /usr/lib/dyld

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Code::Blocks on Mountain Lion
« Reply #9 on: January 03, 2013, 03:59:07 pm »
Dyld Error Message:
  Library not loaded: /usr/lib/libwx_macu-2.8.0.dylib
  Referenced from: /Users/USER/Downloads/CodeBlocks.app/Contents/MacOS/CodeBlocks
  Reason: image not found
Oh yes - I forgot about that once again...I'll fix it and report back. (It explains why it works for me.)
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 MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Code::Blocks on Mountain Lion
« Reply #10 on: January 03, 2013, 10:27:12 pm »
I'll fix it and report back.
OK - the package on Sourceforge is updated. BerliOS will take some time - this is a very lame server. But if you want to, grab it from Sourceforge. I'd be glad to hear if its working this time... and sorry for the inconvenience.
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 zephiris

  • Single posting newcomer
  • *
  • Posts: 2
Re: Code::Blocks on Mountain Lion
« Reply #11 on: January 16, 2013, 05:30:20 pm »
I'll fix it and report back.
OK - the package on Sourceforge is updated. BerliOS will take some time - this is a very lame server. But if you want to, grab it from Sourceforge. I'd be glad to hear if its working this time... and sorry for the inconvenience.

I downloaded CodeBlocks-12.11-SP1-mac.zip from sourceforge and am getting the same error as MortenMacFly.  I am running Mountain Lion (10.8.2) as well.

Code
Process:         CodeBlocks [10341]
Path:            /Applications/CodeBlocks.app/Contents/MacOS/CodeBlocks
Identifier:      org.codeblocks.app
Version:         CodeBlocks version 12.11 (CodeBlocks version 12.11)
Code Type:       X86 (Native)
Parent Process:  launchd [240]
User ID:         501

Date/Time:       2013-01-16 11:13:45.388 -0500
OS Version:      Mac OS X 10.8.2 (12C60)
Report Version:  10

Interval Since Last Report:          4659211 sec
Crashes Since Last Report:           290
Per-App Crashes Since Last Report:   4
Anonymous UUID:                      4858C6D9-9EB7-0961-9699-880ECE29E4A0

Crashed Thread:  0

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Library not loaded: /usr/lib/libwx_macu-2.8.0.dylib
  Referenced from: /Applications/CodeBlocks.app/Contents/MacOS/libcodeblocks.dylib
  Reason: image not found

Binary Images:
    0x1000 -    0xf8ffb +org.codeblocks.app (CodeBlocks version 12.11 - CodeBlocks version 12.11) <0AA2CE36-3A8B-02D6-2177-813378DDD4D1> /Applications/CodeBlocks.app/Contents/MacOS/CodeBlocks
  0x1a3000 -   0x77fff3 +libwx_macu-2.8.dylib (9) <FAE7287B-C418-921B-087F-A1A1CA807D57> /Applications/CodeBlocks.app/Contents/MacOS/libwx_macu-2.8.dylib
  0x9f4000 -   0xe95ffb +libcodeblocks.dylib (0) <CF358FB6-A656-8699-FB0A-313C4E38D2BF> /Applications/CodeBlocks.app/Contents/MacOS/libcodeblocks.dylib
 0x132f000 -  0x13bdffb +libwxpropgrid.dylib (0) <1E907220-B25A-EE73-F1EB-89A9B02EBEBA> /Applications/CodeBlocks.app/Contents/MacOS/libwxpropgrid.dylib
 0x145e000 -  0x157cff3  com.apple.WebKit (8536 - 8536.26.14) <C98F734D-D579-3F89-9A58-9EE890B1748E> /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
 0x162d000 -  0x1643ffc  libexpat.1.dylib (12) <D4F1FD2B-F75A-322C-843E-113EF5F8EEAF> /usr/lib/libexpat.1.dylib
 0x164c000 -  0x22dbff3  com.apple.WebCore (8536 - 8536.26.14) <82E97E6B-3F31-39A7-B41F-CD308E6EF238> /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/WebCore
0x8fedf000 - 0x8ff11e57  dyld (210.2.3) <23516BE4-29BE-350C-91C9-F36E7999F0F1> /usr/lib/dyld
0x90007000 - 0x9000efff  libsystem_dnssd.dylib (379.32.1) <6A505284-2382-3F27-B96F-15FFDACF004E> /usr/lib/system/libsystem_dnssd.dylib
0x90016000 - 0x9001affc  libGIF.dylib (845) <714E9F0D-D7A3-3F58-B46E-FCBE0F144B23> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
(cut for length)


Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Code::Blocks on Mountain Lion
« Reply #12 on: January 16, 2013, 08:05:30 pm »
I downloaded CodeBlocks-12.11-SP1-mac.zip from sourceforge
I tweaked it a little more - please try again the same archive, from sourceforge. BerliOS will have to wait a bit...

Please report back! Thanks! :)
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 zephiris

  • Single posting newcomer
  • *
  • Posts: 2
Re: Code::Blocks on Mountain Lion
« Reply #13 on: January 17, 2013, 12:22:20 am »
I downloaded CodeBlocks-12.11-SP1-mac.zip from sourceforge
I tweaked it a little more - please try again the same archive, from sourceforge. BerliOS will have to wait a bit...

Please report back! Thanks! :)

Tried your latest version and it loads now.  Thank you!

noder

  • Guest
Re: Code::Blocks on Mountain Lion
« Reply #14 on: January 19, 2013, 05:42:56 pm »
SP1 seemed to get Code::Blocks working on the sMac for me.

Thanks!