Login  Register

HelloJOCL requesting "jogamp/natives/" folder

Posted by Eric Barnhill on Sep 28, 2015; 9:53am
URL: https://forum.jogamp.org/HelloJOCL-requesting-jogamp-natives-folder-tp4035399.html

HelloJOCL compiles but (prior to fix below) gives the runtime error:

 Can't load library: /home/[...]/jogamp/natives/linux-amd64//libgluegen-rt.so

Not surprising, since I've followed the jogamp build instructions and this has only given me the folders: jogamp/gluegen, jogamp/jocl, jogamp/jogl .

So I created the folder jogamp/natives/linux-amd64/ and copied in libgluegen-rt.so from /gluegen/build/obj/libgluegen-rt.so,  and it runs fine.

But I am worried I have set myself up for problems down the road. Was this the right thing to do?