Re: [hatari-devel] compilation failing for cygwin on cirrus CI |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] compilation failing for cygwin on cirrus CI
- From: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Sat, 16 Sep 2023 05:53:52 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1694843635; bh=OMyYFKKivJtTzxgD6zKdUx388SijwOH88WMxmGFlLUU=; h=Date:From:To:Subject:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=R5K6Fd3797p90O4QWGnjSKg4qpxtmwZc0s3PTwn5t+5cJR9QmVsosSE3OeJ8BbPHo CqFxTVIWmWHd9OeIAg2IELK5FRDk7pMVuK++Mfw18eryI2w02OOirzFZ6L1it/QBr8 MWUVRQArE9+hQoOEKID+YxGfgZLhU5wZ6jwLpeE02MSnN1aLl0jRzib3eo5TIrfNhJ HrsvNizp8rkxKDrpDdX8xDlesWLTjcw+52EdwnhEbk+67j5bgcSZn7IUsx7TgXCor/ jolb9lT58SL6ot2cU37tDZpeCJMRNLhE/MLyw45JTZkpXg6CMNCnQ4Pl5IBkD90dlf iz5ZO/AWOBnyw==
Am Fri, 15 Sep 2023 15:00:37 +0200
schrieb Nicolas Pomarède <npomarede@xxxxxxxxxxxx>:
> Hi
>
> somewhere around libSDL2_2.0_0 went from 2.0.7-1 to 2.28.2-1 and since
> then the compilation is failing for the cigwin version :
>
> https://cirrus-ci.com/github/hatari/hatari
>
> -- Configuring done
> CMake Error at src/CMakeLists.txt:179 (target_link_libraries):
> Target "hatari" links to:
> SDL2::SDL2
> but the target was not found. Possible reasons include:
> * There is a typo in the target name.
> * A find_package call is missing for an IMPORTED target.
> * An ALIAS target is missing.
>
> I guess some files need to be updated to help cmake finding the library ?
Hi,
honestly, I don't have a clue what could have gone wrong here. The library
configuration now comes from the SDL2Config.cmake file that should be part
of the SDL2 package, i.e. the library is *not* located by Hatari anymore.
So if that fails now on cygwin, this smells like a bug in the SDL2 package
there to me. And since I don't have a Cygwin installation at hand, I have
also no means to debug this. Is there anybody else here on the list who
has a Cygwin installation and could have a look?
Thomas