Skip to content

Commit

Permalink
Mac debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
John Collins committed Mar 10, 2024
1 parent e13cf3d commit dcd14ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/manifold.yml
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ jobs:
run: |
mkdir build
cd build
cmake -DOUTPUT_TO_BIN=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DMANIFOLD_EXPORT=ON -DMANIFOLD_PAR=${{matrix.parallel_backend}} .. && make
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DMANIFOLD_EXPORT=ON -DMANIFOLD_PAR=${{matrix.parallel_backend}} .. && make
shell: bash
- name: Find Libs
run: |
Expand Down
6 changes: 3 additions & 3 deletions bindings/java/src/main/java/manifold3d/Manifold.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
@Platform(compiler = "cpp17", include = {"manifold.h", "meshIO.h"},
linkpath = { LibraryPaths.MANIFOLD_LIB_DIR,
LibraryPaths.MANIFOLD_LIB_DIR_WINDOWS },
link = { "manifold" })
link = { "manifold", "Clipper2" })
@Namespace("manifold")
public class Manifold extends Pointer {
static {
Expand Down Expand Up @@ -65,10 +65,10 @@ public class Manifold extends Pointer {
try {
System.out.println("Loading meshIO");
System.load(Loader.extractResource("/libmeshIO.dylib", null, "libmeshIO", ".dylib").getAbsolutePath());
System.out.println("Loading Clipper");
System.load(Loader.extractResource("/libClipper2.1.3.0.dylib", null, "libClipper2", ".dylib").getAbsolutePath());
System.out.println("Loading Manifold");
System.load(Loader.extractResource("/libmanifold.2.4.5.dylib", null, "libmanifold", ".dylib").getAbsolutePath());
System.out.println("Loading Clipper");
System.load(Loader.extractResource("/libClipper2.1.3.0.dylib", null, "libClipper2", ".dylib").getAbsolutePath());
System.out.println("Finished Loading.");

} catch (IOException e) {
Expand Down

0 comments on commit dcd14ff

Please sign in to comment.