stla / PolygonSoup

Make a consistent mesh from a polygon soup.
5 stars 1 forks source link

Linking to libatomic is required on 32-bit platforms #2

Open barracuda156 opened 1 year ago

barracuda156 commented 1 year ago
/opt/local/bin/g++-mp-12 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/opt/local/Library/Frameworks/R.framework/Resources/lib -Wl,-headerpad_max_install_names -Wl,-rpath,/opt/local/lib/libgcc -L/opt/local/lib -lMacportsLegacySupport -arch ppc -o PolygonSoup.so RcppExports.o ReadWrite.o mesh.o unexported1.o unexported2.o -L/opt/local/lib -lgmp -lmpfr -lgmp -F/opt/local/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /opt/local/var/macports/build/_opt_PPCRosettaPorts_R_R-PolygonSoup/R-PolygonSoup/work/destroot/opt/local/Library/Frameworks/R.framework/Versions/4.2/Resources/library/00LOCK-PolygonSoup/00new/PolygonSoup/libs
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for ‘PolygonSoup’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/opt/local/var/macports/build/_opt_PPCRosettaPorts_R_R-PolygonSoup/R-PolygonSoup/work/destroot/opt/local/Library/Frameworks/R.framework/Versions/4.2/Resources/library/00LOCK-PolygonSoup/00new/PolygonSoup/libs/PolygonSoup.so':
  dlopen(/opt/local/var/macports/build/_opt_PPCRosettaPorts_R_R-PolygonSoup/R-PolygonSoup/work/destroot/opt/local/Library/Frameworks/R.framework/Versions/4.2/Resources/library/00LOCK-PolygonSoup/00new/PolygonSoup/libs/PolygonSoup.so, 6): Symbol not found: ___atomic_load_8
  Referenced from: /opt/local/var/macports/build/_opt_PPCRosettaPorts_R_R-PolygonSoup/R-PolygonSoup/work/destroot/opt/local/Library/Frameworks/R.framework/Versions/4.2/Resources/library/00LOCK-PolygonSoup/00new/PolygonSoup/libs/PolygonSoup.so
  Expected in: dynamic lookup

Error: loading failed
Execution halted
ERROR: loading failed
stla commented 1 year ago

Thanks. This package is no longer maintained. The cgalMeshes package contains it (set option clean=TRUE in cgalMesh$new if you have a polygon soup).

barracuda156 commented 1 year ago

Thanks. This package is no longer maintained. The cgalMeshes package contains it (set option clean=TRUE in cgalMesh$new if you have a polygon soup).

@stla Thank you! cgalMeshes has the same issue: https://github.com/stla/cgalMeshes/issues/12

P. S. What about dependents of PolygonSoup?

stla commented 1 year ago

All packages related to CGAL meshes are abandoned in favor of cgalMeshes (and see the More features section of the README).