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
Windows X Server and display
Re: Windows X Server and display
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
Chris
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Windows X Server and display
Either use -display ':0' on the display command line."unable to open X server `(null)'
Or better still set a DISPLAY environment variable.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: Windows X Server and display
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.
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
I don't know why but 6.3.7-2 works but 6.3.7-1 doesn't work.