XWindows graphics Subroutines
Gentlemen: I am trying to port XWindows graphics code from my Linux workstation to my PC using cygwinX. I cannot find the XWindows graphics subroutines (routines that start with X) anywhere in the cygwin library. The file I thought should contain them, cygwin/lib/libX11.a contains similar routines with different names, for which I can find no documentation. Can you direct me to either the XWindows library or the documentation for the routines in libX11.a? Thank you G. Ronald Hadley Rio Grande Photonics, LLC -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: XWindows graphics Subroutines
On 17/02/2012 22:06, Ron Hadley wrote: > I am trying to port XWindows graphics code from my Linux workstation > to my PC using cygwinX. I cannot find the XWindows graphics subroutines > (routines that start with X) anywhere in the cygwin library. The file I > thought should contain them, cygwin/lib/libX11.a contains similar routines > with different names, for which I can find no documentation. Can you direct > me to either the XWindows library or the documentation for the routines in > libX11.a? Thank you I'm not sure which Xlib function you are looking for, but there should be no difference in the Xlib API between linux and cygwin/x. The libX11-devel package which contains that library also contains man pages for the functions it provides [1] [1] http://cygwin.com/packages/libX11-devel/libX11-devel-1.4.4-1 -- Jon TURNEY Volunteer Cygwin/X X Server maintainer -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
RE: XWindows graphics Subroutines
Jon: Thank you for clearing this up. I was confusing file names with routine names. Indeed the routines are all there. But I still can't manage to link them. I have a PGI compiler on my laptop, and it seems that GNU libtool was used in some way to produce the file X11.la that is necessary to properly link the files. Any ideas on how to link these libraries? Ron Hadley -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/