Re: [hatari-devel] macOS: SDL 2.14 build issues and missing PRODUCT_BUNDLE_IDENTIFIER -> using SDL2's config for cmake |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] macOS: SDL 2.14 build issues and missing PRODUCT_BUNDLE_IDENTIFIER -> using SDL2's config for cmake
- From: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Sat, 24 Sep 2022 16:11:46 +0000
- Cc: Troed Sångberg <troed@xxxxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1664035909; bh=tBo3RMV/oSVfFXLrMhX6fxuN8FsR4HE7Vj455U76CxI=; h=Date:From:To:Cc:Subject:From; b=oKOD2TwvjVn6IZ2bSu+KA+OdzK8IB2Zbdn87qsy25cksvpRsfglclk6F2Wcai1woM H6IZxzZOuxL5zJtccNO1BBZ1SlSPNfErjwIkM/PnbKR4BdmL6x+yATtFcu+GjD5qlx PCxEXq4+9MlOaDkZlGzpA91uz2fObqxeZS/agdQ2bNQcK5SRLLrXbG+19BDTvZEOj7 rnvgy+Rq1i/KtKwWUApqayRfq3LwNi7ffhsjg9n07Iwo66f0Gy9kB7xg8v8vdtqQ6l VLC0FIklHyLB6kFApOuvfUu06bIQ344OXHfozsZ022KT+SRN+jhLviDETfpx/X7x9M fY6faqY75NM/A==
Am Sat, 24 Sep 2022 17:48:46 +0200
schrieb Nicolas Pomarède <npomarede@xxxxxxxxxxxx>:
[...]
> > As discussed off-list with Andreas, it seems like the additional
> > target_link_libraries() statements are still necessary for the
> > sub-libraries that we build. I've added them now, together with a
> > fix on macOS that occurred when compiling without the OSX bundeling,
> > so I hope we're fine now...
>
> just to confirm that after updating with these changes, I see no problem
> when compiling for linux and also no problem when using mingw to compile
> Windows 32 bit or 64 bit versions.
Thanks for checking!
> So, all our usual target for linux/windows/macos seem to work correctly
> with the official SDL's config for cmake.
Unfortunately, it seems like it broke Troed's macOS builds:
https://sync.wtf/hatari_macos/
However, the errors in the log look very weird, like:
In file included from /Users/troed/dev/hatari/src/debug/debugui.c:16:
In file included from /opt/local/include/SDL2/SDL.h:38:
In file included from /opt/local/include/SDL2/SDL_cpuinfo.h:86:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchai
n/usr/lib/clang/12.0.0/include/immintrin.h:14:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:50:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
No clue what is happening there ... Troed, do you maybe have an idea?
Thomas