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

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


@Bob: Yes, that seems to fix the problem. I noticed that my build compared to Jerome's build is many times slower and unstable. No idea, why :-(

@Jerome: From your post I understand that you don't use the cmake system? 

-------- Original-Nachricht --------
> Datum: Sat, 14 Jan 2012 18:12:58 -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 did not realize the monitor change would work if you used the
> SDL menu. Good catch. Anyway, I found the problem to be related to the
> version of the SDL framework I was using (pre-release version of 1.2.15).
> As soon as I reverted to the SDL framework that Jerome created for 1.5, I
> was able to switch monitors, system types, or anything else that required
> the emulator to be reset. I was able to do this using the normal Mac
> preference menu.
> 
> 
> Bob C
> 
> On Sat, Jan 14, 2012 at 4:52 PM, Stefan Meier <stefan_meier99@xxxxxx>
> wrote:
> 
> >
> > Hi,
> >
> > @Bob: Ok, you convinced me to give it another try :-) Yes, the missing
> > images are because of libraries that are installed on my system, but
> didn't
> > get correctly referenced in the bundle. Especially the portaudio lib is
> > quite picky. If I havn't overseen something, all the libs should be
> > contained in the bundle with correct references now. I have updated the
> dmg
> > once more, so if you like you can give it another try. (The build should
> > include SDL, libpng and portaudio). BTW, I can confirm that Hatari hangs
> > when changing the screen mode and resetting (does not happen when using
> the
> > SDL dialog), but so far I have no idea why it is crashing.
> >
> > @Jerome: Like Bob I used cmake to generate the xcode project file.
> Before
> > running cmake I compiled and installed portaudio, so the cmake script
> can
> > detect it. From all the included targets I am only using "hatari" so
> far. I
> > agree that working with frameworks instead of the plain libraries would
> > make some parts easier, especially with the bundling, but it might be
> > necessary to build the frameworks on our own. The libpng framework is
> used
> > is slightly outdated, the only portaudio framework I found was too old
> for
> > hatari.
> >
> > Stefan
> >
> > -------- Original-Nachricht --------
> > > Datum: Sat, 14 Jan 2012 12:24:50 -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 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.
> > >
> > > 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/