Author Topic: Compiling on Mac OS X - 64 bit  (Read 5736 times)

Offline shaneknysh

  • Single posting newcomer
  • *
  • Posts: 3
Compiling on Mac OS X - 64 bit
« on: December 13, 2012, 05:39:08 am »
I am trying to compile from source for FLTK development on Mac OS X using 64 bit libraries.

I've built the wxWidgets using the 64 but arch and the cocoa options - and installed it but when I try to make the Code::Blocks source I receive an error similar to the one reported here: http://forums.codeblocks.org/index.php/topic,11379.msg77580.html#msg77580

I've tried to changing line 39 in configmanager.cpp to point to the new location of cfstring.h header file but then the make returns an error of:
onfigmanager.cpp: In function 'wxString<unnamed>::DetermineResourcesPath()':
configmanager.cpp:125: error: 'wxMacCFStringHolder' was not declared in this scope

Any advice?

Offline Smirftsch

  • Multiple posting newcomer
  • *
  • Posts: 22
Re: Compiling on Mac OS X - 64 bit
« Reply #1 on: January 23, 2013, 07:58:53 am »
was changing the include to:

#include "wx/osx/core/cfstring.h"

and  'wxMacCFStringHolder' to wxCFStringRef

that seemed to do the trick. I have to admit that I didn't spend much time on investigating it, it seemed to be the first fitting choice. But maybe it helps someone else.
Now I'm stuck at startup with some wxWidgets assert which blocks me entirely since I'm not able to click it away, the window has no focus. Not sure when I will have the time to find out more.

assert 'item' failed in Enable(): attempt to enable an item which doesn't exist.

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: Compiling on Mac OS X - 64 bit
« Reply #2 on: January 23, 2013, 07:05:14 pm »
Same story here. I haven't investigated any further.

Link to my thread.