Login  Register

Re: Hardcoded float not working?

Posted by Wade Walker on Dec 21, 2013; 5:11am
URL: https://forum.jogamp.org/Hardcoded-float-not-working-tp4030974p4031015.html

Another thing to check (in addition to the things mentioned by Xerxes and Sven) is the libraries on the library loader path. If you do a "ldconfig -p | grep libOpenCL" that will show you where the loader is getting libOpenCL from. There could be some wrong/old one on your loader path somewhere. Specifically, I've noticed that when you upgrade Ubuntu to a new graphics driver from the hardware vendor, sometimes old entries are left in the files inside /etc/ld.so.conf.d, so the library loader will be finding the libOpenCL from the old driver location (often a subdirectory inside /usr/lib) instead of the new one. You'll need to confirm where your new driver installation puts libOpenCL.so, and make sure the library loader is seeing that specific one. There could also be incorrect filesystem links in /usr/lib or elsewhere on the loader path that point to older versions of libOpenCL.so.