Re: [hatari-devel] macOS: SDL 2.14 build issues and missing PRODUCT_BUNDLE_IDENTIFIER

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


Am Sun, 4 Sep 2022 09:03:53 +0200
schrieb Andreas Grabher <andreas_g86@xxxxxxxxxx>:

> > Am 21.08.2022 um 15:38 schrieb Thomas Huth <th.huth@xxxxxxxxx>:
> > 
> > Am Sun, 21 Aug 2022 12:35:27 +0200
> > schrieb Andreas Grabher <andreas_g86@xxxxxxxxxx>:
> >   
> >> Hello all,
> >> 
> >> I tried building Hatari after updating to SDL 2.14.0. Building seems to be broken with this latest version of SDL2. It seems they changed the internal linking by adding an SDL2 directory to all source files in SDL.h. Therefore the headers are no longer found (/Library/Frameworks/SDL2.framework/Headers/SDL.h:32:10: 'SDL2/SDL_main.h' file not found).  
> > 
> > Seems they added some sed statements here to add that SDL2/ folder:
> > 
> > https://github.com/libsdl-org/SDL/commit/41b9198515339d3a62f
> > 
> > No clue why they did that, though. It sounds like this will break a lot of
> > build systems...
> > 
> > Also no clue how to fix this properly ... do any macOS experts have a clue
> > here?
> >   
> It seems this patch fixes the issue with Previous. It should work the same way for Hatari: https://sourceforge.net/p/previous/code/1161/ <https://sourceforge.net/p/previous/code/1161/>

Thanks! But I have to admit that I don't understand that patch ... What do
these "::" statements mean? Is this a new CMake feature? I've never seen
these before, do you have a URL with an explanation for these at hand?

 Thomas



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