inno setup - Why does adding the Images library fail in Julia? -


i'm getting started julia 0.3.10 under windows 7. language installs , runs, can't install images package. when type:

pkg.add("images") 

i output looks ok, lines below. looks if inno setup has detected version problem, i'm not sure version problematic. i've tried deleting "julia" , re-downloading, no avail. also, i've searched web various pieces of error message, stackoverflow; nothing appears relevant.

after pkg.add("images"), few dozen normal-looking lines, then:

info: building images info: installing imagemagick library info: attempting create directory c:\users\jim\.julia\v0.3\images\deps\downloads info: attempting create directory c:\users\jim\.julia\v0.3\images\deps\usr\lib\x64 info: attempting create directory c:\users\jim\.julia\v0.3\images\deps\downloads info: directory c:\users\jim\.julia\v0.3\images\deps\downloads created info: downloading file [link @ imagemagick] download/binaries/imagemagick-6.9.1-9-q16-x64-dll.exe info: done downloading file [...]imagemagick-6.9.1-9-q16-x64-dll.exe info: attempting create directory c:\users\jim\.julia\v0.3\images\deps\downloads info: directory c:\users\jim\.julia\v0.3\images\deps\downloads created info: downloading file [link @ julialang.s3.amazonaws.com]/bin/winnt/extras/innounp.exe info: done downloading file [link @ julialang.s3.amazonaws.com]/bin/winnt/extras/innounp.exe info: changing directory c:\users\jim\.julia\v0.3\images\deps\downloads 

here's see first sign of trouble:

signature detected: inno setup setup data (5.5.6) (u) not directly supported, i'll try unpack version 5500; version detected: 5506 (unicode) critical error: setup files corrupted. please obtain new copy of program.  unpacking failed. version not supported.  ===============================[ error: images ]================================ 

ah reason hate windows. of course adding package on ubuntu had no issues switched windows installation , low , behold had same issue you. error message turns out quite cryptic how solved issue. first did:

    pkg.update() 

then logged out of julia , went to: http://www.imagemagick.org/script/binary-releases.php#windows , downloaded imagemagick-6.9.1-9-q16-x64-dll.exe making sure when going through downloader options check mark box reads: "install development headers , libraries c , c++".

i allowed installer install default directory , reopened julia , used following command:

    pkg.build("images") 

which did , able use images package normal command of:

   using images 

Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -