delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/10/06/14:41:11

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=KOQulS949pD/RX9Q8GPdZY9idx2JAnKw5mDSyOvcFdh
FTobOERWzt/iIaRRn+o9DCjqrDulWUsuXJV85JDVHt7Va4igGMy9ViG83C2PDOG2
ZD/ayLIbI21/XIV7nf3wmgeT8BYaIJ1BjZy+upH5JxzQAf8toll0BKH1Lr+u57Ik
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=e46/uaqP6w3xBELnLaKX7szrHEQ=; b=ycSotokDlI3qU43vK
8Lpwm2xosax4PE40eRlRQFvLai041i1IO9HBuljrW71qKXhfnn6yj4TUJrgT+l1J
+GdSNlCGvoVs/iM4fU9UeKAjcXJme0nVt63a5aCJeHJTqIv3jrW7Q6j2Z26pCadx
2NbLR6JjFYISnurzMU9+Zd5lbI=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-ea0-f181.google.com
X-Received: by 10.15.43.13 with SMTP id w13mr41876288eev.37.1381084853078; Sun, 06 Oct 2013 11:40:53 -0700 (PDT)
Message-ID: <5251AEAE.5050502@gmail.com>
Date: Sun, 06 Oct 2013 20:40:46 +0200
From: marco atzeri <marco DOT atzeri AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.0
MIME-Version: 1.0
To: Sonya Blade <sonyablade2010 AT hotmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: Installation of X11 on Windows 8
References: <DUB119-W24E9DB5436D335327682D2C8120 AT phx DOT gbl>
In-Reply-To: <DUB119-W24E9DB5436D335327682D2C8120@phx.gbl>
X-IsSubscribed: yes

Il 10/6/2013 7:11 PM, Sonya Blade ha scritto:
> Dear All,
>
> I'm supposed to obtain the X11 library in the cygwin setup and all the
> related binaries under the X11 folder during the configuration from
> cygwin download terminal. BUt I never get X11.dll or X11.a files after
> download and installation.
>
> Actually this X11 dependecy arises when I try to compile the Petsc library
> I don't know where Petsc uses X11 libraries but requires it during
> compilation. If it'S not provided then the following errors are are reported

default installation includes only base packages, surely
not development.

Try adding libX11-devel package

$ cygcheck -l libX11-devel |grep dll
/usr/lib/libX11.dll.a


> Your help will be appreciated,
>
> undefined reference to `XSetForeground'
> /cygdrive/d/TEST_FOLDER_asus/petsc-3.4.2/src/sys/classes/draw/impls/x/xops.c:94: undefined reference to `XDrawPoint'
> ..\..\..\..\petsc-3.4.2\arch-mswin-c-debug\lib\libpetsc.a(xops.c.o): In function `PetscDrawPointPixel_X':
> /cygdrive/d/TEST_FOLDER_asus/petsc-3.4.2/src/sys/classes/draw/impls/x/xops.c:107: undefined reference to `XSetForeground'
> /cygdrive/d/TEST_FOLDER_asus/petsc-3.4.2/src/sys/classes/draw/impls/x/xops.c:108: undefined reference to `XDrawPoint'
> ..\..\..\..\petsc-3.4.2\arch-mswin-c-debug\lib\libpetsc.a(xops.c.o): In function `PetscDrawRectangle_X':
> /cygdrive/d/TEST_FOLDER_asus/petsc-3.4.2/src/sys/classes/draw/impls/x/xops.c:120: undefined reference to `XSetForeground'
> /cygdrive/d/TEST_FOLDER_asus/petsc-3.4.2/src/sys/classes/draw/impls/x/xops.c:125: undefined reference to `XFillRectangle' 		 	   		
>

Regards
Marco

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019