Jontte / CortiCL

CortiCL is an OpenCL implementation of the Cortical Learning Algorithm
GNU General Public License v3.0
13 stars 4 forks source link

Build fails missing CL/cl.hpp #1

Open iandanforth opened 10 years ago

iandanforth commented 10 years ago

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 commented 10 years ago

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