public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Installation of X11 on Windows 8
@ 2013-10-06 17:11 Sonya Blade
  2013-10-06 18:40 ` marco atzeri
  0 siblings, 1 reply; 2+ messages in thread
From: Sonya Blade @ 2013-10-06 17:11 UTC (permalink / raw)
  To: cygwin

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

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' 		 	   		  

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

* Re: Installation of X11 on Windows 8
  2013-10-06 17:11 Installation of X11 on Windows 8 Sonya Blade
@ 2013-10-06 18:40 ` marco atzeri
  0 siblings, 0 replies; 2+ messages in thread
From: marco atzeri @ 2013-10-06 18:40 UTC (permalink / raw)
  To: Sonya Blade, cygwin

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

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

end of thread, other threads:[~2013-10-06 18:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-06 17:11 Installation of X11 on Windows 8 Sonya Blade
2013-10-06 18:40 ` marco atzeri

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