Page 1 of 1

Windows X Server and display

Posted: 2007-10-25T23:50:23-07:00
by cgroer
Successfully built version 6.3.6 on my Windows XP laptop using VisualStudio 8. Everything works fine except for image.display() when I get the dreaded

"unable to open X server `(null)' [no such file or directory]" error.

I have read suggestions to set the environment variable DISPLAY to :0 or localhost:0.0 but I have had no success (I typed "set DISPLAY= ..." at the command prompt.) I have tried this while running cygwin/x and also xming and get the same results. I also get the same result when I try to pass in -display at the command line for commands such as animate, but I get the same message. I'd rather not admit how long I've been banging my head on this, so I'm open to any and all suggestions! Thanks very much.

Chris Groer
University of Maryland

Re: Windows X Server and display

Posted: 2007-10-26T09:30:53-07:00
by cgroer
Here is an update on this. I have problems with the Multithreaded Static build. However, I built the Multithreaded DLL, and it works. Same machine, same x server, same configuration settings other than the DLL vs. static... Any ideas? Thanks

Chris

Re: Windows X Server and display

Posted: 2007-11-15T20:20:55-07:00
by anthony
"unable to open X server `(null)'
Either use -display ':0' on the display command line.
Or better still set a DISPLAY environment variable.

Re: Windows X Server and display

Posted: 2007-11-29T08:26:22-07:00
by jimsteed
I am having the same problem with Windows and the Exceed X server. I run other X server programs from the commandline that also require DISPLAY to be set correctly and they still work.

Is there any chance the binaries on imagemagick.org were built without X11 support? Can anyone point me to Windows binaries that they have used successfully with an X server?

I am using VC Express so I also am handicapped in that I can't build the configure program since it requires MFC.

Re: Windows X Server and display

Posted: 2007-11-29T20:47:34-07:00
by jimsteed
I don't know why but 6.3.7-2 works but 6.3.7-1 doesn't work.