User forums > Help
When will we get Code::Blocks for Mac OS X?
bnilsson:
Pecan,
I did not specify any directives except ./configure --enable-contrib
as described in BUILD.
[Tiger:~] bnilsson% wx-config --cflags
-I/opt/local/lib/wx/include/mac-unicode-release-2.6 -I/opt/local/include/wx-2.6 -D__WXMAC__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA
[Tiger:~] bnilsson% wx-config --libs
-L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -framework QuickTime -framework IOKit -framework Carbon -framework Cocoa -framework System -lwx_macu-2.6
[Tiger:~] bnilsson%
Pecan:
--- Quote from: bnilsson on July 17, 2006, 06:51:01 pm ---Pecan,
I did not specify any directives except ./configure --enable-contrib
as described in BUILD.
[Tiger:~] bnilsson% wx-config --cflags
-I/opt/local/lib/wx/include/mac-unicode-release-2.6 -I/opt/local/include/wx-2.6 -D__WXMAC__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA
[Tiger:~] bnilsson% wx-config --libs
-L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -framework QuickTime -framework IOKit -framework Carbon -framework Cocoa -framework System -lwx_macu-2.6
[Tiger:~] bnilsson%
--- End quote ---
I suspect somehow you ended up with an ansi CB build.
Can you do a "./configure --help" and see if you can specify the way CB is built. Eg, you might need "./configure --enable-shared --enable-monolithic --enable-unicode" or some such verbage in order to match CB to your wx libs.
I've never been able to make the autotools work on my 10.3, so I'm not much help here.
The trick is to generate CB to match the wx libs.
Also look at your config.log and config.status to see what it thought it was doing.
Pecan:
--- Quote from: bnilsson on July 17, 2006, 06:51:01 pm ---I did not specify any directives except ./configure --enable-contrib
as described in BUILD.
--- End quote ---
Have you seen this? It might help.
http://wiki.codeblocks.org/index.php?title=Compiling_Code::Blocks_in_Mac_OS_X
Also, check out:
http://forums.codeblocks.org/index.php?topic=2420.0
bnilsson:
Pecan,
Well, the link http://wiki.codeblocks.org/index.php?title=Compiling_Code::Blocks_in_Mac_OS_X just about describes what I am trying to do, pretty straight forward.
And about the link to the application, I have seens it.
Actually, you answered my question about a problem I had with it,
After unpacking, starting, and Ok on the compiler detection, I get a window "Scripting Error" Error compiling script, Error code -17(INVALID CONFIGURATION) any you answered that Angelscript wasn't supported yet.
I was hoping a new build would solve the issue, maybe.
I begin to think that my darwinports wxwidgets installation may me the problem.
In /opt/local/lib I see only wx-dylibs. Does wxwidgets never use static libraries?
I will try manual installation from wxMac or similar and try again.
Correct me if I am wrong, but it seems you (and many others) have succeded in building C::B on OS X?
If so, why do we have this problem?
Game_Ender:
--- Quote from: bnilsson on July 17, 2006, 08:50:56 pm ---Correct me if I am wrong, but it seems you (and many others) have succeded in building C::B on OS X?
If so, why do we have this problem?
--- End quote ---
There are only a few people who have compiled on Mac OS X and pecan doesn't do it on 10.4 he does it on 10.3.x if I remember correctly.
EDIT: By defualt ./configure does not configure in unicode mode. You have to use --enable-unicode.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version