Re: [hatari-devel] OS X devel compiled binary

[ Thread Index | Date Index | More Archives ]

I compiled a Mac binary of Hatari with today's sources for my own use, posting a link to it here if it's useful for someone else. It's compiled the same way as I do releases so it should work on 10.5 and up and requires no extra libraries to be installed to use.

I noticed using CMD-F to switch to fullscreen most often seemed to take "twice" (i.e, entering and exiting directly after). Using the menu to switch worked but then it was tricky to get back to windows mode again. Finally succeeded by pressing CMD-F-F quickly ...


On Wed, Nov 4, 2015 at 10:30 PM, Troed Sångberg <troed@xxxxxxxxxxx> wrote:
It's not complicated to add libraries to the binary instead of/in addition to Frameworks. I use both for the release builds I make, since Macports +universal is a good source for i386/x64 compiled libraries.

SDL & CAPSImage I use Frameworks for
libpng and portaudio I get through Macports

All other dependencies (AFAIK) exist on all Mac systems by default.

I've started to look at getting the manual build steps I do into CMake but I'm not sure it supports all the steps needed.


On Wed, Nov 4, 2015 at 10:18 PM, Jerome Vernet <vernet.jerome@xxxxxxxxxx> wrote:
Le 04/11/2015 00:38, Bob Carpenter a écrit :
> Anders,
> Yes, I have XQuartz installed on my system and it finds the PNG library when compiling Hatari. The release packages have been done by either Jerome or Troed. I am hopeful one of them will be able to do it again for the next release since they either embed a PNG framework or link the library inside of the OS X package.
> If I end up producing the release version, then I will definitely have to work out a way either for the cmake script to not detect my PNG library or find a way to embed it into Hatari itself. Normally, I just produce executables for my personal use until the official binary is released.

The only and good way to avoid these problems is to use only frameworks,
that will be embedded in the release.
cmake always use framework first if it find them in your
Library/Frameworks folder

Currently, I have those Frameworks:

CAPSImage (4.1)
Readline (5)
SDL or SDL2 Framework

I need to find a libz framework (there is)


Mail converted by MHonArc 2.6.19+