Uh oh!
There was an error while loading. Please reload this page.
I've wanted to try out arrayfire to speed up some calculations (in rust, not cpp), but after installing it to and but an error occurs when trying out something simple: namely How can I solve this? |
Replies: 10 comments
It seems like path issues or broken installation. Please show the files under $AF_PATH and $AF_PATH/lib64 |
Sure! the Im using MacOS 10.15.6 btw! |
I now see that set the environmental variable to |
I just had similar linking problems on Linux and had to run |
I think we do mention about approaches in our tutorial - http://arrayfire.org/docs/installing.htm @pvdklei If it is OSX, I would expect it to be @TheDan64 |
Yes, targeting Linux. I just followed the instructions in the README under |
@TheDan64 I do experience that issue sometimes. If you set the environment variables after running cargo build/test once, the linking errors don't go away. I have had to run cargo clean and then it will run smoothly. I believe cargo run's |
I think that was my issue then. Perhaps it's worth mentioning in the readme? |
@TheDan64 Sure, will add it before closing this issue. |
@9prady9 I set the env variables using the |
@9prady9 I set the env variables using the
.bash_profilefile. Butcargo cleandid the job so no worries! Thanks!