User forums > Help

When will we get Code::Blocks for Mac OS X?

<< < (9/12) > >>

Pecan:

--- Quote from: bnilsson on July 17, 2006, 08:50:56 pm ---<snip>
...I get a window "Scripting Error" Error compiling script, Error code -17(INVALID CONFIGURATION) any you answered that Angelscript wasn't supported yet.

--- End quote ---

AngelScript is no longer used. I thought you were using SVN.
Anyway, getting the error in the first place is a feather in your hat.


--- Quote ---In /opt/local/lib I see only wx-dylibs. Does wxwidgets never use static libraries?

--- End quote ---

CB only uses dynamic libraries. You can build and use static monolithic libs for your own projects. That is the suggested method for distributing your own Mac apps.


--- Quote ---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?

--- End quote ---

I have never succeeded building wxMac263 on 10.4. So I couldn't build CodeBlocks. I think using a non-default Mac SDK will solve this problem. I suspect wxMac requires SDK3.3, but don't quote me. It's on the todo list. 

I am very successful with Codeblocks on 10.3. No problems. I'm currently trying to find the glitches in wxMac Unicode and keep up with the core developers' changes.

Once I get unicode wx/CB stable, I'll tackle 10.4
 
All of us would be interested in your autotool experience.
Could you do a "1,2,3 steps to success" report?

bnilsson:
I will report whatever success I might have.
Still I am problem whithe last stage in make, lots of unrecognized wx symbols.
However, I will be away for vacation now for 3 weeks, so I will be silent for a while.

Thanks for all your interest ans support, i'll be back.

bnilsson:
A temporary report on autotools before I leave:

The bootstrap script requires the following versions of autotools etc.
#  - autoconf 2.50+
#  - automake 1.7+
#  - libtool 1.4+
which is not what Apple darwin has as installed. I have 10.4.7 and the latest Xcode tools, so this is a bit surprising, or I missed something.

Install darwinports (http://www.darwinports.org)
and do
port install autoconf
port install automake
port install libtool (which is accessed by the name of glibtool and glibtoolize)

All of these are installed at /opt/local/bin.

I don't want to interfere with the system I do not touch the native versions. and I also skip changing the path order for now.
Instead I change the 'bootstrap' file, see bootstrap.txt:



So I run the bootstrap script:

[Tiger:OpenSource/CBtest/trunk] bnilsson% ./bootstrap
You should add the contents of `/opt/local/share/aclocal/libtool.m4' to `aclocal.m4'.
/opt/local/share/aclocal/xmms.m4:17: warning: underquoted definition of XMMS_TEST_VERSION
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/opt/local/share/aclocal/xmms.m4:62: warning: underquoted definition of AM_PATH_XMMS
/opt/local/share/aclocal/smpeg.m4:13: warning: underquoted definition of AM_PATH_SMPEG
/opt/local/share/aclocal/libmikmod.m4:11: warning: underquoted definition of AM_PATH_LIBMIKMOD
/opt/local/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/opt/local/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
/opt/local/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE
configure.in: installing `./install-sh'
configure.in: installing `./missing'
src/plugins/astyle/Makefile.am: installing `./depcomp'

I cannot judge wether the warnings are serious.
At the top I get an order to do something about aclocal.m4, so I do as I'm told:

[Tiger:OpenSource/CBtest/trunk] bnilsson% cat aclocal.m4 /opt/local/share/aclocal/libtool.m4 > aclocal.m4

[Tiger:OpenSource/CBtest/trunk] bnilsson%

Run it again:

[Tiger:OpenSource/CBtest/trunk] bnilsson% ./bootstrap
/opt/local/share/aclocal/xmms.m4:17: warning: underquoted definition of XMMS_TEST_VERSION
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/opt/local/share/aclocal/xmms.m4:62: warning: underquoted definition of AM_PATH_XMMS
/opt/local/share/aclocal/smpeg.m4:13: warning: underquoted definition of AM_PATH_SMPEG
/opt/local/share/aclocal/libmikmod.m4:11: warning: underquoted definition of AM_PATH_LIBMIKMOD
/opt/local/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/opt/local/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
/opt/local/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE
[Tiger:OpenSource/CBtest/trunk] bnilsson%

Now configure and Makefile are created.
configure and make behaves as expected.
Well, not quite, since make never succeeds since it does not link properly to wxwidgets, lots of unresolved wx symbols.
I cannot tell wether this is another problem or if it actually is because of a problem in the autotools.

Bye for now.

bnilsson:
Sorry, it seems I am not able to upload bootstrap.txt, upload folder is full.
And I get 404 error no access when I try to introduce it into the text body.
So it has to wait to next time, see you then.

Pecan:

--- Quote from: bnilsson on July 19, 2006, 09:36:46 am ---Sorry, it seems I am not able to upload bootstrap.txt, upload folder is full.
And I get 404 error no access when I try to introduce it into the text body.
So it has to wait to next time, see you then.


--- End quote ---

Thanks, and have a nice vacation.

Because the forum file area fills up frequently, many of us have found it best to upload to http://savefile.com/ and reference the files via url in a forum message.

thanks again
pecan

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version