{"action":"created","issue":{"url":"https://api.github.com/repos/gpu/JOCLBlast/issues/13","repository_url":"https://api.github.com/repos/gpu/JOCLBlast","labels_url":"https://api.github.com/repos/gpu/JOCLBlast/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/gpu/JOCLBlast/issues/13/comments","events_url":"https://api.github.com/repos/gpu/JOCLBlast/issues/13/events","html_url":"https://github.com/gpu/JOCLBlast/issues/13","id":301310362,"number":13,"title":"Problems in Mac OS X","user":{"login":"amherag","id":404199,"avatar_url":"https://avatars2.githubusercontent.com/u/404199?v=4","gravatar_id":"","url":"https://api.github.com/users/amherag","html_url":"https://github.com/amherag","followers_url":"https://api.github.com/users/amherag/followers","following_url":"https://api.github.com/users/amherag/following{/other_user}","gists_url":"https://api.github.com/users/amherag/gists{/gist_id}","starred_url":"https://api.github.com/users/amherag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amherag/subscriptions","organizations_url":"https://api.github.com/users/amherag/orgs","repos_url":"https://api.github.com/users/amherag/repos","events_url":"https://api.github.com/users/amherag/events{/privacy}","received_events_url":"https://api.github.com/users/amherag/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2018-03-01T08:01:42Z","updated_at":"2018-05-09T08:17:42Z","closed_at":null,"author_association":"NONE","body":"Hello!\r\n\r\nHopefully it's just a dumb error on my part.\r\n\r\nI cloned CLBlast, JOCLCommon and JOCLBlast inside an empty directory:\r\n\r\n```\r\ngit clone https://github.com/CNugteren/CLBlast.git\r\ngit clone https://github.com/gpu/JOCLCommon.git\r\ngit clone https://github.com/gpu/JOCLBlast.git\r\n```\r\n\r\nI go to CLBlast, I create a `build` directory and `cd` to it, then I `cmake ..`, `make` and finally `sudo make install` without any problem.\r\n\r\nThen I go to the JOCLBlast directory and I create a `nativeLibraries/apple/x86_64` directory. I copy the `libclblast.dylib` library from `CLBlast/build/` to this directory.\r\n\r\nThen I run these commands, which I've been using for the past builds:\r\n\r\n```\r\ncmake -DCLBlast_LIBRARY:FILEPATH=/usr/local/lib/libclblast.dylib -DCLBLAST_INSTALL_DIR:FILEPATH=/usr/local/lib/\r\ncmake --build .\r\nmvn clean install\r\n```\r\n\r\nAnd, finally, I get these errors after running `cmake --build .`:\r\n\r\n```\r\n[ 75%] Built target JOCLCommon\r\n[ 87%] Building CXX object CMakeFiles/JOCLBlast_1_3_0-apple-x86_64.dir/src/main/native/JOCLBlast.cpp.o\r\nIn file included from /Users/Amherag/jocl/JOCLBlast/src/main/native/JOCLBlast.cpp:37:\r\nIn file included from /Users/Amherag/jocl/JOCLCommon/src/main/native/JOCLCommon.hpp:42:\r\nIn file included from /Users/Amherag/jocl/JOCLCommon/src/main/include/CL/opencl.h:41:\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_ext.h:150:95: warning: 'weak_import'\r\n      attribute only applies to variables and functions [-Wignored-attributes]\r\n  ...cl_int (CL_API_CALL *clTerminateContextKHR_fn)(cl_context /* context */) CL_EXT_SUFFIX__VER...\r\n                                                                              ^\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_platform.h:73:57: note: expanded from macro\r\n      'CL_EXT_SUFFIX__VERSION_1_2'\r\n        #define CL_EXT_SUFFIX__VERSION_1_2              CL_EXTENSION_WEAK_LINK AVAILABLE_MA...\r\n                                                        ^\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_platform.h:62:57: note: expanded from macro\r\n      'CL_EXTENSION_WEAK_LINK'\r\n    #define CL_EXTENSION_WEAK_LINK       __attribute__((weak_import))\r\n                                                        ^\r\nIn file included from /Users/Amherag/jocl/JOCLBlast/src/main/native/JOCLBlast.cpp:37:\r\nIn file included from /Users/Amherag/jocl/JOCLCommon/src/main/native/JOCLCommon.hpp:42:\r\nIn file included from /Users/Amherag/jocl/JOCLCommon/src/main/include/CL/opencl.h:41:\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_ext.h:197:69: warning: 'weak_import'\r\n      attribute only applies to variables and functions [-Wignored-attributes]\r\n    (CL_API_CALL *clReleaseDeviceEXT_fn)( cl_device_id /*device*/ ) CL_EXT_SUFFIX__VERSION_1_1;\r\n                                                                    ^\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_platform.h:67:57: note: expanded from macro\r\n      'CL_EXT_SUFFIX__VERSION_1_1'\r\n    #define CL_EXT_SUFFIX__VERSION_1_1                  CL_EXTENSION_WEAK_LINK AVAILABLE_MA...\r\n                                                        ^\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_platform.h:62:57: note: expanded from macro\r\n      'CL_EXTENSION_WEAK_LINK'\r\n    #define CL_EXTENSION_WEAK_LINK       __attribute__((weak_import))\r\n                                                        ^\r\nIn file included from /Users/Amherag/jocl/JOCLBlast/src/main/native/JOCLBlast.cpp:37:\r\nIn file included from /Users/Amherag/jocl/JOCLCommon/src/main/native/JOCLCommon.hpp:42:\r\nIn file included from /Users/Amherag/jocl/JOCLCommon/src/main/include/CL/opencl.h:41:\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_ext.h:203:68: warning: 'weak_import'\r\n      attribute only applies to variables and functions [-Wignored-attributes]\r\n    (CL_API_CALL *clRetainDeviceEXT_fn)( cl_device_id /*device*/ ) CL_EXT_SUFFIX__VERSION_1_1;\r\n                                                                   ^\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_platform.h:67:57: note: expanded from macro\r\n      'CL_EXT_SUFFIX__VERSION_1_1'\r\n    #define CL_EXT_SUFFIX__VERSION_1_1                  CL_EXTENSION_WEAK_LINK AVAILABLE_MA...\r\n                                                        ^\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_platform.h:62:57: note: expanded from macro\r\n      'CL_EXTENSION_WEAK_LINK'\r\n    #define CL_EXTENSION_WEAK_LINK       __attribute__((weak_import))\r\n                                                        ^\r\nIn file included from /Users/Amherag/jocl/JOCLBlast/src/main/native/JOCLBlast.cpp:37:\r\nIn file included from /Users/Amherag/jocl/JOCLCommon/src/main/native/JOCLCommon.hpp:42:\r\nIn file included from /Users/Amherag/jocl/JOCLCommon/src/main/include/CL/opencl.h:41:\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_ext.h:218:77: warning: 'weak_import'\r\n      attribute only applies to variables and functions [-Wignored-attributes]\r\n                                                cl_uint * /*num_devices*/ ) CL_EXT_SUFFIX__...\r\n                                                                            ^\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_platform.h:67:57: note: expanded from macro\r\n      'CL_EXT_SUFFIX__VERSION_1_1'\r\n    #define CL_EXT_SUFFIX__VERSION_1_1                  CL_EXTENSION_WEAK_LINK AVAILABLE_MA...\r\n                                                        ^\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_platform.h:62:57: note: expanded from macro\r\n      'CL_EXTENSION_WEAK_LINK'\r\n    #define CL_EXTENSION_WEAK_LINK       __attribute__((weak_import))\r\n                                                        ^\r\nIn file included from /Users/Amherag/jocl/JOCLBlast/src/main/native/JOCLBlast.cpp:37:\r\nIn file included from /Users/Amherag/jocl/JOCLCommon/src/main/native/JOCLCommon.hpp:42:\r\nIn file included from /Users/Amherag/jocl/JOCLCommon/src/main/include/CL/opencl.h:41:\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_ext.h:342:48: warning: 'weak_import'\r\n      attribute only applies to variables and functions [-Wignored-attributes]\r\n  ...size_t* /*param_value_size_ret*/ ) CL_EXT_SUFFIX__VERSION_2_0;\r\n                                        ^\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_platform.h:84:57: note: expanded from macro\r\n      'CL_EXT_SUFFIX__VERSION_2_0'\r\n        #define CL_EXT_SUFFIX__VERSION_2_0              CL_EXTENSION_WEAK_LINK AVAILABLE_MA...\r\n                                                        ^\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_platform.h:62:57: note: expanded from macro\r\n      'CL_EXTENSION_WEAK_LINK'\r\n    #define CL_EXTENSION_WEAK_LINK       __attribute__((weak_import))\r\n                                                        ^\r\n/Users/Amherag/jocl/JOCLBlast/src/main/native/JOCLBlast.cpp:42:10: fatal error: 'clblast_c.h' file\r\n      not found\r\n#include <clblast_c.h>\r\n         ^~~~~~~~~~~~~\r\n5 warnings and 1 error generated.\r\nmake[2]: *** [CMakeFiles/JOCLBlast_1_3_0-apple-x86_64.dir/src/main/native/JOCLBlast.cpp.o] Error 1\r\nmake[1]: *** [CMakeFiles/JOCLBlast_1_3_0-apple-x86_64.dir/all] Error 2\r\nmake: *** [all] Error 2\r\nSkynet-2:JOCLBlast Amherag$ cmake --build . > error.log\r\nIn file included from /Users/Amherag/jocl/JOCLBlast/src/main/native/JOCLBlast.cpp:37:\r\nIn file included from /Users/Amherag/jocl/JOCLCommon/src/main/native/JOCLCommon.hpp:42:\r\nIn file included from /Users/Amherag/jocl/JOCLCommon/src/main/include/CL/opencl.h:41:\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_ext.h:150:95: warning: 'weak_import'\r\n      attribute only applies to variables and functions [-Wignored-attributes]\r\n  ...cl_int (CL_API_CALL *clTerminateContextKHR_fn)(cl_context /* context */) CL_EXT_SUFFIX__VER...\r\n                                                                              ^\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_platform.h:73:57: note: expanded from macro\r\n      'CL_EXT_SUFFIX__VERSION_1_2'\r\n        #define CL_EXT_SUFFIX__VERSION_1_2              CL_EXTENSION_WEAK_LINK AVAILABLE_MA...\r\n                                                        ^\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_platform.h:62:57: note: expanded from macro\r\n      'CL_EXTENSION_WEAK_LINK'\r\n    #define CL_EXTENSION_WEAK_LINK       __attribute__((weak_import))\r\n                                                        ^\r\nIn file included from /Users/Amherag/jocl/JOCLBlast/src/main/native/JOCLBlast.cpp:37:\r\nIn file included from /Users/Amherag/jocl/JOCLCommon/src/main/native/JOCLCommon.hpp:42:\r\nIn file included from /Users/Amherag/jocl/JOCLCommon/src/main/include/CL/opencl.h:41:\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_ext.h:197:69: warning: 'weak_import'\r\n      attribute only applies to variables and functions [-Wignored-attributes]\r\n    (CL_API_CALL *clReleaseDeviceEXT_fn)( cl_device_id /*device*/ ) CL_EXT_SUFFIX__VERSION_1_1;\r\n                                                                    ^\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_platform.h:67:57: note: expanded from macro\r\n      'CL_EXT_SUFFIX__VERSION_1_1'\r\n    #define CL_EXT_SUFFIX__VERSION_1_1                  CL_EXTENSION_WEAK_LINK AVAILABLE_MA...\r\n                                                        ^\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_platform.h:62:57: note: expanded from macro\r\n      'CL_EXTENSION_WEAK_LINK'\r\n    #define CL_EXTENSION_WEAK_LINK       __attribute__((weak_import))\r\n                                                        ^\r\nIn file included from /Users/Amherag/jocl/JOCLBlast/src/main/native/JOCLBlast.cpp:37:\r\nIn file included from /Users/Amherag/jocl/JOCLCommon/src/main/native/JOCLCommon.hpp:42:\r\nIn file included from /Users/Amherag/jocl/JOCLCommon/src/main/include/CL/opencl.h:41:\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_ext.h:203:68: warning: 'weak_import'\r\n      attribute only applies to variables and functions [-Wignored-attributes]\r\n    (CL_API_CALL *clRetainDeviceEXT_fn)( cl_device_id /*device*/ ) CL_EXT_SUFFIX__VERSION_1_1;\r\n                                                                   ^\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_platform.h:67:57: note: expanded from macro\r\n      'CL_EXT_SUFFIX__VERSION_1_1'\r\n    #define CL_EXT_SUFFIX__VERSION_1_1                  CL_EXTENSION_WEAK_LINK AVAILABLE_MA...\r\n                                                        ^\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_platform.h:62:57: note: expanded from macro\r\n      'CL_EXTENSION_WEAK_LINK'\r\n    #define CL_EXTENSION_WEAK_LINK       __attribute__((weak_import))\r\n                                                        ^\r\nIn file included from /Users/Amherag/jocl/JOCLBlast/src/main/native/JOCLBlast.cpp:37:\r\nIn file included from /Users/Amherag/jocl/JOCLCommon/src/main/native/JOCLCommon.hpp:42:\r\nIn file included from /Users/Amherag/jocl/JOCLCommon/src/main/include/CL/opencl.h:41:\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_ext.h:218:77: warning: 'weak_import'\r\n      attribute only applies to variables and functions [-Wignored-attributes]\r\n                                                cl_uint * /*num_devices*/ ) CL_EXT_SUFFIX__...\r\n                                                                            ^\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_platform.h:67:57: note: expanded from macro\r\n      'CL_EXT_SUFFIX__VERSION_1_1'\r\n    #define CL_EXT_SUFFIX__VERSION_1_1                  CL_EXTENSION_WEAK_LINK AVAILABLE_MA...\r\n                                                        ^\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_platform.h:62:57: note: expanded from macro\r\n      'CL_EXTENSION_WEAK_LINK'\r\n    #define CL_EXTENSION_WEAK_LINK       __attribute__((weak_import))\r\n                                                        ^\r\nIn file included from /Users/Amherag/jocl/JOCLBlast/src/main/native/JOCLBlast.cpp:37:\r\nIn file included from /Users/Amherag/jocl/JOCLCommon/src/main/native/JOCLCommon.hpp:42:\r\nIn file included from /Users/Amherag/jocl/JOCLCommon/src/main/include/CL/opencl.h:41:\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_ext.h:342:48: warning: 'weak_import'\r\n      attribute only applies to variables and functions [-Wignored-attributes]\r\n  ...size_t* /*param_value_size_ret*/ ) CL_EXT_SUFFIX__VERSION_2_0;\r\n                                        ^\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_platform.h:84:57: note: expanded from macro\r\n      'CL_EXT_SUFFIX__VERSION_2_0'\r\n        #define CL_EXT_SUFFIX__VERSION_2_0              CL_EXTENSION_WEAK_LINK AVAILABLE_MA...\r\n                                                        ^\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_platform.h:62:57: note: expanded from macro\r\n      'CL_EXTENSION_WEAK_LINK'\r\n    #define CL_EXTENSION_WEAK_LINK       __attribute__((weak_import))\r\n                                                        ^\r\n/Users/Amherag/jocl/JOCLBlast/src/main/native/JOCLBlast.cpp:42:10: fatal error: 'clblast_c.h' file\r\n      not found\r\n#include <clblast_c.h>\r\n         ^~~~~~~~~~~~~\r\n5 warnings and 1 error generated.\r\nmake[2]: *** [CMakeFiles/JOCLBlast_1_3_0-apple-x86_64.dir/src/main/native/JOCLBlast.cpp.o] Error 1\r\nmake[1]: *** [CMakeFiles/JOCLBlast_1_3_0-apple-x86_64.dir/all] Error 2\r\nmake: *** [all] Error 2\r\nSkynet-2:JOCLBlast Amherag$\r\nSkynet-2:JOCLBlast Amherag$\r\nSkynet-2:JOCLBlast Amherag$ ls\r\nCMakeCache.txt\t\tLICENSE\t\t\terror.log\t\ttarget\r\nCMakeFiles\t\tMakefile\t\tnativeLibraries\r\nCMakeLists.txt\t\tREADME.md\t\tpom.xml\r\nJOCLCommon\t\tcmake_install.cmake\tsrc\r\nSkynet-2:JOCLBlast Amherag$ cmake --build . > error.log\r\nIn file included from /Users/Amherag/jocl/JOCLBlast/src/main/native/JOCLBlast.cpp:37:\r\nIn file included from /Users/Amherag/jocl/JOCLCommon/src/main/native/JOCLCommon.hpp:42:\r\nIn file included from /Users/Amherag/jocl/JOCLCommon/src/main/include/CL/opencl.h:41:\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_ext.h:150:95: warning: 'weak_import'\r\n      attribute only applies to variables and functions [-Wignored-attributes]\r\n  ...cl_int (CL_API_CALL *clTerminateContextKHR_fn)(cl_context /* context */) CL_EXT_SUFFIX__VER...\r\n                                                                              ^\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_platform.h:73:57: note: expanded from macro\r\n      'CL_EXT_SUFFIX__VERSION_1_2'\r\n        #define CL_EXT_SUFFIX__VERSION_1_2              CL_EXTENSION_WEAK_LINK AVAILABLE_MA...\r\n                                                        ^\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_platform.h:62:57: note: expanded from macro\r\n      'CL_EXTENSION_WEAK_LINK'\r\n    #define CL_EXTENSION_WEAK_LINK       __attribute__((weak_import))\r\n                                                        ^\r\nIn file included from /Users/Amherag/jocl/JOCLBlast/src/main/native/JOCLBlast.cpp:37:\r\nIn file included from /Users/Amherag/jocl/JOCLCommon/src/main/native/JOCLCommon.hpp:42:\r\nIn file included from /Users/Amherag/jocl/JOCLCommon/src/main/include/CL/opencl.h:41:\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_ext.h:197:69: warning: 'weak_import'\r\n      attribute only applies to variables and functions [-Wignored-attributes]\r\n    (CL_API_CALL *clReleaseDeviceEXT_fn)( cl_device_id /*device*/ ) CL_EXT_SUFFIX__VERSION_1_1;\r\n                                                                    ^\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_platform.h:67:57: note: expanded from macro\r\n      'CL_EXT_SUFFIX__VERSION_1_1'\r\n    #define CL_EXT_SUFFIX__VERSION_1_1                  CL_EXTENSION_WEAK_LINK AVAILABLE_MA...\r\n                                                        ^\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_platform.h:62:57: note: expanded from macro\r\n      'CL_EXTENSION_WEAK_LINK'\r\n    #define CL_EXTENSION_WEAK_LINK       __attribute__((weak_import))\r\n                                                        ^\r\nIn file included from /Users/Amherag/jocl/JOCLBlast/src/main/native/JOCLBlast.cpp:37:\r\nIn file included from /Users/Amherag/jocl/JOCLCommon/src/main/native/JOCLCommon.hpp:42:\r\nIn file included from /Users/Amherag/jocl/JOCLCommon/src/main/include/CL/opencl.h:41:\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_ext.h:203:68: warning: 'weak_import'\r\n      attribute only applies to variables and functions [-Wignored-attributes]\r\n    (CL_API_CALL *clRetainDeviceEXT_fn)( cl_device_id /*device*/ ) CL_EXT_SUFFIX__VERSION_1_1;\r\n                                                                   ^\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_platform.h:67:57: note: expanded from macro\r\n      'CL_EXT_SUFFIX__VERSION_1_1'\r\n    #define CL_EXT_SUFFIX__VERSION_1_1                  CL_EXTENSION_WEAK_LINK AVAILABLE_MA...\r\n                                                        ^\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_platform.h:62:57: note: expanded from macro\r\n      'CL_EXTENSION_WEAK_LINK'\r\n    #define CL_EXTENSION_WEAK_LINK       __attribute__((weak_import))\r\n                                                        ^\r\nIn file included from /Users/Amherag/jocl/JOCLBlast/src/main/native/JOCLBlast.cpp:37:\r\nIn file included from /Users/Amherag/jocl/JOCLCommon/src/main/native/JOCLCommon.hpp:42:\r\nIn file included from /Users/Amherag/jocl/JOCLCommon/src/main/include/CL/opencl.h:41:\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_ext.h:218:77: warning: 'weak_import'\r\n      attribute only applies to variables and functions [-Wignored-attributes]\r\n                                                cl_uint * /*num_devices*/ ) CL_EXT_SUFFIX__...\r\n                                                                            ^\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_platform.h:67:57: note: expanded from macro\r\n      'CL_EXT_SUFFIX__VERSION_1_1'\r\n    #define CL_EXT_SUFFIX__VERSION_1_1                  CL_EXTENSION_WEAK_LINK AVAILABLE_MA...\r\n                                                        ^\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_platform.h:62:57: note: expanded from macro\r\n      'CL_EXTENSION_WEAK_LINK'\r\n    #define CL_EXTENSION_WEAK_LINK       __attribute__((weak_import))\r\n                                                        ^\r\nIn file included from /Users/Amherag/jocl/JOCLBlast/src/main/native/JOCLBlast.cpp:37:\r\nIn file included from /Users/Amherag/jocl/JOCLCommon/src/main/native/JOCLCommon.hpp:42:\r\nIn file included from /Users/Amherag/jocl/JOCLCommon/src/main/include/CL/opencl.h:41:\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_ext.h:342:48: warning: 'weak_import'\r\n      attribute only applies to variables and functions [-Wignored-attributes]\r\n  ...size_t* /*param_value_size_ret*/ ) CL_EXT_SUFFIX__VERSION_2_0;\r\n                                        ^\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_platform.h:84:57: note: expanded from macro\r\n      'CL_EXT_SUFFIX__VERSION_2_0'\r\n        #define CL_EXT_SUFFIX__VERSION_2_0              CL_EXTENSION_WEAK_LINK AVAILABLE_MA...\r\n                                                        ^\r\n/Users/Amherag/jocl/JOCLCommon/src/main/include/CL/cl_platform.h:62:57: note: expanded from macro\r\n      'CL_EXTENSION_WEAK_LINK'\r\n    #define CL_EXTENSION_WEAK_LINK       __attribute__((weak_import))\r\n                                                        ^\r\n/Users/Amherag/jocl/JOCLBlast/src/main/native/JOCLBlast.cpp:42:10: fatal error: 'clblast_c.h' file\r\n      not found\r\n#include <clblast_c.h>\r\n         ^~~~~~~~~~~~~\r\n5 warnings and 1 error generated.\r\nmake[2]: *** [CMakeFiles/JOCLBlast_1_3_0-apple-x86_64.dir/src/main/native/JOCLBlast.cpp.o] Error 1\r\nmake[1]: *** [CMakeFiles/JOCLBlast_1_3_0-apple-x86_64.dir/all] Error 2\r\nmake: *** [all] Error 2\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/gpu/JOCLBlast/issues/comments/387660354","html_url":"https://github.com/gpu/JOCLBlast/issues/13#issuecomment-387660354","issue_url":"https://api.github.com/repos/gpu/JOCLBlast/issues/13","id":387660354,"user":{"login":"milikicn","id":26282,"avatar_url":"https://avatars3.githubusercontent.com/u/26282?v=4","gravatar_id":"","url":"https://api.github.com/users/milikicn","html_url":"https://github.com/milikicn","followers_url":"https://api.github.com/users/milikicn/followers","following_url":"https://api.github.com/users/milikicn/following{/other_user}","gists_url":"https://api.github.com/users/milikicn/gists{/gist_id}","starred_url":"https://api.github.com/users/milikicn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milikicn/subscriptions","organizations_url":"https://api.github.com/users/milikicn/orgs","repos_url":"https://api.github.com/users/milikicn/repos","events_url":"https://api.github.com/users/milikicn/events{/privacy}","received_events_url":"https://api.github.com/users/milikicn/received_events","type":"User","site_admin":false},"created_at":"2018-05-09T08:17:42Z","updated_at":"2018-05-09T08:17:42Z","author_association":"NONE","body":"@blueberry I have removed all _clblast_ and _joclblast_ related files from my _/private/var/folders/p5/...._ temporary folder and ran the application. Two new files were added to the temp fodler: _libJOCL_2_0_0-apple-x86_64.dylib_, and _libJOCLBlast_1_3_0-apple-x86_64.dylibm_ and also a folder _JOCLBlast_1_3_0-apple-x86_64_dependents_ with the following folder structure:\r\n\r\n```\r\n- JOCLBlast_1_3_0-apple-x86_64_dependents\r\n-- apple\r\n--- x86_64\r\n---- libclblast.dylib\r\n```"}}
{"actor":{"display_login":"milikicn"}}