Re: [hatari-devel] Hatari 1.6.1 test build for Mac OS X

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]




Envoyé de mon iPad

Le 14 janv. 2012 à 19:24, Bob Carpenter <bcripon89@xxxxxxxxx> a écrit :

Stefan,

I completely understand. It looks like the generated Xcode project is directly related to what frameworks are already on your Mac. Since I only have the SDL framework, it does not build the project with any other dependency.

I agree with you on Jerome's build. However, I wanted to have a backup Xcode project ready just in case he cannot replace his Macbook or does not have time in the future to do the compile.

Since I added the flags one at a time, it appears that the "Preprocessor Macros Not Used In Precompiled Headers" is the proper place to put the ALERT_HOOKS=1 to get the Mac alert boxes to appear.

Do you use CMAKE to generate the XCode Project? ALERT_HOOKS définition should be somewhere in the CMAKE files...


Thanks so much for your help with this.


Bob C

On Sat, Jan 14, 2012 at 11:21 AM, Stefan Meier <stefan_meier99@xxxxxx> wrote:
Hi Bob,

since Jerome has updated his build, I guess I can stop fiddling around with all the libraries. For the ALERT_HOOKS, I have added this in three places in the project build configuration (although or the other might be unnecessary):
Other C Flags: -DALERT_HOOKS=1
Preprocessor Macros: ALERT_HOOKS=1
Preprocessor Macros Not Used... : ALERT_HOOKS=1

I have attached the files, I changed for the YM Mixer options (uses a popup instead of radio buttons). They belong to the gui-osx folder.

Stefan

-------- Original-Nachricht --------
> Datum: Sat, 14 Jan 2012 07:24:47 -0600
> Von: Bob Carpenter <bcripon89@xxxxxxxxx>
> An: hatari-devel@xxxxxxxxxxxxxxxxxxx
> Betreff: Re: [hatari-devel] Hatari 1.6.1 test build for Mac OS X

> Stefan,
>
> Unfortunately, I receive another library error when I attempt to run your
> Hatari build.
>
> Dyld Error Message:
>   Library not loaded: /usr/local/lib/libportaudio.2.dylib
>   Referenced from: /Users/USER/Desktop/hatari.app/Contents/MacOS/Hatari
>   Reason: image not found
>
> I did find the libpng.framework from the website you mentioned after I
> sent
> my initial message.
>
> I would be interested in your code changes so that I can have the new
> preferences on the OS X screen. I am also very interested in how you
> configured your Xcode project to use the ALERT_HOOKS variable. I have
> tried
> entering -DALERT_HOOKS in the "Other C Flags" section, but the flags do
> not
> seem to be used during the compile.
>
>
> Bob C
>
> On Sat, Jan 14, 2012 at 6:32 AM, Stefan Meier <stefan_meier99@xxxxxx>
> wrote:
>
> >
> > Hi Bob,
> >
> > I hope to have all required libraries now included with the app.
> Uploaded
> > a new dmg (http://msmemorial.if-legends.org/Hatari1.6.1.dmg)
> >
> > Stefan
> >
> > -------- Original-Nachricht --------
> > > Datum: Sat, 14 Jan 2012 09:07:22 +0100
> > > Von: "Stefan Meier" <stefan_meier99@xxxxxx>
> > > An: hatari-devel@xxxxxxxxxxxxxxxxxxx
> > > Betreff: Re: [hatari-devel] Hatari 1.6.1 test build for Mac OS X
> >
> > >
> > > Hi Bob,
> > >
> > > Sorry for the error. The linpng library is missing from the build and
> it
> > > seems I have huge problems with linking it into the project. If you
> want
> > to
> > > give it another try, perhaps you can install the libpng framework? A
> > > comfortable package is available here:
> > > http://ethan.tira-thompson.com/Mac_OS_X_Ports.html
> > > From another post I guess, you have compiled hatari yourself for Mac?
> I
> > > could also send the patches I made to the controller for the
> additional
> > sound
> > > options, so you can exchange these in your own build project?
> > >
> > > Stefan
> > >
> > > -------- Original-Nachricht --------
> > > > Datum: Fri, 13 Jan 2012 19:02:54 -0600
> > > > Von: Bob Carpenter <bcripon89@xxxxxxxxx>
> > > > An: hatari-devel@xxxxxxxxxxxxxxxxxxx
> > > > Betreff: Re: [hatari-devel] Hatari 1.6.1 test build for Mac OS X
> > >
> > > > Stefan,
> > > >
> > > > I tried your Hatari application, but it crashes when I start it up.
> I
> > > > think
> > > > this is the relevant error message:
> > > >
> > > > Dyld Error Message:
> > > >   Library not loaded:
> > > >
> @executable_path/../Frameworks/libpng.framework/Versions/1.5.4/libpng
> > > >   Referenced from: /Users/USER/Desktop/Hatari
> > > > 1.6.1.app/Contents/MacOS/Hatari
> > > >   Reason: image not found
> > > >
> > > > I do run Lion so I can see if you have the correct SDL pre-release
> > > > framework.
> > > >
> > > >
> > > > Bob C
> > > >
> > > > On Fri, Jan 13, 2012 at 6:18 PM, Stefan Meier
> <stefan_meier99@xxxxxx>
> > > > wrote:
> > > >
> > > > > Hi everybody,
> > > > >
> > > > > while trying to add the ym mixer option to the config dialog I
> > noticed
> > > > > that Hatari 1.6.1 was released and quickly updated my project and
> > > built
> > > > the
> > > > > project on OS X. You can get the build here for testing:
> > > > > http://msmemorial.if-legends.org/Hatari1.6.1.dmg
> > > > > It should have OSX alert boxes, the SDL prerelease with the Lion
> fix
> > > (I
> > > > am
> > > > > on Snow Leopard, so I cannot test this) and an additional sound
> > option
> > > > in
> > > > > the prefereneces dialog for the mixer (but please bear with me if
> > > > anything
> > > > > doesn't work... I am anything else but an experienced osx coder,
> but
> > I
> > > > will
> > > > > try to fix it)
> > > > >
> > > > > Cheers,
> > > > > Stefan
> > > > >
> > > > >
> > > > >
> > > > >
> > >
> > >
> >
> >
> >



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/