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

Build fails missing CL/cl.hpp #1

Open
iandanforth opened this issue May 8, 2014 · 1 comment
Open

Build fails missing CL/cl.hpp #1

iandanforth opened this issue May 8, 2014 · 1 comment

Comments

@iandanforth
Copy link

ians-air:build iandanforth$ cmake ..
-- The C compiler identification is Clang 5.1.0
-- The CXX compiler identification is Clang 5.1.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found OpenCL: /System/Library/Frameworks/OpenCL.framework
-- Found SDL2: /Library/Frameworks/SDL2.framework;-framework Cocoa
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/iandanforth/CortiCL/build
ians-air:build iandanforth$ make
[ 7%] Generating temporal.cl.h
[ 14%] Generating spatial.cl.h
Scanning dependencies of target corticl
[ 21%] Building CXX object CMakeFiles/corticl.dir/src/clregion.cpp.o
In file included from /Users/iandanforth/CortiCL/src/clregion.cpp:7:
In file included from /Users/iandanforth/CortiCL/src/clregion.h:9:
/Users/iandanforth/CortiCL/src/clcontext.h:5:10: fatal error: 'CL/cl.hpp' file not found

include <CL/cl.hpp>

     ^

1 error generated.
make[2]: *** [CMakeFiles/corticl.dir/src/clregion.cpp.o] Error 1
make[1]: *** [CMakeFiles/corticl.dir/all] Error 2
make: *** [all] Error 2

@Jontte
Copy link
Owner

Jontte commented May 8, 2014

This should be now fixed as of cfed9f8. I don't have an Apple device to test it with, though.

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

2 participants