Re: [hatari-devel] Hatari 1.6.1 test build for Mac OS X |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
I need to share my changes (very little), change the nib files to xib files (text file rather than binary) so that we can work together on the Mac GUI.
I do not use the CMAKE System, i added -DALERT_HOOK in the 'other C Flags'
For the library, I use the standard libreadline libpng, libz and libjpeg winch come with the 10.6 SDK. They exist as Frameworks, somewhere on the net, also, wich may be a very good idea.
JV
Envoyé de mon iPad
Le 14 janv. 2012 à 18:21, "Stefan Meier" <stefan_meier99@xxxxxx> a écrit :
> 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
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>
>>>>
>>>
>>>
>>>
> <gui-osx.zip>