Open Wenzy-- opened 7 years ago
Have you installed an opencl SDK?
The props for this project include C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5
, do you have that folder? (maybe version has changed)
https://github.com/memo/ofxMSAOpenCL/blob/master/libs/OpenCL/lib/vs/nvidia-cuda-opencl-include.props
Thanks,SoylentGraham. But i have already installed the SDK from here ( https://developer.nvidia.com/cuda-downloads ) ,still not working~~It's version 8.0 . Or should i installed version 7.5??
I have no idea whether it would work with a newer sdk :)
So the path has probably changed (as above, it's using a path to version 7.5, you probably don't have that folder, but you probably have one called /8.0
)
In visual studio, goto the property manager
and find the one called nvidia-cuda-opencl-include.props
(or open the above file I linked to in notepad) and change the path to the SDK path you have installed.
I met the same problem and i edit the .props file to the right path;
then another error happend: can not open source file "ofMain.h"
can anyone knows how to figure this out?
problem solved with the link below:
Hi,memo.
This addon works fine in OSX.But in Win10.
There is a Error happened: Cannot open include file: 'CL/opencl.h': No such file or directory (compiling source file ......\addons\ofxMSAOpenCL\src\MSAOpenCL.cpp)