Install arrayfire-rb on macos
https://github.com/prasunanand/arrayfire-rb/issues/1
I am struggling to install arrayfire-rb on macos
Arrayfire was installed from here
I am installing the ruby bindings from here
Everything works up to
bundle install
but when I launch
rake install
I receive several
In file included from ../../../../ext/mri/ruby_arrayfire.cpp:5:
/usr/local/include/af/cuda.h:12:10: error: 'cuda.h' file not found with <angled> include; use "quotes"
instead
#include <cuda.h>
^~~~~~~~
"cuda.h"
Any advice?
@9prady9 How do I include <af/cuda.h> on macos ?
Similar to the way as you said above. But again, I don't use OSX, @umar456 ?
@prasunanand Let me know if I can help in any way with testing.
What was the effect of doing exactly as the error message says?: e.g. changing the #include in ext/mri/ruby_arrayfire.cpp to:
#include "cuda.h"
OR
#include "af/cuda.h"