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

Install arrayfire-rb on macos #6

Open
prasunanand opened this issue Nov 29, 2017 · 4 comments
Open

Install arrayfire-rb on macos #6

prasunanand opened this issue Nov 29, 2017 · 4 comments
Assignees

Comments

@prasunanand
Copy link
Member

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

@prasunanand
Copy link
Member Author

@9prady9 How do I include <af/cuda.h> on macos ?

@9prady9
Copy link
Member

9prady9 commented Nov 29, 2017

Similar to the way as you said above. But again, I don't use OSX, @umar456 ?

@ruggieroguida
Copy link

@prasunanand Let me know if I can help in any way with testing.

@baburdick
Copy link

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"

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

No branches or pull requests

4 participants