[ITK] Building ITK examples with VTK 6.2

michkapopoff at gmail.com michkapopoff at gmail.com
Sun Apr 19 04:59:35 EDT 2015


Hi

I built the ITK examples (https://github.com/InsightSoftwareConsortium/ITKExamples <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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20150419/6b32b551/attachment-0001.html>


More information about the Community mailing list