[ITK] Building ITK examples with VTK 6.2

Matt McCormick matt.mccormick at kitware.com
Mon Apr 20 15:14:06 EDT 2015


Hi Michka and Bill,

Thanks for the note.  I will try to reproduce on the given system.

Thanks,
Matt

On Sun, Apr 19, 2015 at 7:50 AM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> Actually, I see the warnings for even a small vtk/itk project.any vtk
> / itk project.
>
> On Sun, Apr 19, 2015 at 7:45 AM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
>> I have also seen these warnings. They started a while back.
>>
>> On Apr 19, 2015 4:59 AM, <michkapopoff at gmail.com> wrote:
>>>
>>> Hi
>>>
>>> I built the ITK examples
>>> (https://github.com/InsightSoftwareConsortium/ITKExamples)
>>> on OS X 10.10 with ITK 4.8 and VTK 6.2. I got a bunch of warnings and
>>> errors.
>>> Matt; can one of our ITK examples build bots be updated to VTK 6.2 ?
>>> And has anybody an idea on what is going on ?
>>>
>>> Michka
>>>
>>>
>>> In file included from <built-in>:326:
>>> <command line>:4:9: warning: 'vtkRenderingCore_AUTOINIT' macro redefined
>>> [-Wmacro-redefined]
>>> #define vtkRenderingCore_AUTOINIT
>>> 4(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingFreeTypeOpenGL,vtkRenderingOpenGL)
>>>         ^
>>> <command line>:3:9: note: previous definition is here
>>> #define vtkRenderingCore_AUTOINIT
>>> 3(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingOpenGL)
>>>         ^
>>> 1 warning generated.
>>>
>>>
>>> And:
>>>
>>>
>>> Linking CXX executable
>>> ../../../../bin/VisualizeStaticWhitaker2DLevelSetLayers
>>> Linking CXX executable
>>> ../../../../bin/VisualizeStaticDense2DLevelSetAsElevationMap
>>> Linking CXX executable
>>> ../../../../bin/VisualizeStaticDense2DLevelSetZeroSet
>>> Linking CXX executable ../../../../bin/VisualizeStaticShi2DLevelSetLayers
>>> Undefined symbols for architecture x86_64:
>>>   "vtkRenderingFreeTypeOpenGL_AutoInit_Destruct()", referenced from:
>>>       vtkRenderingCore_AutoInit::~vtkRenderingCore_AutoInit() in
>>> Code.cxx.o
>>> Undefined symbols for architecture x86_64:
>>>   "vtkRenderingFreeTypeOpenGL_AutoInit_Destruct()", referenced from:
>>>       vtkRenderingCore_AutoInit::~vtkRenderingCore_AutoInit() in
>>> Code.cxx.o
>>> Undefined symbols for architecture x86_64:
>>>   "vtkRenderingFreeTypeOpenGL_AutoInit_Destruct()", referenced from:
>>>       vtkRenderingCore_AutoInit::~vtkRenderingCore_AutoInit() in
>>> Code.cxx.o
>>>   "vtkRenderingFreeTypeOpenGL_AutoInit_Construct()", referenced from:
>>>       vtkRenderingCore_AutoInit::vtkRenderingCore_AutoInit() in Code.cxx.o
>>>   "vtkRenderingFreeTypeOpenGL_AutoInit_Construct()", referenced from:
>>>       vtkRenderingCore_AutoInit::vtkRenderingCore_AutoInit() in Code.cxx.o
>>>   "vtkRenderingFreeTypeOpenGL_AutoInit_Construct()", referenced from:
>>>       vtkRenderingCore_AutoInit::vtkRenderingCore_AutoInit() in Code.cxx.o
>>>   "vtkRenderingFreeTypeFontConfig_AutoInit_Destruct()", referenced from:
>>>       vtkRenderingFreeType_AutoInit::~vtkRenderingFreeType_AutoInit() in
>>> Code.cxx.o
>>>   "vtkRenderingFreeTypeFontConfig_AutoInit_Destruct()", referenced from:
>>>   "vtkRenderingFreeTypeFontConfig_AutoInit_Construct()", referenced from:
>>>       vtkRenderingFreeType_AutoInit::~vtkRenderingFreeType_AutoInit() in
>>> Code.cxx.o
>>>       vtkRenderingFreeType_AutoInit::vtkRenderingFreeType_AutoInit() in
>>> Code.cxx.o
>>>   "vtkRenderingFreeTypeFontConfig_AutoInit_Destruct()", referenced from:
>>>       vtkRenderingFreeType_AutoInit::~vtkRenderingFreeType_AutoInit() in
>>> Code.cxx.o
>>>   "vtkRenderingFreeTypeFontConfig_AutoInit_Construct()", referenced from:
>>>       vtkRenderingFreeType_AutoInit::vtkRenderingFreeType_AutoInit() in
>>> Code.cxx.o
>>>   "vtkRenderingFreeTypeFontConfig_AutoInit_Construct()", referenced from:
>>>       vtkRenderingFreeType_AutoInit::vtkRenderingFreeType_AutoInit() in
>>> Code.cxx.o
>>> ld: symbol(s) not found for architecture x86_64
>>> ld: symbol(s) not found for architecture x86_64
>>> ld: symbol(s) not found for architecture x86_64
>>> clang: error: linker command failed with exit code 1 (use -v to see
>>> invocation)
>>> make[2]: *** [bin/VisualizeStaticWhitaker2DLevelSetLayers] Error 1
>>> clang: error: linker command failed with exit code 1 (use -v to see
>>> invocation)
>>> make[1]: ***
>>> [src/Segmentation/LevelSetsv4Visualization/VisualizeStaticWhitaker2DLevelSetLayers/CMakeFiles/VisualizeStaticWhitaker2DLevelSetLayers.dir/all]
>>> Error 2
>>> make[1]: *** Waiting for unfinished jobs....
>>> clang: error: linker command failed with exit code 1 (use -v to see
>>> invocation)
>>> make[2]: make[2]: *** [bin/VisualizeStaticDense2DLevelSetAsElevationMap]
>>> Error 1*** [bin/VisualizeStaticDense2DLevelSetZeroSet] Error 1
>>>
>>> make[1]: ***
>>> [src/Segmentation/LevelSetsv4Visualization/VisualizeStaticDense2DLevelSetZeroSet/CMakeFiles/VisualizeStaticDense2DLevelSetZeroSet.dir/all]
>>> Error 2
>>> make[1]: ***
>>> [src/Segmentation/LevelSetsv4Visualization/VisualizeStaticDense2DLevelSetAsElevationMap/CMakeFiles/VisualizeStaticDense2DLevelSetAsElevationMap.dir/all]
>>> Error 2
>>> Undefined symbols for architecture x86_64:
>>>   "vtkRenderingFreeTypeOpenGL_AutoInit_Destruct()", referenced from:
>>>       vtkRenderingCore_AutoInit::~vtkRenderingCore_AutoInit() in
>>> Code.cxx.o
>>>   "vtkRenderingFreeTypeOpenGL_AutoInit_Construct()", referenced from:
>>>       vtkRenderingCore_AutoInit::vtkRenderingCore_AutoInit() in Code.cxx.o
>>>   "vtkRenderingFreeTypeFontConfig_AutoInit_Destruct()", referenced from:
>>>       vtkRenderingFreeType_AutoInit::~vtkRenderingFreeType_AutoInit() in
>>> Code.cxx.o
>>>   "vtkRenderingFreeTypeFontConfig_AutoInit_Construct()", referenced from:
>>>       vtkRenderingFreeType_AutoInit::vtkRenderingFreeType_AutoInit() in
>>> Code.cxx.o
>>> ld: symbol(s) not found for architecture x86_64
>>> clang: error: linker command failed with exit code 1 (use -v to see
>>> invocation)
>>> make[2]: *** [bin/VisualizeStaticShi2DLevelSetLayers] Error 1
>>> make[1]: ***
>>> [src/Segmentation/LevelSetsv4Visualization/VisualizeStaticShi2DLevelSetLayers/CMakeFiles/VisualizeStaticShi2DLevelSetLayers.dir/all]
>>> Error 2
>>> make: *** [all] Error 2
>>>
>>> _______________________________________________
>>> Community mailing list
>>> Community at itk.org
>>> http://public.kitware.com/mailman/listinfo/community
>>>
>>
>
>
>
> --
> Unpaid intern in BillsBasement at noware dot com
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/mailman/listinfo/community


More information about the Community mailing list