[vtkusers] GDCM installation problem (openGL?)

mbcx9rb9 richard.j.brown at live.co.uk
Wed Nov 16 10:11:07 EST 2016


I'm trying to install VTK 7.1 and GDCM 2.6.3 on a Mac (OS Sierra).

VTK compiles without any problems, but installing GDCM after that always
blocks on the vtkGDCM classes. We've tried both with OpenGL and OpenGL2 and
although the errors are different, neither works. 

Below is an example error. 

Any thoughts?

[ 97%] Linking CXX shared library ../../bin/libvtkgdcm.dylib
Undefined symbols for architecture x86_64:
  "vtkRenderingOpenGL_AutoInit_Destruct()", referenced from:
      vtkRenderingOpenGL_ModuleInit::~vtkRenderingOpenGL_ModuleInit() in
vtkGDCMImageReader.cxx.o
      vtkRenderingCore_AutoInit::~vtkRenderingCore_AutoInit() in
vtkGDCMImageReader.cxx.o
      vtkRenderingOpenGL_ModuleInit::~vtkRenderingOpenGL_ModuleInit() in
vtkGDCMImageWriter.cxx.o
      vtkRenderingOpenGL_ModuleInit::~vtkRenderingOpenGL_ModuleInit() in
vtkGDCMThreadedImageReader.cxx.o
      vtkRenderingCore_AutoInit::~vtkRenderingCore_AutoInit() in
vtkGDCMImageReader2.cxx.o
      vtkRenderingCore_AutoInit::~vtkRenderingCore_AutoInit() in
vtkImageColorViewer.cxx.o
  "vtkRenderingOpenGL_AutoInit_Construct()", referenced from:
      vtkRenderingOpenGL_ModuleInit::vtkRenderingOpenGL_ModuleInit() in
vtkGDCMImageReader.cxx.o
      vtkRenderingCore_AutoInit::vtkRenderingCore_AutoInit() in
vtkGDCMImageReader.cxx.o
      vtkRenderingOpenGL_ModuleInit::vtkRenderingOpenGL_ModuleInit() in
vtkGDCMImageWriter.cxx.o
      vtkRenderingOpenGL_ModuleInit::vtkRenderingOpenGL_ModuleInit() in
vtkGDCMThreadedImageReader.cxx.o
      vtkRenderingCore_AutoInit::vtkRenderingCore_AutoInit() in
vtkGDCMImageReader2.cxx.o
      vtkRenderingCore_AutoInit::vtkRenderingCore_AutoInit() in
vtkImageColorViewer.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/libvtkgdcm.2.6.6.dylib] Error 1
make[1]: *** [Utilities/VTK/CMakeFiles/vtkgdcm.dir/all] Error 2
make: *** [all] Error 2



--
View this message in context: http://vtk.1045678.n5.nabble.com/GDCM-installation-problem-openGL-tp5741192.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list