Re: [hatari-devel] Next Hatari release for OSX

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


I use CAPSImage and SDL as frameworks, libpng and libportaudio through Macports. cmake finds everything on my system and I do not need to edit any source files to find includes.

/Troed

On Thu, Jun 11, 2015 at 4:24 PM, Jerome Vernet <vernet.jerome@xxxxxxxxxx> wrote:
Hi again,

I'm working on having good and working frameworks for building Hatari
under MacOsX. It's cleaner, everything in one package, headers, binary.

So far, I have a CAPSImage V5 ou V4 framework and a Portaudio framework.
SDL is OK.


But i have 2 problems:
- cmake system cannot find these frameworks headers, except for SDL

../configure output:
....
-- Could NOT find PORTAUDIO (missing:  PORTAUDIO_LIBRARY
PORTAUDIO_INCLUDE_DIR)
-- Could NOT find CAPSIMAGE (missing:  CAPSIMAGE_LIBRARY)
....

I still do not speak cmake very well.... Need help.

- and, on MacOsX, to find headers included in framework, you need to use
#incluse <frameworkname/frameworkname.h>

So that's why for CAPSImage, #include <caps/fdc.h> or #include
"portaudio.h" do not work (more over, there is an fdc.h header in Hatari....
This have to be changed in some place.


For Bob, I think it work because you have headers somewhere else. Troed
do not use frameworks so it works the Unix way with headers in
/opt/local/include or something like that.


Jerome







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