From ea46dd304403a69c1938ba8f93ed32cf9f29e1b4 Mon Sep 17 00:00:00 2001 From: pauleaster <42950830+pauleaster@users.noreply.github.com> Date: Sat, 27 Nov 2021 14:01:12 +1100 Subject: [PATCH] Fixed typo in DYLY_LIBRARY_PATH, Closes #303 Changed `lib64` to `lib`, valid for arrayfire 3.7.2 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5cf0e889..02320d4b 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ To use the rust bindings for ArrayFire from crates.io, the following requirement 2. Set the evironment variable `AF_PATH` to point to ArrayFire installation root folder. 3. Make sure to add the path to lib files to your path environment variables. - On Linux: do `export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$AF_PATH/lib64` - - On OSX: do `export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$AF_PATH/lib64` + - On OSX: do `export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$AF_PATH/lib` - On Windows: Add `%AF_PATH%\lib` to your PATH environment variable. 4. Add `arrayfire = "3.8"` to the dependencies section of your project's Cargo.toml file. Make sure to change the version to latest available.