[ITK] [ITK-users] Error converting ITK to VTK

viana vianamp at gmail.com
Fri May 22 15:49:52 EDT 2015


Sorry, I am not using CMake. This is my make file. It compiles and runs fine
if I comment the lines:

  // ITK2VTK::Pointer Filter = ITK2VTK::New();
  // Filter -> SetInput(conv->GetOutput());
  // Filter -> Update();

-m

Makefile:
----------

CC = g++

DFLAG = -DDEBUG

CFLAGS = -O1 -O2 -O3 -Os

VTK_LIBS_DIR = /usr/local/lib/

VTK_INCLUDE_DIR = /usr/local/include/vtk-6.2/

ITK_INCLUDE_DIR = /usr/local/include/ITK-4.7/

VTK_DYN_LIBS = -lvtkImagingCore-6.2 -lvtkCommonMisc-6.2
-lvtkFiltersSources-6.2 -lvtkFiltersCore-6.2 -lvtkImagingFourier-6.2
-lvtkImagingGeneral-6.2 -lvtkCommonDataModel-6.2 -lvtkCommonCore-6.2
-lvtkCommonTransforms-6.2 -lvtkIOLegacy-6.2 -lvtkCommonExecutionModel-6.2
-lvtkIOCore-6.2 -lvtkIOImage-6.2 -lvtkRenderingFreeType-6.2
-lvtkFiltersGeneral-6.2

ITK_DYN_LIBS = -lITKIOVTK-4.7 -lITKIOStimulate-4.7 -lITKIOBioRad-4.7
-lITKIOLSM-4.7 -lITKIOGDCM-4.7 -litkgdcmMSFF-4.7 -litkgdcmDSED-4.7
-litkgdcmDICT-4.7 -litkgdcmIOD-4.7 -lITKIOHDF5-4.7 -lITKIOTransformHDF5-4.7
-litkhdf5_cpp-4.7 -lITKIOMeta-4.7 -lITKIONIFTI-4.7 -lITKIOImageBase-4.7
-lITKDICOMParser-4.7 -lITKIOGE-4.7 -lITKIOBMP-4.7 -lITKIOPNG-4.7
-lITKIOGIPL-4.7 -litkgdcmjpeg12-4.7 -litkgdcmjpeg16-4.7 -litkgdcmjpeg8-4.7
-lITKIOJPEG-4.7 -lITKIOTIFF-4.7 -lITKSpatialObjects-4.7 -lITKMetaIO-4.7
-lITKEXPAT-4.7 -lITKniftiio-4.7 -lITKgiftiio-4.7 -lITKznz-4.7
-litkgdcmCommon-4.7 -litkjpeg-4.7 -litkopenjpeg-4.7 -litkpng-4.7
-litktiff-4.7 -litkhdf5-4.7 -litkzlib-4.7 -lITKIONRRD-4.7 -lITKCommon-4.7
-lITKNrrdIO-4.7 -lITKVNLInstantiation-4.7 -litkvnl_algo-4.7
-litkv3p_netlib-4.7 -litkv3p_lsqr-4.7 -litkvnl-4.7 -litkvcl-4.7 -litksys-4.7
-lITKStatistics-4.7

debug: test.cpp
	@$(CC) $(DFLAG) $(CFLAGS) test.cpp -o test $(VTK_DYN_LIBS) $(ITK_DYN_LIBS)
-I$(VTK_INCLUDE_DIR) -I$(ITK_INCLUDE_DIR)




--
View this message in context: http://itk-insight-users.2283740.n2.nabble.com/Error-converting-ITK-to-VTK-tp7587392p7587396.html
Sent from the ITK Insight Users mailing list archive at Nabble.com.
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list