Git Product home page Git Product logo

Comments (3)

MartinKjunior avatar MartinKjunior commented on August 18, 2024

I've noticed something when I tried to build SimpleElastix using VS2022. One of the error messages said

9>LINK : fatal error LNK1181: cannot open input file 'C:\Users...\build\SimpleElastix\ITK-build\lib\Release\ITKIOJPEG2000-5.1.lib' [C:\Users...\build\SimpleElastix\SimpleITK-build\Wrapping\Python\SimpleITK_PYTHON.vcxproj]

The weird thing is that there is a file called ITKIOJPEG-5.1.lib, but not ITKIOJPEG2000-5.1.lib. I wonder if there is a mistake in the build or sth? After this the build ends with:

Done building project "SimpleITK.vcxproj" -- FAILED.

from simpleelastix.

RPGillespie6 avatar RPGillespie6 commented on August 18, 2024

Seeing this exact issue as well. This repo hasn't changed since April though so it probably means one of its external dependencies is not pinned. My guess is that whichever one is pulling in "OpenJPEG" needs to be pinned to a known-working commit or tag.

Edit:

As a workaround, looks like the Debug or Minimal Size Release build configurations work. It's only the "Release" build configuration that is currently broken.

from simpleelastix.

MartinKjunior avatar MartinKjunior commented on August 18, 2024

Long time no reply: the solution suggested by RPGillespie6 works. However, the support for this project (SimpleElastix) seems to have been dropped and instead the current way to work with Elastix in python is using ITK-elastix package. Unfortunately, this package is built on ITK instead of SimpleITK, so working with it is a bit trickier, but the package works perfectly fine after installing through pip and you don't need to build the whole project, like is the case with SimpleElastix, saving hours.

from simpleelastix.

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.