arrayfire/arrayfire-r

install error

Closed this issue · 2 comments

Hi,

I am getting the error below when I try to install arrayfire_r. My system is using the most recent array fire version and cuda 6.5. Arrayfire is set up and running in c++. Any ideas?

-bash-4.1$ R CMD INSTALL arrayfire_r
* installing *source* package ‘arrayfire’ ...
** libs
g++ -I/usr/include/R -DNDEBUG -DAFCL -I/vega/opt/arrayfire-2014-11/include -I/usr/local/include    -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic  -c afArray.cpp -o afArray.o
In file included from afArray.cpp:2:
R_wrapper.h:8:22: error: af/utils.h: No such file or directory
afArray.cpp:25: warning: ‘print’ initialized and declared ‘extern’
afArray.cpp:25: error: ‘SEXPREC* af::print’ redeclared as different kind of symbol
/vega/opt/arrayfire-2014-11/include/af/util.h:18: error: previous declaration of ‘void af::print(const char*, const af::array&)’
afArray.cpp:25: error: expected primary-expression before ‘A’
afArray.cpp:26: error: expected unqualified-id before ‘{’ token
make: *** [afArray.o] Error 1
ERROR: compilation failed for package ‘arrayfire’
* removing ‘...’

This repo depends on an older version of ArrayFire. We will be updating this repo to reflect the changes. Thanks for reporting this!

Thanks, that is good to hear. I will follow this issue to be up to date.