public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Takashi Yano <takashi.yano@nifty.ne.jp>
To: hatari-devel@lists.tuxfamily.org
Cc: cygwin@cygwin.com
Subject: Re: [hatari-devel] compilation failing for cygwin on cirrus CI
Date: Sat, 16 Sep 2023 23:18:36 +0900	[thread overview]
Message-ID: <20230916231836.bed03087e3296a8a70c27df5@nifty.ne.jp> (raw)
In-Reply-To: <20230916075352.74507b32@fedora>

On Sat, 16 Sep 2023 05:53:52 +0000
Thomas Huth wrote:
> Am Fri, 15 Sep 2023 15:00:37 +0200
> schrieb Nicolas Pomarède:
> 
> > 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?

Thanks for the report. I looked into this problem and found the cause.
I will release new SDL2 package where the issue has been fixed.

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

       reply	other threads:[~2023-09-16 14:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1c623fd6-7cd7-beaf-7ef3-a494d68ae04a@corp.free.fr>
     [not found] ` <20230916075352.74507b32@fedora>
2023-09-16 14:18   ` Takashi Yano [this message]
2023-09-22 18:51     ` Thomas Huth
2023-09-23 13:05       ` Takashi Yano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230916231836.bed03087e3296a8a70c27df5@nifty.ne.jp \
    --to=takashi.yano@nifty.ne.jp \
    --cc=cygwin@cygwin.com \
    --cc=hatari-devel@lists.tuxfamily.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).