This is different from your previous problem reports, and from the line numbers
it looks like you have a modified version of Images (line 25 is in
`precompile`, not `init`). I've just pushed and tagged a new version, so you
may want to try a Pkg.update() (after discarding your local changes to
Images).
Regarding getting image-loading working, the only step I can suggest is
removing Images entirely (Pkg.rm("Images")) and then re-installing. Assuming
that doesn't work, I'd recommend you file an issue over at Homebrew.jl rather
than posting reports to julia-users.
--Tim
On Monday, March 17, 2014 01:52:03 AM Nathaniel Virgo wrote:
> Hi all
>
> As per the other two recent threads, I managed to install the OpenGL and
> GLUT packages and get them working. However, I then realised it would be
> better to use SDL rather than GLUT. So I installed libSDL using MacPorts
> (which placed it in /opt/local/lib), did Pkg.add("SDL"), and added a line
> to my .juilarc.jl file, which now reads:
>
> push!(DL_LOAD_PATH, "/System/Library/Frameworks/OpenGL.Framework/Libraries")
> push!(DL_LOAD_PATH, "/System/Library/Frameworks/GLUT.Framework")
> push!(DL_LOAD_PATH, "/opt/local/lib")
>
> However, I now get the following error when I run a previously-working
> GLUT-based OpenGL program:
>
> ERROR: libwand not defined
> in init at /Users/ndv21/.julia/v0.3/Images/src/Images.jl:25
> in reload_path at loading.jl:144
> in _require at loading.jl:59
> in require at loading.jl:46
> in reload_path at loading.jl:144
> in _require at loading.jl:59
> in require at loading.jl:46
> in reload_path at loading.jl:144
> in _require at loading.jl:59
> in require at loading.jl:43
> in include_from_node1 at loading.jl:120
> while loading /Users/ndv21/.julia/v0.3/Images/src/Images.jl, in expression
> starting on line 216 while loading
> /Users/ndv21/.julia/v0.3/OpenGL/src/gl10/gl10aux.jl, in expression starting
> on line 9 while loading /Users/ndv21/.julia/v0.3/OpenGL/src/OpenGL.jl, in
> expression starting on line 10 while loading
> /Users/ndv21/Dropbox/Code/Julia reaction diffusion/initial
> exploration/tut6.jl, in expression starting on line 11
>
> If I comment out the push!(DL_LOAD_PATH, "/opt/local/lib") in my
> .juliarc.jl, it works again. I’ve tried changing the order of the push!
> commands, but it doesn’t make any difference.
>
> Potentially relevant information:
>
> -
>
> there are lots of files in /opt/local/lib, including OpenGL-related ones
> like libGLEW, but not (as far as I can see) conflicting versions of
> OpenGL or GLUT themselves.
> -
>
> I do actually have ImageMagick installed, via Macports (presumably as a
> dependency for something else). There are files
> libMagickCore-6.Q16.dylib, libMagickWand-6.Q16.dylib and
> libMagick++-6.Q16.dylib in /opt/local/lib, but not anything more
> sensible-looking like libmagick.dylib or
> libwand.dylib. (There is libmagic.dylib, but I assume this is unrelated.)
> -
>
> It would actually be useful to load image files, so getting it working
> properly with ImageMagick would be ideal. However, if I can just get it
> to stop trying to load ImageMagic-related files (which the code I’m
> currently running doesn’t use), that would be fine for now.
>
> Best regards,
> Nathaniel