Comments (3)
@zhiweigong75, unfortunately iso2mesh does not include any pre-compiled binaries for M1 processors. I expect that not only meshresample.m does not work, many other functions such as meshcheckrepair and s2m/surf2mesh also won't work.
you can, however, compile it yourself if you can set up the building environment. To compile these binaries, you need to run make
inside the iso2mesh/tools
folder
https://github.com/fangq/iso2mesh/tree/master/tools
you should also use git submodule update --init --remote
to download all submodules under that folder. I anticipate setting up the compilation enviroment will take some time. currently, the included Makefile only works on Ubuntu Linux.
from iso2mesh.
@zhiweigong75, unfortunately iso2mesh does not include any pre-compiled binaries for M1 processors. I expect that not only meshresample.m does not work, many other functions such as meshcheckrepair and s2m/surf2mesh also won't work.
you can, however, compile it yourself if you can set up the building environment. To compile these binaries, you need to run
make
inside theiso2mesh/tools
folderhttps://github.com/fangq/iso2mesh/tree/master/tools
you should also use
git submodule update --init --remote
to download all submodules under that folder. I anticipate setting up the compilation enviroment will take some time. currently, the included Makefile only works on Ubuntu Linux.
@fangq Hi, I am the teammate of @zhiweigong75. I tried two ways to use iso2mesh
.
- I installed
iso2mesh
byMATLAB Add-Ons
, when I calledvol2surf
, the MATLAB quit without reasons by just killing the process. Here is the error message:
sakuraxiao@ubuntu:~/Desktop/Statistical-Shape-Modeling/asm-master$ matlab
MATLAB is selecting SOFTWARE OPENGL rendering.
Killed
- I followed the instruction to compile
iso2mesh
. when I calledmake clean
, it gave me some errors and I had no idea to solve them. Here is the error message:
sakuraxiao@ubuntu:~/Desktop$ cd iso2mesh/
sakuraxiao@ubuntu:~/Desktop/iso2mesh$ rm -rf bin/*.mex* bin/*.exe
sakuraxiao@ubuntu:~/Desktop/iso2mesh$ cd tools
sakuraxiao@ubuntu:~/Desktop/iso2mesh/tools$ make clean
rm -rf built #../bin
for i in cgalmesh cgalsimp2 cgalsurf cork meshfix meshfix/contrib/JMeshLib/test tetgen; do make --no-print-directory -C $i clean; done
make[1]: *** No rule to make target 'clean'. Stop.
make[1]: *** No rule to make target 'clean'. Stop.
make[1]: *** No rule to make target 'clean'. Stop.
rm: cannot remove 'bin/off2obj': No such file or directory
Makefile:245: recipe for target 'clean' failed
make[1]: [clean] Error 1 (ignored)
rm: cannot remove 'lib/libcork.a': No such file or directory
Makefile:245: recipe for target 'clean' failed
make[1]: [clean] Error 1 (ignored)
rm: cannot remove 'lib/libcorkdebug.a': No such file or directory
Makefile:245: recipe for target 'clean' failed
make[1]: [clean] Error 1 (ignored)
make[1]: *** No rule to make target 'clean'. Stop.
rm -f -f *.o jmeshlib
/bin/rm *.o *.a tetgen *~
/bin/rm: cannot remove '*.o': No such file or directory
/bin/rm: cannot remove '*.a': No such file or directory
/bin/rm: cannot remove 'tetgen': No such file or directory
/bin/rm: cannot remove '*~': No such file or directory
makefile:58: recipe for target 'clean' failed
make[1]: *** [clean] Error 1
commons/Makefile_common.mk:108: recipe for target 'clean' failed
make: *** [clean] Error 2
OS INFO
PyTorch version: N/A
Is debug build: N/A
CUDA used to build PyTorch: N/A
ROCM used to build PyTorch: N/A
OS: Ubuntu 18.04.6 LTS (x86_64)
GCC version: (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
Clang version: Could not collect
CMake version: version 3.10.2
Libc version: glibc-2.25
Python version: 3.6.9 (default, Mar 15 2022, 13:55:28) [GCC 8.4.0] (64-bit runtime)
Python platform: Linux-5.4.0-122-generic-x86_64-with-Ubuntu-18.04-bionic
Is CUDA available: N/A
CUDA runtime version: Could not collect
GPU models and configuration: Could not collect
Nvidia driver version: Could not collect
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: N/A
Versions of relevant libraries:
[pip3] No relevant packages
[conda] Could not collect
Do you have any ideas about these two installation methods? Thank you in advance!
from iso2mesh.
@mikami520, if you run iso2mesh on Ubuntu Linux, you don't need to compile anything. the package should work out-of-box.
are you able to run the built-in examples in iso2mesh/sample
folder?
from iso2mesh.
Related Issues (20)
- Recompile for Apple M1 Macs HOT 1
- smoothsurf works incorrectly HOT 1
- The work of the meshing algorithm is ustable for big meshes HOT 3
- Submodule tools/meshfix points to non existent commit
- Issue when Installing Iso2mesh in cluster (remote computation resources) HOT 1
- Warning about shadowed core library HOT 3
- Merge tetra mesh with multiple elemID within enclosed surface HOT 2
- Iso2mesh ERROR using cgalv2m HOT 5
- cgalv2m does not create flat boundaries HOT 3
- Compiling issue HOT 1
- problem in installing and running iso2mesh in MATLAB HOT 1
- jmeshlib command failed: ERROR- Can't open file. HOT 1
- saveinr() not working for single (float) volumes
- Using qmeshcut to compute an isosurface from an arbitrary grid of points HOT 10
- Binaries for M1/M2 Mac? HOT 3
- Fail to clone submodules. HOT 2
- Compile iso2mesh for ARM Mac HOT 12
- Iso2Mesh Coordinate system origin
- Error using surf2mesh - Error using fscanf Invalid file identifier. Use fopen to generate a valid file identifier.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iso2mesh.