Comments (17)
from c3d.
I am trying to build a conda-forge package for convert3d and only ITK 5 is available hence my request.
So far, I am stuck with the MorphologicalContourInterpolation
dependency which is not available right now. It is still a ITK Remote module and they are not built by default on conda-forge.
Have you got any plans to merge it to the main branch at some point and tag a new release?
from c3d.
from c3d.
I added a CMake option CONVERT3D_USE_ITK_REMOTE_MODULES
Brilliant. Thank you so much.
Progress on the conda-forge package is here btw:
conda-forge/staged-recipes#15090
from c3d.
@pyushkevich fyi, you've got a few deprecated usage of VNL:
2021-06-02T13:50:33.0095954Z ../utilities/AffineTransformTool.cxx: In function 'void quart_print(MatrixType&)':
2021-06-02T13:50:33.0103364Z ../utilities/AffineTransformTool.cxx:224:22: warning: 'vnl_matrix_fixed<T, num_rows, num_cols>::operator const vnl_matrix_ref<T>() const [with T = double; unsigned int num_rows = 3; unsigned int num_cols = 3]' is deprecated: Implicit cast conversion is dangerous.\nUSE: .as_matrix() or .as_ref() member function for clarity. [-Wdeprecated-declarations]
2021-06-02T13:50:33.0109852Z 224 | vnl_qr<double> qr(A);
2021-06-02T13:50:33.0115455Z | ^
2021-06-02T13:50:33.0122988Z In file included from $PREFIX/include/ITK-5.2/vnl/vnl_matrix_fixed.hxx:9,
2021-06-02T13:50:33.0138077Z from $PREFIX/include/ITK-5.2/itkMatrix.h:25,
2021-06-02T13:50:33.0139307Z from $PREFIX/include/ITK-5.2/itkImageBase.h:34,
2021-06-02T13:50:33.0140319Z from $PREFIX/include/ITK-5.2/itkNeighborhoodAccessorFunctor.h:22,
2021-06-02T13:50:33.0141315Z from $PREFIX/include/ITK-5.2/itkImage.h:28,
2021-06-02T13:50:33.0142074Z from ../itkextras/itkOrientedRASImage.h:4,
2021-06-02T13:50:33.0142942Z from ../utilities/AffineTransformTool.cxx:26:
2021-06-02T13:50:33.0143874Z $PREFIX/include/ITK-5.2/vnl/vnl_matrix_fixed.h:687:3: note: declared here
2021-06-02T13:50:33.0144879Z 687 | operator const vnl_matrix_ref<T>() const { return this->as_ref(); }
2021-06-02T13:50:33.0145535Z | ^~~~~~~~
2021-06-02T13:50:33.0146426Z ../utilities/AffineTransformTool.cxx: In function 'void irtk_write(MatrixStack&, const char*)':
2021-06-02T13:50:33.0148302Z ../utilities/AffineTransformTool.cxx:353:22: warning: 'vnl_matrix_fixed<T, num_rows, num_cols>::operator const vnl_matrix_ref<T>() const [with T = double; unsigned int num_rows = 3; unsigned int num_cols = 3]' is deprecated: Implicit cast conversion is dangerous.\nUSE: .as_matrix() or .as_ref() member function for clarity. [-Wdeprecated-declarations]
2021-06-02T13:50:33.0149572Z 353 | vnl_qr<double> qr(A);
2021-06-02T13:50:33.0150115Z | ^
2021-06-02T13:50:33.0150942Z In file included from $PREFIX/include/ITK-5.2/vnl/vnl_matrix_fixed.hxx:9,
2021-06-02T13:50:33.0151939Z from $PREFIX/include/ITK-5.2/itkMatrix.h:25,
2021-06-02T13:50:33.0152883Z from $PREFIX/include/ITK-5.2/itkImageBase.h:34,
2021-06-02T13:50:33.0154181Z from $PREFIX/include/ITK-5.2/itkNeighborhoodAccessorFunctor.h:22,
2021-06-02T13:50:33.0155183Z from $PREFIX/include/ITK-5.2/itkImage.h:28,
2021-06-02T13:50:33.0156182Z from ../itkextras/itkOrientedRASImage.h:4,
2021-06-02T13:50:33.0156924Z from ../utilities/AffineTransformTool.cxx:26:
2021-06-02T13:50:33.0158004Z $PREFIX/include/ITK-5.2/vnl/vnl_matrix_fixed.h:687:3: note: declared here
2021-06-02T13:50:33.0159361Z 687 | operator const vnl_matrix_ref<T>() const { return this->as_ref(); }
2021-06-02T13:50:33.0160026Z | ^~~~~~~~
from c3d.
There is also an occurrence of: FIND_LIBRARY(FFTW_LIB fftw3f)
but it looks like it's not used anywhere directly and the conda-forge tooling complains of overlinkage.
Aren't FFT features provided by ITK in your case?
from c3d.
Apart from that, the binaries build fine on the conda-forge infrastructure so we are quite close modulo the overlinking issue.
from c3d.
from c3d.
Actually, you've got and explicit dependency on FFTW here.
from c3d.
from c3d.
Thanks, I am rebasing the package onto your latest commit.
Do you want to be added as co-maintainer of the conda-forge repo?
from c3d.
from c3d.
from c3d.
The conda-forge package is ready for review. @pyushkevich would you mind tagging the current version of the code with a new one (v1.3.0?) so I can reference a proper release tarball in the conda-forge recipe?
Cheers.
from c3d.
from c3d.
I check the conda-forge recipe, and found:
export CFLAGS="${CFLAGS} -I ${PREFIX}/include/eigen3"
export CXXFLAGS="${CXXFLAGS} -I ${PREFIX}/include/eigen3"
so, why not add -I ${PREFIX}/include/eigen3
to https://github.com/pyushkevich/c3d/blob/master/CMakeLists.txt
?
add this line:
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -I/usr/include/eigen3")
to https://github.com/pyushkevich/c3d/blob/master/CMakeLists.txt
line 18.
from c3d.
Forgot to close this issue. A conda package has been available for a while now.
from c3d.
Related Issues (15)
- Compilation problem on Fedora HOT 5
- -pad-to issue HOT 1
- -trans CLI option not recognised HOT 2
- Building C3D on Ubuntu 20.04 HOT 3
- -resample-iso raises the exception Unknown command HOT 5
- Enable processing 4d size vector for c4d
- Offset in wrapped voxels with -wrap command
- fail to build c3d with the master branch HOT 1
- -rms doesn't compute RMS HOT 2
- Failed to build on Ubuntu 20.04 HOT 1
- cli option to set value for SetGlobalDefaultCoordinateTolerance / SetGlobalDefaultDirectionTolerance HOT 2
- Misplaced parenthesis in -resample-mm HOT 1
- Fails to build with a modern toolchain on conda-forge HOT 1
- -origin not using NIFTI coordinates
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 c3d.