openworm / sibernetic

This is a C++/OpenCL implementation of the PCISPH algorithm supplemented with a set of biomechanics related features applied to C. elegans locomotion
Other
361 stars 105 forks source link

Problems with OpenCL and installing with Linux #52

Closed wilzh40 closed 6 years ago

wilzh40 commented 10 years ago

Hi, I wanted to try installing on a new computer, but I was getting errors within the header files in opencl, in /usr/include/CL. It was returning errors saying that method definitions/variables inside the header files were not defined, similar to:

https://bbs.archlinux.org/viewtopic.php?id=131077

wilzh40 commented 10 years ago

Update: This seemed to fix it it. Downgrading to v1.1 for OpenCL headers. I had to apt-get remove opencl-headers then manually used wget to get the header files from version 1.1 from the official Khronos website.