User forums > Help
Can't succeed to compile CB SVN against wxWidgets 2.8 under OSX 10.6.8 (solved)
Martin K.:
--- Quote from: stahta01 on December 11, 2012, 05:53:51 pm ---
--- Quote from: Martin K. on December 10, 2012, 10:01:02 pm ---I'am a little bit deeper on this.
The difference is something in the configure script. config.log of codeblocks configure notes:
configure:2226: checking build system type
configure:2244: result: x86_64-apple-darwin12.2.0
while config.log of wxwidgets configure notes:
configure:1725: checking build system type
configure:1743: result: i686-apple-darwin12.2.0
i gave the same flags to both. And here i'm totally lost, i know nothing about autoconf
Martin
--- End quote ---
From http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Mac_OS_X#FYI:_32-bit_or_64-bit
--- Code: ---mkdir x86-build
cd x86-build
../configure --host=i686-apple-darwin8 --target=i686-apple-darwin8 --with-contrib-plugins=all
cd ..
--- End code ---
What did you use for target? I would try "i686-apple-darwin12.2.0" for target and maybe for host.
Not sure what the host should be.
Tim S.
--- End quote ---
No, this does not help. The configure scripts are having no support for such a configuration. I cannot build a 1.6 targeted 32 bit codeblocks on a 10.8 64 Bit system. The wxWidgets configuration.in has such support, but i don't know how to insert it into the codeblocks configuration.in file.
some autoconf guru around here?
Martin
eranon:
Of course, you have to ensure that the library and the project using the library (here Codeblocks) have been built targetting the same architecture. So, did you use something related to the architecture (32-bit or 64-bit, Intel/Motorola PPC) in the framework of CFLAG/CXXFLAGS/LDFLAGS during configure of both wxWidgets and Code::Blocks (I mean something like "arch i386) ?
Second question : does OS X 10.8 still 32-bit able (don't know by myself since I'm under 10.6) ?
Navigation
[0] Message Index
[*] Previous page
Go to full version