Login  Register

Re: CL_DEVICE_NOT_AVAILABLE when creating CLContext with 64-bit Java on GTX 970

Posted by SuspiciousDroid on Mar 30, 2016; 10:47pm
URL: https://forum.jogamp.org/CL-DEVICE-NOT-AVAILABLE-when-creating-CLContext-with-64-bit-Java-on-GTX-970-tp4036560p4036562.html

it's pretty easy to clone and build
If you already have a development environment set up for C / C++, sure, but for someone who's only ever worked with Java... not so much ^^
But today I learned MinGW 32-bit and 64-bit are two completely separate projects and the 32-bit one completely fails on 64-bit systems :P

You should consider providing some binary builds for people who want to quickly run the demos. I mean, isn't the point of a demo being able to quickly test something without having to commit fully?

As for the native libraries:
I had just been using maven to include JOCL and to figure out the dependencies. It automatically imported some native libraries which I assumed to be correct - but this assumption was probably completely wrong.

With the self-built demo binaries (and thus also JOCL binaries), I've been able to run both the info demo and the Mandelbrot display. Both work as expected, which implies the native libraries maven imported weren't the right ones.

So I'll try to copy those over / change the maven dependency / whatever and let you know if that fixed my problem. I might do that tomorrow though, it's already getting close to 1am here ^^

By the way, the build scripts and the demos are both EPIC. I'm can't even imagine how much time must have gone into those. Thank you and the whole team for this awesome project!