public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* undetectable libraries
@ 2020-08-27 22:51 Juan carlos Rebate
  2020-08-27 23:07 ` Yasuhiro KIMURA
  2020-08-29  8:26 ` Hans-Bernhard Bröker
  0 siblings, 2 replies; 9+ messages in thread
From: Juan carlos Rebate @ 2020-08-27 22:51 UTC (permalink / raw)
  To: cygwin

good evening, I have a strange problem, I try to compile code that
uses gtk3 and sdl2 in addition to curl, the problem is that when I
invoke the gcc compiler it tells me that sdl2-devel and libcurl are
not installed, but actually yes are.
./configure --cross-prefix=x86_64-w64-mingw32- --enable-sdl
--enable-gtk --enable-curl
I'm not sure if they allow to send screenshot to show windows of the
cygwin package installer so they can see the installed packages. How
could I find the variable and add it to compile?

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: undetectable libraries
  2020-08-27 22:51 undetectable libraries Juan carlos Rebate
@ 2020-08-27 23:07 ` Yasuhiro KIMURA
  2020-08-27 23:40   ` Juan carlos Rebate
  2020-08-29  8:26 ` Hans-Bernhard Bröker
  1 sibling, 1 reply; 9+ messages in thread
From: Yasuhiro KIMURA @ 2020-08-27 23:07 UTC (permalink / raw)
  To: cygwin

From: Juan carlos Rebate via Cygwin <cygwin@cygwin.com>
Subject: undetectable libraries
Date: Fri, 28 Aug 2020 00:51:41 +0200

> good evening, I have a strange problem, I try to compile code that
> uses gtk3 and sdl2 in addition to curl, the problem is that when I
> invoke the gcc compiler it tells me that sdl2-devel and libcurl are
> not installed, but actually yes are.
> ./configure --cross-prefix=x86_64-w64-mingw32- --enable-sdl
> --enable-gtk --enable-curl
> I'm not sure if they allow to send screenshot to show windows of the
> cygwin package installer so they can see the installed packages. How
> could I find the variable and add it to compile?

Did you install packages such as libcurl-devel, libgtk3-devel and
libSDL2-devel?

---
Yasuhiro KIMURA

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: undetectable libraries
  2020-08-27 23:07 ` Yasuhiro KIMURA
@ 2020-08-27 23:40   ` Juan carlos Rebate
  2020-08-28  3:29     ` Brian Inglis
  2020-08-29  6:12     ` Yasuhiro KIMURA
  0 siblings, 2 replies; 9+ messages in thread
From: Juan carlos Rebate @ 2020-08-27 23:40 UTC (permalink / raw)
  To: cygwin

yes mingw64-x86_64-gtk3
mingw64-x86_64-sdl2
sdl2-devel
libcurl-devel

El vie., 28 ago. 2020 a las 1:10, Yasuhiro KIMURA (<yasu@utahime.org>) escribió:
>
> From: Juan carlos Rebate via Cygwin <cygwin@cygwin.com>
> Subject: undetectable libraries
> Date: Fri, 28 Aug 2020 00:51:41 +0200
>
> > good evening, I have a strange problem, I try to compile code that
> > uses gtk3 and sdl2 in addition to curl, the problem is that when I
> > invoke the gcc compiler it tells me that sdl2-devel and libcurl are
> > not installed, but actually yes are.
> > ./configure --cross-prefix=x86_64-w64-mingw32- --enable-sdl
> > --enable-gtk --enable-curl
> > I'm not sure if they allow to send screenshot to show windows of the
> > cygwin package installer so they can see the installed packages. How
> > could I find the variable and add it to compile?
>
> Did you install packages such as libcurl-devel, libgtk3-devel and
> libSDL2-devel?
>
> ---
> Yasuhiro KIMURA
> --
> Problem reports:      https://cygwin.com/problems.html
> FAQ:                  https://cygwin.com/faq/
> Documentation:        https://cygwin.com/docs.html
> Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: undetectable libraries
  2020-08-27 23:40   ` Juan carlos Rebate
@ 2020-08-28  3:29     ` Brian Inglis
  2020-08-28 21:08       ` Juan carlos Rebate
  2020-08-29  6:12     ` Yasuhiro KIMURA
  1 sibling, 1 reply; 9+ messages in thread
From: Brian Inglis @ 2020-08-28  3:29 UTC (permalink / raw)
  To: cygwin

On 2020-08-27 17:40, Juan carlos Rebate via Cygwin wrote:
> El vie., 28 ago. 2020 a las 1:10, Yasuhiro KIMURA escribió:
>> On Fri, 28 Aug 2020 00:51:41 +0200, Juan carlos Rebate via Cygwin wrote:

>>> good evening, I have a strange problem, I try to compile code that
>>> uses gtk3 and sdl2 in addition to curl, the problem is that when I
>>> invoke the gcc compiler it tells me that sdl2-devel and libcurl are
>>> not installed, but actually yes are.
>>> ./configure --cross-prefix=x86_64-w64-mingw32- --enable-sdl
>>> --enable-gtk --enable-curl
>>> I'm not sure if they allow to send screenshot to show windows of the
>>> cygwin package installer so they can see the installed packages. How
>>> could I find the variable and add it to compile?

>> Did you install packages such as libcurl-devel, libgtk3-devel and
>> libSDL2-devel?

> yes mingw64-x86_64-gtk3
> mingw64-x86_64-sdl2
> sdl2-devel
> libcurl-devel

Check what Cygwin packages exist (allows EREs) on Cygwin site:

$ cygcheck -p libgtk[1-9].*-devel
Found 8 matches for libgtk[1-9].*-devel
libgtk1.2-devel-1.2.10-12 - libgtk1.2-devel: Gimp Toolkit GUI library (version
1.2) (installed binaries and support file
s)
libgtk1.2-devel-1.2.10-13 - libgtk1.2-devel: Gimp Toolkit GUI library (version
1.2) (installed binaries and support file
s)
libgtk2.0-devel-2.24.30-1 - libgtk2.0-devel: GTK+ X11 GUI toolkit (development)
(installed binaries and support files)
libgtk2.0-devel-2.24.31-1 - libgtk2.0-devel: GTK+ X11 GUI toolkit (development)
(installed binaries and support files)
libgtk2.0-devel-2.24.32-1 - libgtk2.0-devel: GTK+ X11 GUI toolkit (development)
libgtk3-devel-3.22.15-1 - libgtk3-devel: GTK+ X11 GUI toolkit (development)
libgtk3-devel-3.22.20-1 - libgtk3-devel: GTK+ X11 GUI toolkit (development)
libgtk3-devel-3.22.28-1 - libgtk3-devel: GTK+ X11 GUI toolkit (development)

Check if Cygwin package (exact name) installed and status of installed files:

$ cygcheck -c libgtk3-devel
Cygwin Package Information
Package              Version        Status
libgtk3-devel        3.22.28-1      OK

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in IEC units and prefixes, physical quantities in SI.]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: undetectable libraries
  2020-08-28  3:29     ` Brian Inglis
@ 2020-08-28 21:08       ` Juan carlos Rebate
  2020-08-29  5:44         ` Brian Inglis
  0 siblings, 1 reply; 9+ messages in thread
From: Juan carlos Rebate @ 2020-08-28 21:08 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 2956 bytes --]

In the images that I have attached to this email you can see how the
packages are installed, I have always installed them this way and I
have never had failures

El vie., 28 ago. 2020 a las 5:30, Brian Inglis
(<Brian.Inglis@systematicsw.ab.ca>) escribió:
>
> On 2020-08-27 17:40, Juan carlos Rebate via Cygwin wrote:
> > El vie., 28 ago. 2020 a las 1:10, Yasuhiro KIMURA escribió:
> >> On Fri, 28 Aug 2020 00:51:41 +0200, Juan carlos Rebate via Cygwin wrote:
>
> >>> good evening, I have a strange problem, I try to compile code that
> >>> uses gtk3 and sdl2 in addition to curl, the problem is that when I
> >>> invoke the gcc compiler it tells me that sdl2-devel and libcurl are
> >>> not installed, but actually yes are.
> >>> ./configure --cross-prefix=x86_64-w64-mingw32- --enable-sdl
> >>> --enable-gtk --enable-curl
> >>> I'm not sure if they allow to send screenshot to show windows of the
> >>> cygwin package installer so they can see the installed packages. How
> >>> could I find the variable and add it to compile?
>
> >> Did you install packages such as libcurl-devel, libgtk3-devel and
> >> libSDL2-devel?
>
> > yes mingw64-x86_64-gtk3
> > mingw64-x86_64-sdl2
> > sdl2-devel
> > libcurl-devel
>
> Check what Cygwin packages exist (allows EREs) on Cygwin site:
>
> $ cygcheck -p libgtk[1-9].*-devel
> Found 8 matches for libgtk[1-9].*-devel
> libgtk1.2-devel-1.2.10-12 - libgtk1.2-devel: Gimp Toolkit GUI library (version
> 1.2) (installed binaries and support file
> s)
> libgtk1.2-devel-1.2.10-13 - libgtk1.2-devel: Gimp Toolkit GUI library (version
> 1.2) (installed binaries and support file
> s)
> libgtk2.0-devel-2.24.30-1 - libgtk2.0-devel: GTK+ X11 GUI toolkit (development)
> (installed binaries and support files)
> libgtk2.0-devel-2.24.31-1 - libgtk2.0-devel: GTK+ X11 GUI toolkit (development)
> (installed binaries and support files)
> libgtk2.0-devel-2.24.32-1 - libgtk2.0-devel: GTK+ X11 GUI toolkit (development)
> libgtk3-devel-3.22.15-1 - libgtk3-devel: GTK+ X11 GUI toolkit (development)
> libgtk3-devel-3.22.20-1 - libgtk3-devel: GTK+ X11 GUI toolkit (development)
> libgtk3-devel-3.22.28-1 - libgtk3-devel: GTK+ X11 GUI toolkit (development)
>
> Check if Cygwin package (exact name) installed and status of installed files:
>
> $ cygcheck -c libgtk3-devel
> Cygwin Package Information
> Package              Version        Status
> libgtk3-devel        3.22.28-1      OK
>
> --
> Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
>
> This email may be disturbing to some readers as it contains
> too much technical detail. Reader discretion is advised.
> [Data in IEC units and prefixes, physical quantities in SI.]
> --
> Problem reports:      https://cygwin.com/problems.html
> FAQ:                  https://cygwin.com/faq/
> Documentation:        https://cygwin.com/docs.html
> Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

[-- Attachment #2: cap1.PNG --]
[-- Type: image/png, Size: 32199 bytes --]

[-- Attachment #3: cap2.PNG --]
[-- Type: image/png, Size: 34239 bytes --]

[-- Attachment #4: cap4.PNG --]
[-- Type: image/png, Size: 35926 bytes --]

[-- Attachment #5: cap3.PNG --]
[-- Type: image/png, Size: 24572 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: undetectable libraries
  2020-08-28 21:08       ` Juan carlos Rebate
@ 2020-08-29  5:44         ` Brian Inglis
  0 siblings, 0 replies; 9+ messages in thread
From: Brian Inglis @ 2020-08-29  5:44 UTC (permalink / raw)
  To: cygwin

On 2020-08-28 15:08, Juan carlos Rebate via Cygwin wrote:
> El vie., 28 ago. 2020 a las 5:30, Brian Inglis
> (<Brian.Inglis@systematicsw.ab.ca>) escribió:
>>
>> On 2020-08-27 17:40, Juan carlos Rebate via Cygwin wrote:
>>> El vie., 28 ago. 2020 a las 1:10, Yasuhiro KIMURA escribió:
>>>> On Fri, 28 Aug 2020 00:51:41 +0200, Juan carlos Rebate via Cygwin wrote:
>>
>>>>> good evening, I have a strange problem, I try to compile code that
>>>>> uses gtk3 and sdl2 in addition to curl, the problem is that when I
>>>>> invoke the gcc compiler it tells me that sdl2-devel and libcurl are
>>>>> not installed, but actually yes are.
>>>>> ./configure --cross-prefix=x86_64-w64-mingw32- --enable-sdl
>>>>> --enable-gtk --enable-curl
>>>>> I'm not sure if they allow to send screenshot to show windows of the
>>>>> cygwin package installer so they can see the installed packages. How
>>>>> could I find the variable and add it to compile?
>>
>>>> Did you install packages such as libcurl-devel, libgtk3-devel and
>>>> libSDL2-devel?
>>
>>> yes mingw64-x86_64-gtk3
>>> mingw64-x86_64-sdl2
>>> sdl2-devel
>>> libcurl-devel
>>
>> Check what Cygwin packages exist (allows EREs) on Cygwin site:
>>
>> $ cygcheck -p libgtk[1-9].*-devel
>> Found 8 matches for libgtk[1-9].*-devel
>> libgtk1.2-devel-1.2.10-12 - libgtk1.2-devel: Gimp Toolkit GUI library (version
>> 1.2) (installed binaries and support file
>> s)
>> libgtk1.2-devel-1.2.10-13 - libgtk1.2-devel: Gimp Toolkit GUI library (version
>> 1.2) (installed binaries and support file
>> s)
>> libgtk2.0-devel-2.24.30-1 - libgtk2.0-devel: GTK+ X11 GUI toolkit (development)
>> (installed binaries and support files)
>> libgtk2.0-devel-2.24.31-1 - libgtk2.0-devel: GTK+ X11 GUI toolkit (development)
>> (installed binaries and support files)
>> libgtk2.0-devel-2.24.32-1 - libgtk2.0-devel: GTK+ X11 GUI toolkit (development)
>> libgtk3-devel-3.22.15-1 - libgtk3-devel: GTK+ X11 GUI toolkit (development)
>> libgtk3-devel-3.22.20-1 - libgtk3-devel: GTK+ X11 GUI toolkit (development)
>> libgtk3-devel-3.22.28-1 - libgtk3-devel: GTK+ X11 GUI toolkit (development)
>>
>> Check if Cygwin package (exact name) installed and status of installed files:
>>
>> $ cygcheck -c libgtk3-devel
>> Cygwin Package Information
>> Package              Version        Status
>> libgtk3-devel        3.22.28-1      OK

> In the images that I have attached to this email you can see how the
> packages are installed, I have always installed them this way and I
> have never had failures
...that you have noticed, so far.

That's unusual, as we have probably all had issues at some point with some
package install, that we have had to remove and reinstall to fix, if we have
installed and upgraded enough packages over a long enough period of time.
Setup is normally reliable, but networks sometimes are not, and problems
occasionally occur syncing some package mirror directories, or downloading the
packages.

The question is do you have libgtk*-devel installed and what is the *current*
package status of that and the other prerequisites?

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in IEC units and prefixes, physical quantities in SI.]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: undetectable libraries
  2020-08-27 23:40   ` Juan carlos Rebate
  2020-08-28  3:29     ` Brian Inglis
@ 2020-08-29  6:12     ` Yasuhiro KIMURA
  2020-08-29  7:33       ` Marco Atzeri
  1 sibling, 1 reply; 9+ messages in thread
From: Yasuhiro KIMURA @ 2020-08-29  6:12 UTC (permalink / raw)
  To: cygwin

From: Juan carlos Rebate via Cygwin <cygwin@cygwin.com>
Subject: Re: undetectable libraries
Date: Fri, 28 Aug 2020 01:40:46 +0200

> yes mingw64-x86_64-gtk3
> mingw64-x86_64-sdl2
> sdl2-devel
> libcurl-devel

Then my next suggestion is to provide more information about your
problem. For example,

* What software are you trying to build? Do you write it by yourself?
  Or are you trying to build one that is distributed somewhere?
* It seems configure script is used. Then what outputs are displayed
  when you run it?

---
Yasuhiro KIMURA

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: undetectable libraries
  2020-08-29  6:12     ` Yasuhiro KIMURA
@ 2020-08-29  7:33       ` Marco Atzeri
  0 siblings, 0 replies; 9+ messages in thread
From: Marco Atzeri @ 2020-08-29  7:33 UTC (permalink / raw)
  To: cygwin

On 29.08.2020 08:12, Yasuhiro KIMURA wrote:
> From: Juan carlos Rebate via Cygwin 
> Subject: Re: undetectable libraries
> Date: Fri, 28 Aug 2020 01:40:46 +0200
> 
>> yes mingw64-x86_64-gtk3
>> mingw64-x86_64-sdl2
>> sdl2-devel
>> libcurl-devel
> 
> Then my next suggestion is to provide more information about your
> problem. For example,
> 
> * What software are you trying to build? Do you write it by yourself?
>    Or are you trying to build one that is distributed somewhere?
> * It seems configure script is used. Then what outputs are displayed
>    when you run it?
> 
> ---

In addition to Yasushiro suggesstion,
the config.log is a good starting point

For what I see there is no

   mingw64-x86_64-curl

in your list so that is likely a blocking point

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: undetectable libraries
  2020-08-27 22:51 undetectable libraries Juan carlos Rebate
  2020-08-27 23:07 ` Yasuhiro KIMURA
@ 2020-08-29  8:26 ` Hans-Bernhard Bröker
  1 sibling, 0 replies; 9+ messages in thread
From: Hans-Bernhard Bröker @ 2020-08-29  8:26 UTC (permalink / raw)
  To: Juan carlos Rebate, cygwin

Am 28.08.2020 um 00:51 schrieb Juan carlos Rebate via Cygwin:

> good evening, I have a strange problem, I try to compile code that
> uses gtk3 and sdl2 in addition to curl, 

Would you mind revealing what code that is?

> the problem is that when I
> invoke the gcc compiler it tells me that sdl2-devel and libcurl are
> not installed, but actually yes are.

I'm pretty sure that GCC would never tell you those particular things. 
It would tell you which files it cannot find, but not which package 
they're supposed to be from.

> ./configure --cross-prefix=x86_64-w64-mingw32- --enable-sdl
> --enable-gtk --enable-curl

That configure call looks strange, particularly the --cross-prefix part. 
The usual way of asking configure to build for a target platform other 
than the build host would look more like this:

   ./configure --host=x86_64-w64-mingw32

The actual output from your configure run, and/or the generated 
config.log file would almost certainly be more helpful than further 
speculation about the details of cygwin setup usage.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-08-29  8:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-27 22:51 undetectable libraries Juan carlos Rebate
2020-08-27 23:07 ` Yasuhiro KIMURA
2020-08-27 23:40   ` Juan carlos Rebate
2020-08-28  3:29     ` Brian Inglis
2020-08-28 21:08       ` Juan carlos Rebate
2020-08-29  5:44         ` Brian Inglis
2020-08-29  6:12     ` Yasuhiro KIMURA
2020-08-29  7:33       ` Marco Atzeri
2020-08-29  8:26 ` Hans-Bernhard Bröker

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).