gilbo / cork

3D Boolean / CSG Library
Other
406 stars 173 forks source link

Installation problem with M1 Pro :clang: error: linker command failed with exit code 1 #51

Open henry1593572 opened 1 year ago

henry1593572 commented 1 year ago

`Compiling obj/cork.o Compiling obj/util/timer.o Compiling obj/util/log.o Compiling obj/isct/empty3d.o Compiling obj/isct/quantization.o Compiling obj/file_formats/files.o Compiling obj/file_formats/ifs.o Compiling obj/file_formats/off.o Compiling the Triangle library src/isct/triangle.c:3298:13: warning: unused variable 'k' [-Wunused-variable] int i, j, k; ^ src/isct/triangle.c:3299:8: warning: unused variable 'workstring' [-Wunused-variable] char workstring[FILENAMESIZE]; ^ src/isct/triangle.c:11706:28: warning: variable 'collinear' set but not used [-Wunused-but-set-variable] enum finddirectionresult collinear; ^ 3 warnings generated. Bundling lib/libcork.a updating include/cork.h Compiling obj/off2obj.o Linking off2obj ld: library not found for -lgmpxx clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [bin/off2obj] Error 1

`

I need some help pls!