This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Installation of X11 on Windows 8
- From: marco atzeri <marco dot atzeri at gmail dot com>
- To: Sonya Blade <sonyablade2010 at hotmail dot com>, cygwin at cygwin dot com
- Date: Sun, 06 Oct 2013 20:40:46 +0200
- Subject: Re: Installation of X11 on Windows 8
- Authentication-results: sourceware.org; auth=none
- References: <DUB119-W24E9DB5436D335327682D2C8120 at phx dot gbl>
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