Hi all

I like to visualise my simulations in OpenGL, so I was happy to see that 
there is an OpenGL package. However, it seems I need to do something to 
tell it where to find the library file. If I try to run one of the examples 
(tut2.jl, copied into a new file), I get this:

julia> include("gltest.jl")
ERROR: error compiling ReSizeGLScene: could not load module libGL: 
dlopen(libGL.dylib, 1): image not found
 in cfunction at c.jl:23
while loading /Users/ndv21/Dropbox/Code/Julia reaction diffusion/initial 
exploration/gltest.jl, in expression starting on line 58

I guess the appropriate libGL.dylib is the one in 
/System/Library/Frameworks/OpenGL.Framework/Libraries (the standard 
location on OS X I believe) —- how can I tell Julia to look for it there?

(I’m asking the list rather than the package developer because of this note 
in the README: ā€œI wish I could provide some advice to Windows or Mac OS 
users, but I barely use those systems anymore.ā€)

Best regards,
Nathaniel

Reply via email to