Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Win 10: Cannot open include file: 'CL/opencl.h': No such file or directory #20

Open
Wenzy-- opened this issue Jun 15, 2017 · 5 comments

Comments

@Wenzy--
Copy link

Wenzy-- commented Jun 15, 2017

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)

@SoylentGraham
Copy link
Contributor

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

@Wenzy--
Copy link
Author

Wenzy-- commented Jun 16, 2017

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??

@SoylentGraham
Copy link
Contributor

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.

@AntonioFrog
Copy link

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?

@AntonioFrog
Copy link

problem solved with the link below:

#21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants