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: Cygwin/X : display error with latest x-related packages


Dear all, 

Concerning my x-related problem, I dig a bit in the x-stuffs, and what I see is the following:
-> Obviously, what doesn't work is the XOpenDisplay function. I do not have the source of 
the program I am using, but it appears that this function is the one that is causing the problem.
I tried to compile and run a dummy example found on the internet using this function and drawing 
a simple box in a window : it's working. So my problem does not seem to be related to the cygwin/X
environment that is installed on my machine.
-> I am wondering if my problem could be caused by: 
- a 32/64bit incompatibility (but as I said before, the program -32b- was working on my 
previous cygwin/X 64b installation, such that I doubt that it is where my problem arise).
- Or if it is a problem of X-library that moved from one directory to another after the upgrade 
of cygwin/X : indeed, the test example that I tried was proposed to be compiled with libraries 
located in /usr/X11R6/lib, whereas the libraries in Cygwin/X are located in /usr/lib/include (And 
I gave this path to the compiler in order to properly compile and run the test example). I was 
wondering if the program that I am using (and for which I have not the sources) have been 
compiled with something like -L/usr/X11R6/lib could still work in a cygwin environment where 
X11 libraries are located in /usr/lib/include. If it is the case, how to make it work ?

Best regards,
xflr6

Â
> Dear Cygwin/X users and developpers,
> 
> I recently experienced a problem with a program using the X window system.
> With the latest Cygwin release, the latter program is not able to open the display,
> whereas with previous versions of cygwin (+ the x-window machinery, i.e
> the Cygwin/X installation as described in the installation notes, with xlaunch,
> xinit, xorg-server etc.) (prior to mid-February 2015), it was working correctly.
> Other programs using the X window system, such as ghostview for example,
> is working correctly on my installation.
> I have seen on the Cygwin/X news that X server and X.Org X11 packages
> have been upgraded to newer versions, and I was wondering if there was
> a known loss of backward compatibility with these fresh versions (even a
> simple change, like in the DISPLAY variable or something like that) ?
>
> Best regards,
> xflr6

--
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]