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: ImageMagick "display" and "convert" fail with a Visual C++ runtime error


Thanks, Igor.

PATH is usually processed left-to-right.  As an alternative to what Brian
suggested, simply prepending C:\cygwin\bin to the PATH should work.

C:\cygwin\bin has been in the PATH all the time; the problem seems to have been that the PATH statement contained a MATLAB directory somewhere in the middle which caused some conflict between the libraries that loaded.


FWIW, the above is already done in the standard shell startup scripts, so
unless you're using custom .*rc scripts, you probably attempted to invoke
ImageMagick from a Windows command prompt.  One word of warning for
working in that mode: some of the programs in /bin are symbolic links or
scripts that Windows does not understand.  You're better off invoking
Cygwin programs from a Cygwin shell, unless you're sure they are .exe
files.

I am using standard rc scripts and was invoking ImageMagick from xterm ... I have added a path-modifying statement suggested by Brian to .profile that removed the win32 Matlab directory from the PATH and this solved the problem.


Thanks again for your help,

Dmitry


	Igor
--
				http://cs.nyu.edu/~pechtcha/
     |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
    |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
   '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Freedom is just another word for "nothing left to lose"... -- Janis Joplin


-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/


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