HuXiaoling / TopoLoss

Code for the NeurIPS 2019 paper: Topology-Preserving Deep Image Segmentation
MIT License
146 stars 22 forks source link

Compiling the library in macOS #6

Open ricardobatistad opened 3 years ago

ricardobatistad commented 3 years ago

I can successfully run TDFMain.py using Python 2.7 with the PersistencePython.so file in this repo. However, I'd like to use Python3. When I run the compile_pers_lib.sh I get the following error:

(...) ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)

The "(...)" stands for a long list of frameworks needed. Perhaps you have a Python 3 version you could please share?