This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Installation of X11 on Windows 8


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]