push!(DL_LOAD_PATH, "/System/Library/Frameworks/OpenGL.Framework/Libraries")

I think

Regards Ivar

kl. 09:02:30 UTC+1 søndag 16. mars 2014 skrev Nathaniel Virgo følgende:
>
> Sorry, I meant to say "GLUT package" (which includes OpenGL as a 
> dependency). I suspect it doesn't make much difference though.
>
> Nathaniel
>
> On Sunday, March 16, 2014 5:01:37 PM UTC+9, Nathaniel Virgo wrote:
>>
>> 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