Giter VIP home page Giter VIP logo

Comments (6)

TZsong avatar TZsong commented on June 10, 2024

I ran into the same problem by going directly to the ubuntu image and following the steps to compile manually.

from dicomtomesh.

TZsong avatar TZsong commented on June 10, 2024

Does this software not support the latest version of macos? My computer version is mac sonoma based on arm64

from dicomtomesh.

TZsong avatar TZsong commented on June 10, 2024

I fixed the problem after specifying the dockerfile introduced in Ubuntu as the amd64 platform, thanks

from dicomtomesh.

eidelen avatar eidelen commented on June 10, 2024

Hi,
I created the ppa package only for Ubunutu 18.04. I'm using the latest Sonoma version and the build process (cmake) works from scratch.
You write "I fixed the problem after specifying the dockerfile introduced in Ubuntu as the amd64 platform, thanks": Is there anything we can enhance / fix in our docker file? If so, I would be very glad if you can create a pull request and I take it into the main branch.
Thx,
Adrian

from dicomtomesh.

rtuszik avatar rtuszik commented on June 10, 2024

The Dockerfile is fine. However, your PPA only provides amd64 packages, so builds will fail for arm64. To ensure the build doesnโ€™t default to arm64 on Apple silicon, the command should be:

docker build --platform linux/amd64 -t dicom2mesh docker

Edit:
Tried spinning up a fork with a multi-arch image, but seems to need more work. Ubuntu 18.04 doesn't have an arm64 version of libvtk-7.

from dicomtomesh.

TZsong avatar TZsong commented on June 10, 2024

Hi, I created the ppa package only for Ubunutu 18.04. I'm using the latest Sonoma version and the build process (cmake) works from scratch. You write "I fixed the problem after specifying the dockerfile introduced in Ubuntu as the amd64 platform, thanks": Is there anything we can enhance / fix in our docker file? If so, I would be very glad if you can create a pull request and I take it into the main branch. Thx, Adrian

Hi,
I think the command to run on an arm64 machine should be
docker build --platform linux/amd64 -t dicom2mesh docker
Or you can adjust your dockerfile
from --platform=linux/amd64 ubuntu:18.04

Then add the --platform amd64 argument to the docker run command as well,
docker run --platform linux/amd64 -v /dicom/files/:/data dicom2mesh -i /data -o /data/example.stl

from dicomtomesh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.