[ITK] ITK configuration with CMake
Nandita Joshi
nandita.joshi at stonybrook.edu
Fri Nov 9 23:36:25 EST 2018
Thanks, Dženan! I am sorry, I meant to say there is no .Xcodeproj file (I
am so used to Visual Studio, I tend to use .sln interchangeably).
On Thu, Nov 8, 2018 at 10:19 AM Dženan Zukić <dzenanz at gmail.com> wrote:
> Hi Nandita,
>
> as there is no Visual Studio for OSX, you should have chosen some other
> generator, such as Ninja, Unix Makefiles, or XCode. And correspondingly,
> the expected files would be build.ninja, makefile or .xcodeproj.
>
> Regards,
> Dženan
>
> On Thu, Nov 8, 2018 at 10:10 AM Nandita Joshi <
> nandita.joshi at stonybrook.edu> wrote:
>
>> Hi Dženan,
>>
>> Thanks for your response. As I said in my post, I did try clicking
>> "Generate", but there is no .sln file created at all, which made me think
>> that it was because of this fail message "Performing Test
>> ITK_PRIVATE_DYNAMIC_CAST - Failed" (which is right below the warning).
>>
>> I also apologize that I forgot to mention in my post that I am trying to
>> run this on OS X 10.10.5.
>>
>> Thanks,
>> Nandita
>>
>>
>>
>>
>>
>>
>> On Thu, Nov 8, 2018 at 10:02 AM Dženan Zukić <dzenanz at gmail.com> wrote:
>>
>>> Hi Nandita,
>>>
>>> the text in red is a warning. "Configuring done" means there is no
>>> error. To get .sln file, you need to click the "Generate" button (which is
>>> next to "Configure" button). Newer versions of CMake also have "Open
>>> Project" button, which opens the generated .sln file (for Visual Studio
>>> generator).
>>>
>>> Regards,
>>> Dženan
>>>
>>> On Wed, Nov 7, 2018 at 7:17 PM Nandita Joshi <
>>> nandita.joshi at stonybrook.edu> wrote:
>>>
>>>> Hi,
>>>>
>>>> I have been trying to install ITK using CMake, but it seems like the
>>>> configuration hasn't been successful.
>>>>
>>>> While there is no configuration error, I am particularly concerned
>>>> about "Performing Test ITK_PRIVATE_DYNAMIC_CAST - Failed" because of
>>>> which I think there is no .sln created after clicking "Generate". Below is
>>>> the progress log from the build.
>>>>
>>>> I am currently running ITK 4.12.2 with CMake 3.12.4. I am using XCode
>>>> to compile.
>>>>
>>>> Any help will be appreciated.
>>>>
>>>> Thanks,
>>>> Nandita
>>>>
>>>> +++++++++++++++++++++++++++++++
>>>>
>>>> Enabled ITKAnisotropicSmoothing, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKAntiAlias, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKBiasCorrection, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKBinaryMathematicalMorphology, requested by
>>>> ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKBioCell, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKClassifiers, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKColormap, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKCommon, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKConnectedComponents, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKConvolution, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKCurvatureFlow, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKDICOMParser, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKDeconvolution, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKDeformableMesh, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKDenoising, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKDiffusionTensorImage, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKDisplacementField, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKDistanceMap, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKDoubleConversion, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKEigen, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKExpat, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKFEM, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKFEMRegistration, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKFFT, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKFastMarching, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKFiniteDifference, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKGDCM, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKGIFTI, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKGPUAnisotropicSmoothing, requested by
>>>> ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKGPUCommon, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKGPUFiniteDifference, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKGPUImageFilterBase, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKGPUPDEDeformableRegistration, requested by
>>>> ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKGPURegistrationCommon, requested by
>>>> ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKGPUSmoothing, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKGPUThresholding, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKHDF5, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKIOBMP, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKIOBioRad, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKIOCSV, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKIOGDCM, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKIOGE, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKIOGIPL, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKIOHDF5, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKIOIPL, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKIOImageBase, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKIOJPEG, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKIOLSM, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKIOMRC, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKIOMesh, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKIOMeta, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKIONIFTI, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKIONRRD, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKIOPNG, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKIORAW, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKIOSiemens, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKIOSpatialObjects, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKIOStimulate, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKIOTIFF, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKIOTransformBase, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKIOTransformHDF5, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKIOTransformInsightLegacy, requested by
>>>> ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKIOTransformMatlab, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKIOVTK, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKIOXML, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKImageAdaptors, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKImageCompare, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKImageCompose, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKImageFeature, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKImageFilterBase, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKImageFunction, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKImageFusion, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKImageGradient, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKImageGrid, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKImageIntensity, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKImageLabel, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKImageNoise, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKImageSources, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKImageStatistics, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKIntegratedTest, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKJPEG, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKKLMRegionGrowing, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKKWIML, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKKWSys, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKLabelMap, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKLabelVoting, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKLevelSets, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKLevelSetsv4, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKMarkovRandomFieldsClassifiers, requested by
>>>> ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKMathematicalMorphology, requested by
>>>> ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKMesh, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKMetaIO, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKMetricsv4, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKNIFTI, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKNarrowBand, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKNetlib, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKNeuralNetworks, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKNrrdIO, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKOptimizers, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKOptimizersv4, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKPDEDeformableRegistration, requested by
>>>> ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKPNG, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKPath, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKPolynomials, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKQuadEdgeMesh, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKQuadEdgeMeshFiltering, requested by
>>>> ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKRegionGrowing, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKRegistrationCommon, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKRegistrationMethodsv4, requested by
>>>> ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKSignedDistanceFunction, requested by
>>>> ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKSmoothing, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKSpatialFunction, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKSpatialObjects, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKStatistics, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKTIFF, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKTestKernel, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKThresholding, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKTransform, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKTransformFactory, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKVNL, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKVNLInstantiation, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKVTK, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKVideoCore, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKVideoFiltering, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKVideoIO, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKVoronoi, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKWatersheds, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> Enabled ITKZLIB, requested by ITK_BUILD_DEFAULT_MODULES.
>>>>
>>>> CMake Deprecation Warning at
>>>> Modules/ThirdParty/VNL/src/vxl/CMakeLists.txt:28 (cmake_policy):
>>>> The OLD behavior for policy CMP0033 will be removed from a future
>>>> version
>>>> of CMake.
>>>>
>>>> The cmake-policies(7) manual explains that the OLD behaviors of all
>>>> policies are deprecated and that a policy should be set to OLD only
>>>> under
>>>> specific short-term circumstances. Projects should be ported to the NEW
>>>> behavior and not rely on setting a policy to OLD.
>>>>
>>>> Adding -fPIC compiler flag to generate position independent code.
>>>>
>>>> Performing Test ITK_PRIVATE_DYNAMIC_CAST - Failed
>>>>
>>>> Performing TEST_DIRECT_VFD_WORKS... no
>>>>
>>>> Filter ZLIB is ON
>>>> Configuring done
>>>> +++++++++++++++++++++++++++++++
>>>> ____________________
>>>> Nandita Joshi
>>>> Doctoral Candidate, Electrical Engineering
>>>> Graduate Research Assistant, Center for Understanding Biology using
>>>> Imaging Technology (CUBIT)
>>>> Department of Electrical and Computer Engineering
>>>> Department of Psychiatry
>>>> Stony Brook University
>>>> HSC T-10 041O
>>>> Stony Brook, New York 11794
>>>>
>>>>
>>>>
>>>> The ITK community is transitioning from this mailing list to
>>>> discourse.itk.org. Please join us there!
>>>> ________________________________________
>>>> Community mailing list
>>>> Community at itk.org
>>>> https://itk.org/mailman/listinfo/community
>>>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://itk.org/pipermail/community/attachments/20181109/94e219bf/attachment-0001.html>
More information about the Community
mailing list