Hey ...
I work on my cross-compiler for MAC and ... he work, but ....
===> LD sim
/usr/i686-apple-darwin9/bin/i686-apple-darwin9-ld: Undefined symbols:
.objc_class_name_QTMovie
collect2: ld returned 1 exit status
make: *** [sim] Error 1
apple@kira ~/code $
Did somebody know this Problem and can help?
Ore can somebody, how has compile for a MAC, could help?
Werner
Compile with SDL, forget about quicktime. Edit makefile to use no_midi/SDL_sound.
I only use SDL in the config.default
Wich do oyu mean I must edit in the makefile?
Edit:
You mea the part:
# Core Audio (Quicktime) base sound system routines
SOURCES += sound/core-audio_sound.mm
SOURCES += music/core-audio_midi.mm
I testet now with
SOURCES += music/no_midi.cc
Edit2:
Sch ...
===> LD sim
/usr/i686-apple-darwin9/bin/i686-apple-darwin9-ld: Undefined symbols:
dr_load_sample(char const*)
dr_init_sound()
dr_play_sample(int, int)
collect2: ld returned 1 exit status
make: *** [sim] Error 1
Edit3:
Sorry .. to late for me today ;o)
I must use:
SOURCES += sound/sdl_sound.cc
SOURCES += music/no_midi.cc
Can somebody with a MAC test my Compilat on patches.simutrans-germany.com (http://patches.simutrans-germany.com)
But SDL for MAC must me install (see http://www.libsdl.org/ (http://www.libsdl.org/) or direkt download http://www.libsdl.org/release/SDL-1.2.13.dmg (http://www.libsdl.org/release/SDL-1.2.13.dmg)
Hi!
I tried the test-version for Intel-Macs (from patches.simutrans-germany.com), and at the moment, it works. Which build is the version from?
I build it yesterday, so it is the code from yesterday (08.05.)
Wich MAC-Version do you have?
When it works O.K. (and get enough feedback) I check if I could put it in the nightly-automatisation
Wernieman,
would there be any possibility of doing the same for Simutrans-Experimental, too? I currently don't have a Mac build for it.
... could be ...
But I need much many timne to compile normal simutrans .... so let test the Version and the "normal" automatisation and THEN we could speak about other ...
That makes sense :-)
Quote from: wernieman on May 08, 2009, 12:55:06 PM
1.) Wich MAC-Version do you have?
2.) When it works O.K. (and get enough feedback) I check if I could put it in the nightly-automatisation
1.) Mac OS X 10.5.6 (Leopard)
2.) This would be great!
Quote from: jamespettswould there be any possibility of doing the same for Simutrans-Experimental, too?
That would be even greater! ;)
I confirm that this solution works on OS X 10.5.6 (Macbook Core 2 Duo 2 GHz) for simutrans-experimental commit 4377904e781558eee66f467466bbb070586911e4. I support including these changes into the standard Makefile in both the regular and experimental simutrans trees.
Excellent - that makefile will be included in the next source upload of Simutrans-Experimental. Now, are there any volunteers for a Mac build of Simutrans-Experimental?
Btw, the exact Makefile I used (which jamespetts already has) is this one:
http://jtoomim.org/code/simutrans-fixed-makefile
Well, I would be a volunteer. I already tried compiling it but I had problems with the Makefile.
Wich problem do you get?
I use the "Normal" Makefile with a "litte Patch" in the sound part
MoTw,
can you compile using Jtoomim's makefile?
The standard Makefile did work using Xcode's gcc. What is exactly the problem? THe quicktime libraries should be available on a MAC.
(Of course crosscompiling is somethingelse.)
For my crosscompiling I do a simple Trick:
I do not patch the Makefile (o.k. I do it for the sound, but I hope that we can use a flag for this so I do not need it). The changes I need for the Directorys I do in the sdl.config-script.
Well, I don't really know how to handle the makefile - do I have to change things in it or do I have to write the right backend, the Colour_depths and the OS-type as an Option?
copy config.template to config.default
read remarks in the config.default
edit the config.default
make
Quote from: wernieman on May 18, 2009, 03:14:17 PM
copy config.template to config.default
read remarks in the config.default
edit the config.default
make
Do I have to delete the options which I won't use or what? That's the point I don't get.
lines starting with # will ignored, so in unwanted line write # at the beginning. Maybe you have to remove a # somewhere to activate that line.