Giter Club home page Giter Club logo

Comments (6)

thewtex avatar thewtex commented on June 15, 2024

What is the state of Module_* related to VTK in the ITK build directory CMakeCache.txt file?

from itkvtkglue.

fbudin69500 avatar fbudin69500 commented on June 15, 2024

Everything was set to OFF originally inside the ITK build directory.

See the result of the following command:

more  CMakeCache.txt |grep -i vtk |grep -i module
ITKIOMeshVTK_BINARY_DIR:STATIC=/home/francois.budin/devel/itk/ITK/build/Modules/IO/MeshVTK
ITKIOMeshVTK_SOURCE_DIR:STATIC=/home/francois.budin/devel/itk/ITK/Modules/IO/MeshVTK
ITKIOVTK_BINARY_DIR:STATIC=/home/francois.budin/devel/itk/ITK/build/Modules/IO/VTK
ITKIOVTK_SOURCE_DIR:STATIC=/home/francois.budin/devel/itk/ITK/Modules/IO/VTK
ITKVTK_BINARY_DIR:STATIC=/home/francois.budin/devel/itk/ITK/build/Modules/Bridge/VTK
ITKVTK_SOURCE_DIR:STATIC=/home/francois.budin/devel/itk/ITK/Modules/Bridge/VTK
Module_ITKVtkGlue:BOOL=OFF
//ADVANCED property for variable: Module_ITKIOMeshVTK
Module_ITKIOMeshVTK-ADVANCED:INTERNAL=1
Module_ITKIOMeshVTK:INTERNAL=OFF
//ADVANCED property for variable: Module_ITKIOVTK
Module_ITKIOVTK-ADVANCED:INTERNAL=1
Module_ITKIOVTK:INTERNAL=OFF
//ADVANCED property for variable: Module_ITKVTK
Module_ITKVTK-ADVANCED:INTERNAL=1
Module_ITKVTK:INTERNAL=OFF
//ADVANCED property for variable: Module_ITKVtkGlue
Module_ITKVtkGlue-ADVANCED:INTERNAL=1
WRAP_ITK_MODULES:INTERNAL=ITKCommon;ITKFiniteDifference;ITKImageFilterBase;ITKCurvatureFlow;ITKStatistics;ITKTransform;ITKImageFunction;ITKImageGrid;ITKAnisotropicSmoothing;ITKImageCompose;ITKMesh;ITKSpatialObjects;ITKImageStatistics;ITKPath;ITKImageIntensity;ITKImageLabel;ITKLabelMap;ITKThresholding;ITKConnectedComponents;ITKMathematicalMorphology;ITKBinaryMathematicalMorphology;ITKNarrowBand;ITKDistanceMap;ITKQuadEdgeMesh;ITKFastMarching;ITKIOImageBase;ITKImageCompare;ITKSmoothing;ITKImageGradient;ITKImageSources;ITKImageFeature;ITKOptimizers;ITKLevelSets;ITKAntiAlias;ITKBiasCorrection;ITKBridgeNumPy;ITKClassifiers;ITKColormap;ITKFFT;ITKConvolution;ITKDeconvolution;ITKDisplacementField;ITKEigen;ITKRegistrationCommon;ITKPDEDeformableRegistration;ITKIOBMP;ITKIOBioRad;ITKIOBruker;ITKIOGDCM;ITKIOIPL;ITKIOGE;ITKIOGIPL;ITKIOHDF5;ITKIOJPEG;ITKIOJPEG2000;ITKIOTIFF;ITKIOLSM;ITKIOMINC;ITKIOMRC;ITKVoronoi;ITKIOMeshBase;ITKIOMeshBYU;ITKIOMeshFreeSurfer;ITKIOMeshGifti;ITKIOMeshOBJ;ITKIOMeshOFF;ITKIOMeshVTK;ITKIOMeta;ITKIONIFTI;ITKIONRRD;ITKIOPNG;ITKIORAW;ITKIOSiemens;ITKIOSpatialObjects;ITKIOStimulate;ITKIOTransformBase;ITKIOVTK;ITKImageFrequency;ITKImageFusion;ITKImageNoise;ITKLabelVoting;ITKOptimizersv4;ITKMetricsv4;ITKQuadEdgeMeshFiltering;ITKRegionGrowing;ITKRegistrationMethodsv4;ITKSuperPixel;ITKTestKernel;ITKVTK;ITKWatersheds

from itkvtkglue.

thewtex avatar thewtex commented on June 15, 2024

I could not reproduce this :-(

from itkvtkglue.

fbudin69500 avatar fbudin69500 commented on June 15, 2024

Everything was set to OFF originally inside the ITK build directory.

See the result of the following command:

more CMakeCache.txt |grep -i vtk |grep -i module
ITKIOMeshVTK_BINARY_DIR:STATIC=/home/francois.budin/devel/itk/ITK/build/Modules/IO/MeshVTK
ITKIOMeshVTK_SOURCE_DIR:STATIC=/home/francois.budin/devel/itk/ITK/Modules/IO/MeshVTK
ITKIOVTK_BINARY_DIR:STATIC=/home/francois.budin/devel/itk/ITK/build/Modules/IO/VTK
ITKIOVTK_SOURCE_DIR:STATIC=/home/francois.budin/devel/itk/ITK/Modules/IO/VTK
ITKVTK_BINARY_DIR:STATIC=/home/francois.budin/devel/itk/ITK/build/Modules/Bridge/VTK
ITKVTK_SOURCE_DIR:STATIC=/home/francois.budin/devel/itk/ITK/Modules/Bridge/VTK
Module_ITKVtkGlue:BOOL=OFF
//ADVANCED property for variable: Module_ITKIOMeshVTK
Module_ITKIOMeshVTK-ADVANCED:INTERNAL=1
Module_ITKIOMeshVTK:INTERNAL=OFF
//ADVANCED property for variable: Module_ITKIOVTK
Module_ITKIOVTK-ADVANCED:INTERNAL=1
Module_ITKIOVTK:INTERNAL=OFF
//ADVANCED property for variable: Module_ITKVTK
Module_ITKVTK-ADVANCED:INTERNAL=1
Module_ITKVTK:INTERNAL=OFF
//ADVANCED property for variable: Module_ITKVtkGlue
Module_ITKVtkGlue-ADVANCED:INTERNAL=1
WRAP_ITK_MODULES:INTERNAL=ITKCommon;ITKFiniteDifference;ITKImageFilterBase;ITKCurvatureFlow;ITKStatistics;ITKTransform;ITKImageFunction;ITKImageGrid;ITKAnisotropicSmoothing;ITKImageCompose;ITKMesh;ITKSpatialObjects;ITKImageStatistics;ITKPath;ITKImageIntensity;ITKImageLabel;ITKLabelMap;ITKThresholding;ITKConnectedComponents;ITKMathematicalMorphology;ITKBinaryMathematicalMorphology;ITKNarrowBand;ITKDistanceMap;ITKQuadEdgeMesh;ITKFastMarching;ITKIOImageBase;ITKImageCompare;ITKSmoothing;ITKImageGradient;ITKImageSources;ITKImageFeature;ITKOptimizers;ITKLevelSets;ITKAntiAlias;ITKBiasCorrection;ITKBridgeNumPy;ITKClassifiers;ITKColormap;ITKFFT;ITKConvolution;ITKDeconvolution;ITKDisplacementField;ITKEigen;ITKRegistrationCommon;ITKPDEDeformableRegistration;ITKIOBMP;ITKIOBioRad;ITKIOBruker;ITKIOGDCM;ITKIOIPL;ITKIOGE;ITKIOGIPL;ITKIOHDF5;ITKIOJPEG;ITKIOJPEG2000;ITKIOTIFF;ITKIOLSM;ITKIOMINC;ITKIOMRC;ITKVoronoi;ITKIOMeshBase;ITKIOMeshBYU;ITKIOMeshFreeSurfer;ITKIOMeshGifti;ITKIOMeshOBJ;ITKIOMeshOFF;ITKIOMeshVTK;ITKIOMeta;ITKIONIFTI;ITKIONRRD;ITKIOPNG;ITKIORAW;ITKIOSiemens;ITKIOSpatialObjects;ITKIOStimulate;ITKIOTransformBase;ITKIOVTK;ITKImageFrequency;ITKImageFusion;ITKImageNoise;ITKLabelVoting;ITKOptimizersv4;ITKMetricsv4;ITKQuadEdgeMeshFiltering;ITKRegionGrowing;ITKRegistrationMethodsv4;ITKSuperPixel;ITKTestKernel;ITKVTK;ITKWatersheds

from itkvtkglue.

melrobin avatar melrobin commented on June 15, 2024

I am having the same problem now, but with a different source file:
[ 5%] Generating ../../itkImageToVTKImageFilter.xml
cd /home/melrobin/packages/ITK/build/Wrapping/Modules/ITKVtkGlue && /usr/bin/ccache /home/melrobin/packages/ITK/build/Wrapping/Generators/CastXML/castxml/bin/castxml -o /home/melrobin/packages/ITK/build/Wrapping/itkImageToVTKImageFilter.xml --castxml-gccxml --castxml-start wrapping --castxml-cc-gnu "(" /usr/lib64/ccache/c++ -mtune=native -march=corei7 -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wshadow -Wunused -Wwrite-strings -funit-at-a-time -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual -Wstrict-null-sentinel -msse2 -msse2 -std=c++11 ")" -w -c @/home/melrobin/packages/ITK/build/Wrapping/ITKVtkGlue.castxml.inc /home/melrobin/packages/ITK/build/Wrapping/itkImageToVTKImageFilter.cxx
In file included from /home/melrobin/packages/ITK/build/Wrapping/itkImageToVTKImageFilter.cxx:16:
/home/melrobin/packages/ITK/Modules/Bridge/VtkGlue/include/itkImageToVTKImageFilter.h:22:10: fatal error:
'vtkImageImport.h' file not found
#include "vtkImageImport.h"
^~~~~~~~~~~~~~~~~~
1 error generated.

The include file does exist on my system, but the compiler flags do not have a path to this file.

from itkvtkglue.

thewtex avatar thewtex commented on June 15, 2024

@melrobin it is worth checking that we have the VTK targets listed that include vtkImageImport.h in your version of VTK.

from itkvtkglue.

Related Issues (11)

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.