You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-5Lines changed: 14 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
[](https://github.com/PDAL/java/actions)[](https://gitter.im/PDAL/PDAL?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)[](https://search.maven.org/search?q=g:io.pdal)[](https://oss.sonatype.org/content/repositories/snapshots/io/pdal/)
4
4
5
5
6
-
Java bindings to use PDAL on JVM (supports PDAL >= 2.0). Mac users can experience some issues with bindings that were build against a different PDAL version, so try to use a consistent PDAL version.
6
+
Java bindings to use PDAL on JVM (supports PDAL >= 2.0). macOS users can experience some issues with bindings that were build against a different PDAL version, so try to use a consistent PDAL version.
7
7
8
8
It is released independently from PDAL itself as of PDAL 1.7.
9
9
@@ -45,7 +45,7 @@ libraryDependencies ++= Seq(
45
45
If you would like to use your own bindings, it is necessary to set `java.library.path`:
@@ -224,9 +224,8 @@ Development purposes (including binaries) compilation:
224
224
3. Build native libs `sbt native/nativeCompile` (optionally, binaries would be built during tests run) or `sbt native/publishLocal` for the built jar only
225
225
4. Run `sbt core/test` to run PDAL tests
226
226
227
-
228
227
Only Java development purposes compilation:
229
-
1. Provide `$LD_LIBRARY_PATH` or `$DYLD_LIBRARY_PATH`
228
+
1. Provide `$LD_LIBRARY_PATH` or `$DYLD_FALLBACK_LIBRARY_PATH`
230
229
2. If you don't want to provide global variable you can pass `-Djava.library.path=<path>` into sbt:
231
230
`./sbt -Djava.library.path=<path>`
232
231
3. Set `PDAL_DEPEND_ON_NATIVE=false` (to disable `native` project build)
@@ -259,7 +258,7 @@ the quick workaround would be to replace [this](./java/native/src/CMakeLists.txt
259
258
set(CMAKE_CXX_FLAGS "-L<path to dynamic libs> -std=c++11")
260
259
```
261
260
262
-
#### - On mac os could be difficult to install PDAL sometimes (near new releases). You have three options
261
+
#### - On macOS could be difficult to install PDAL sometimes (near new releases). You have three options
263
262
-##### Install PDAL with conda
264
263
Here the [PDAL conda guide](https://pdal.io/en/2.6.0/workshop/conda.html)
265
264
@@ -269,6 +268,16 @@ set(CMAKE_CXX_FLAGS "-L<path to dynamic libs> -std=c++11")
269
268
-##### Build PDAL from sources
270
269
Follow the [official guide](https://pdal.io/en/latest/development/compilation/index.html#compilation)
271
270
271
+
#### - When using the Maven Central JARs on macOS, I get `Library not loaded: @rpath/libpdalcpp.16.dylib` error
272
+
273
+
If you are sure PDAL is correctly installed, you can run `pdal-config --libs` and take the path after the `-L` argument
274
+
and assign it to the `DYLD_FALLBACK_LIBRARY_PATH`:
0 commit comments