[Insight-users] Using ITK with visual studio and not cmake
John Drescher
drescherjm at gmail.com
Mon Oct 19 13:37:10 EDT 2009
On Mon, Oct 19, 2009 at 1:28 PM, Mark Roden <mmroden at gmail.com> wrote:
> That would be extremely helpful, thanks!
>
The following is from a Lung Analysis program that uses VTK, ITK, Qt,
boost, gdcm and a few in-house libraries.
Here goes..
Include Folders:
AdditionalIncludeDirectories="X:\32Bit\VC.80\Libraries\gdcm-svn;X:\32Bit\VC.80\Libraries\ITK-3.16\Utilities\vxl\core;X:\32Bit\VC.80\Libraries\ITK-3.16\Utilities\vxl\vcl;X:\32Bit\VC.80\Libraries\ITK-3.16\Utilities\vxl\v3p\netlib;X:\CMakeBased\Libraries\InsightToolkit-3.16.0\Utilities\vxl\core;X:\CMakeBased\Libraries\InsightToolkit-3.16.0\Utilities\vxl\vcl;X:\CMakeBased\Libraries\InsightToolkit-3.16.0\Utilities\vxl\v3p\netlib;X:\CMakeBased\Libraries\InsightToolkit-3.16.0\Code\Numerics\Statistics;X:\CMakeBased\Libraries\InsightToolkit-3.16.0\Utilities;X:\32Bit\VC.80\Libraries\ITK-3.16\Utilities;X:\CMakeBased\Libraries\InsightToolkit-3.16.0\Utilities\itkExtHdrs;X:\CMakeBased\Libraries\InsightToolkit-3.16.0\Utilities\nifti\znzlib;X:\CMakeBased\Libraries\InsightToolkit-3.16.0\Utilities\nifti\niftilib;X:\CMakeBased\Libraries\InsightToolkit-3.16.0\Utilities\expat;X:\32Bit\VC.80\Libraries\ITK-3.16\Utilities\expat;X:\32Bit\VC.80\Libraries\ITK-3.16\Utilities\DICOMParser;X:\CMakeBased\Libraries\InsightToolkit-3.16.0\Utilities\DICOMParser;X:\32Bit\VC.80\Libraries\ITK-3.16\Utilities\NrrdIO;X:\CMakeBased\Libraries\InsightToolkit-3.16.0\Utilities\NrrdIO;X:\CMakeBased\Libraries\InsightToolkit-3.16.0\Utilities\MetaIO;X:\CMakeBased\Libraries\InsightToolkit-3.16.0\Code\SpatialObject;X:\CMakeBased\Libraries\InsightToolkit-3.16.0\Code\Numerics\NeuralNetworks;X:\CMakeBased\Libraries\InsightToolkit-3.16.0\Code\Numerics\FEM;X:\CMakeBased\Libraries\InsightToolkit-3.16.0\Code\IO;X:\CMakeBased\Libraries\InsightToolkit-3.16.0\Code\Numerics;X:\CMakeBased\Libraries\InsightToolkit-3.16.0\Code\Common;X:\CMakeBased\Libraries\InsightToolkit-3.16.0\Code\BasicFilters;X:\CMakeBased\Libraries\InsightToolkit-3.16.0\Code\Algorithms;X:\32Bit\VC.80\Libraries\ITK-3.16;X:\32Bit\VC.80\Qt\LungAnalysis;"C:\Program
Files (x86)\UPMC\BZ_Airway\include";"C:\Program Files
(x86)\UPMC\CT_Imaging\include";"C:\Program Files
(x86)\UPMC\SCP_LS\include";"C:\Program Files
(x86)\UPMC\JPU_Lobe\include";X:\CMakeBased\Qt\LungAnalysis\Libraries\External\kwCoreLib\include;X:\32Bit\VC.80\Qt\LungAnalysis\Libraries\External\kwCoreLib;X:\CMakeBased\Qt\LungAnalysis\Libraries\External\ideality\include;X:\32Bit\VC.80\Qt\LungAnalysis\Libraries\External\ideality;X:\CMakeBased\Qt\LungAnalysis\Libraries\External\lavtkINRIA3D\include;X:\32Bit\VC.80\Qt\LungAnalysis\Libraries\External\lavtkINRIA3D;X:\CMakeBased\Qt\LungAnalysis\Libraries\Internal\laBase\Include;X:\32Bit\VC.80\Qt\LungAnalysis\Libraries\Internal\laBase;X:\CMakeBased\Qt\LungAnalysis\Libraries\Internal\laFilters\include;X:\32Bit\VC.80\Qt\LungAnalysis\Libraries\Internal\laFilters;X:\CMakeBased\Qt\LungAnalysis\Libraries\Internal\laResults\include;X:\32Bit\VC.80\Qt\LungAnalysis\Libraries\Internal\laResults;X:\CMakeBased\Qt\LungAnalysis\Libraries\Internal\laDocView\include;X:\32Bit\VC.80\Qt\LungAnalysis\Libraries\Internal\laDocView;X:\CMakeBased\Qt\LungAnalysis\Libraries\Internal\laGUI\include;X:\32Bit\VC.80\Qt\LungAnalysis\Libraries\Internal\laGUI;X:\CMakeBased\Qt\LungAnalysis\Libraries\Internal\laDICOM\include;X:\32Bit\VC.80\Qt\LungAnalysis\Libraries\Internal\laDICOM;X:\CMakeBased\Qt\LungAnalysis\Libraries\Internal\laAnalysis\include;X:\32Bit\VC.80\Qt\LungAnalysis\Libraries\Internal\laAnalysis;X:\CMakeBased\Qt\LungAnalysis\Libraries\Internal\laBatchProcessing\include;X:\32Bit\VC.80\Qt\LungAnalysis\Libraries\Internal\laBatchProcessing;"C:\Program
Files (x86)\UPMC\QtBasicUtils\include";X:\32Bit\VC.80\Libraries\qt-win-opensource-src-4.4.3\include;X:\32Bit\VC.80\Libraries\qt-win-opensource-src-4.4.3\include\QtGui;X:\32Bit\VC.80\Libraries\qt-win-opensource-src-4.4.3\include\QtXml;X:\32Bit\VC.80\Libraries\qt-win-opensource-src-4.4.3\include\QtNetwork;X:\32Bit\VC.80\Libraries\qt-win-opensource-src-4.4.3\include\QtCore;X:\CMakeBased\Libraries\gdcm-svn\Source\Common;X:\32Bit\VC.80\Libraries\gdcm-svn\Source\Common;X:\CMakeBased\Libraries\gdcm-svn\Source\DataStructureAndEncodingDefinition;X:\CMakeBased\Libraries\gdcm-svn\Source\MediaStorageAndFileFormat;X:\CMakeBased\Libraries\gdcm-svn\Source\DataDictionary;X:\CMakeBased\Libraries\gdcm-svn\Source\InformationObjectDefinition;X:\CMakeBased\Libraries\gdcm-svn\Utilities\C99;X:\32Bit\VC.80\Libraries\VTK-5.4;X:\32Bit\VC.80\Libraries\VTK-5.4\Common;X:\32Bit\VC.80\Libraries\VTK-5.4\Utilities;X:\32Bit\VC.80\Libraries\VTK-5.4\VolumeRendering;X:\32Bit\VC.80\Libraries\VTK-5.4\Rendering;X:\32Bit\VC.80\Libraries\VTK-5.4\Utilities\vtkalglib;X:\CMakeBased\Libraries\VTK-5.4\Infovis;X:\CMakeBased\Libraries\VTK-5.4\Geovis;X:\CMakeBased\Libraries\VTK-5.4\Views;X:\CMakeBased\Libraries\VTK-5.4\VolumeRendering;X:\CMakeBased\Libraries\VTK-5.4\Hybrid;X:\CMakeBased\Libraries\VTK-5.4\Widgets;X:\CMakeBased\Libraries\VTK-5.4\Rendering;X:\CMakeBased\Libraries\VTK-5.4\Rendering\Testing\Cxx;X:\CMakeBased\Libraries\VTK-5.4\IO;X:\CMakeBased\Libraries\VTK-5.4\Imaging;X:\CMakeBased\Libraries\VTK-5.4\Graphics;X:\CMakeBased\Libraries\VTK-5.4\GenericFiltering;X:\CMakeBased\Libraries\VTK-5.4\Filtering;X:\CMakeBased\Libraries\VTK-5.4\Common;X:\CMakeBased\Libraries\VTK-5.4\Utilities;X:\CMakeBased\Libraries\VTK-5.4\Common\Testing\Cxx;X:\32Bit\VC.80\Libraries\VTK-5.4\Utilities\vtklibproj4;X:\CMakeBased\Libraries\VTK-5.4\Utilities\vtklibproj4;X:\32Bit\VC.80\Libraries\VTK-5.4\Utilities\DICOMParser;X:\CMakeBased\Libraries\VTK-5.4\Utilities\DICOMParser;X:\32Bit\VC.80\Libraries\VTK-5.4\Utilities\vtkfreetype\include;X:\CMakeBased\Libraries\VTK-5.4\Utilities\vtkfreetype\include;X:\32Bit\VC.80\Libraries\VTK-5.4\Utilities\vtknetcdf;X:\CMakeBased\Libraries\VTK-5.4\Utilities\vtknetcdf;X:\32Bit\VC.80\Libraries\VTK-5.4\Utilities\vtkexodus2\include;X:\CMakeBased\Libraries\VTK-5.4\Utilities\vtkexodus2\include;X:\32Bit\VC.80\Libraries\VTK-5.4\Utilities\MaterialLibrary;X:\CMakeBased\Libraries\VTK-5.4\Utilities\MaterialLibrary;X:\32Bit\VC.80\Libraries\VTK-5.4\Utilities\verdict;X:\CMakeBased\Libraries\VTK-5.4\Utilities\verdict;X:\CMakeBased\Libraries\VTK-5.4\GUISupport\Qt;X:\32Bit\VC.80\Libraries\VTK-5.4\GUISupport\Qt;X:\CMakeBased\Libraries\VTK-5.4\GUISupport\Qt\Chart;X:\32Bit\VC.80\Libraries\VTK-5.4\GUISupport\Qt\Chart;X:\CMakeBased\Libraries\VTK-5.4\Utilities\vtkalglib;X:\boost\boost;X:\CMakeBased\Qt\LungAnalysis\.;X:\CMakeBased\Qt\LungAnalysis\Include;"
Link libraries:
AdditionalDependencies="$(NOINHERIT) kernel32.lib user32.lib gdi32.lib
winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib
advapi32.lib BZ_Airway_d_2005.lib CT_Imaging_d_2005.lib
SCP_LS_d_2005.lib CT_Imaging_d_2005.lib JPU_Lobe_d_2005.lib BLASd.lib
libf77d.lib clapackd.lib bin\Debug\kwCoreLib.lib
bin\Debug\ideality.lib bin\Debug\lavtkINRIA3D.lib bin\Debug\laBase.lib
bin\Debug\laFilters.lib bin\Debug\laResults.lib
bin\Debug\laDocView.lib bin\Debug\laGUI.lib bin\Debug\laDICOM.lib
bin\Debug\laAnalysis.lib bin\Debug\laBatchProcessing.lib
QtBasicUtils_d_2005.lib
X:\32Bit\VC.80\Libraries\qt-win-opensource-src-4.4.3\lib\QtGuid4.lib
imm32.lib winmm.lib
X:\32Bit\VC.80\Libraries\qt-win-opensource-src-4.4.3\lib\QtXmld4.lib
X:\32Bit\VC.80\Libraries\qt-win-opensource-src-4.4.3\lib\QtNetworkd4.lib
X:\32Bit\VC.80\Libraries\qt-win-opensource-src-4.4.3\lib\QtCored4.lib
ws2_32.lib ITKCommon.lib ITKBasicFilters.lib ITKIO.lib QVTK.lib
vtkCommon.lib vtkRendering.lib vtkVolumeRendering.lib vtkWidgets.lib
SCP_LS_d_2005.lib JPU_Lobe_d_2005.lib BLASd.lib libf77d.lib
clapackd.lib QtBasicUtils_d_2005.lib
X:\32Bit\VC.80\Libraries\qt-win-opensource-src-4.4.3\lib\QtXmld4.lib
X:\32Bit\VC.80\Libraries\qt-win-opensource-src-4.4.3\lib\QtNetworkd4.lib
ITKBasicFilters.lib ITKIO.lib ITKNrrdIO.lib gdcmMSFF.lib gdcmDICT.lib
gdcmIOD.lib gdcmDSED.lib gdcmzlib.lib gdcmCommon.lib gdcmexpat.lib
gdcmjpeg8.lib gdcmjpeg12.lib gdcmjpeg16.lib gdcmopenjpeg.lib
rpcrt4.lib itkpng.lib itktiff.lib itkjpeg8.lib ITKSpatialObject.lib
ITKCommon.lib itkvnl_inst.lib itkvnl_algo.lib itkv3p_netlib.lib
itkvnl.lib itkvcl.lib ITKMetaIO.lib itksys.lib ITKDICOMParser.lib
ITKEXPAT.lib ITKniftiio.lib ITKznz.lib itkzlib.lib QVTK.lib
vtkQtChart.lib X:\32Bit\VC.80\Libraries\qt-win-opensource-src-4.4.3\lib\QtGuid4.lib
imm32.lib winmm.lib
X:\32Bit\VC.80\Libraries\qt-win-opensource-src-4.4.3\lib\QtSqld4.lib
X:\32Bit\VC.80\Libraries\qt-win-opensource-src-4.4.3\lib\QtCored4.lib
vtkViews.lib vtkInfovis.lib vtklibxml2.lib vtkalglib.lib
vtkVolumeRendering.lib vtkWidgets.lib vtkHybrid.lib vtkRendering.lib
vtkGraphics.lib vtkverdict.lib vtkImaging.lib vtkftgl.lib
vtkfreetype.lib opengl32.lib vtkIO.lib vtkFiltering.lib vtkCommon.lib
vtkDICOMParser.lib vtkmetaio.lib comctl32.lib wsock32.lib
vtksqlite.lib vtkpng.lib vtktiff.lib vtkzlib.lib vtkjpeg.lib
vtkexpat.lib vtksys.lib ws2_32.lib vfw32.lib vtkexoIIc.lib
vtkNetCDF.lib "
OutputFile="X:\32Bit\VC.80\Qt\LungAnalysis\bin\Debug\LungAnalysis.exe"
Link Folders:
AdditionalLibraryDirectories=""C:\Program Files
(x86)\UPMC\BZ_Airway\lib\$(OutDir)","C:\Program Files
(x86)\UPMC\BZ_Airway\lib","C:\Program Files
(x86)\UPMC\CT_Imaging\lib\$(OutDir)","C:\Program Files
(x86)\UPMC\CT_Imaging\lib","C:\Program Files
(x86)\UPMC\SCP_LS\lib\$(OutDir)","C:\Program Files
(x86)\UPMC\SCP_LS\lib","C:\Program Files
(x86)\UPMC\JPU_Lobe\lib\$(OutDir)","C:\Program Files
(x86)\UPMC\JPU_Lobe\lib",X:\CMakeBased\Qt\LungAnalysis\Libraries\External\kwCoreLib\lib\$(OutDir),X:\CMakeBased\Qt\LungAnalysis\Libraries\External\kwCoreLib\lib,X:\CMakeBased\Qt\LungAnalysis\Libraries\External\ideality\lib\$(OutDir),X:\CMakeBased\Qt\LungAnalysis\Libraries\External\ideality\lib,X:\CMakeBased\Qt\LungAnalysis\Libraries\External\lavtkINRIA3D\lib\$(OutDir),X:\CMakeBased\Qt\LungAnalysis\Libraries\External\lavtkINRIA3D\lib,X:\CMakeBased\Qt\LungAnalysis\Libraries\Internal\laBase\lib\$(OutDir),X:\CMakeBased\Qt\LungAnalysis\Libraries\Internal\laBase\lib,X:\CMakeBased\Qt\LungAnalysis\Libraries\Internal\laFilters\lib\$(OutDir),X:\CMakeBased\Qt\LungAnalysis\Libraries\Internal\laFilters\lib,X:\CMakeBased\Qt\LungAnalysis\Libraries\Internal\laResults\lib\$(OutDir),X:\CMakeBased\Qt\LungAnalysis\Libraries\Internal\laResults\lib,X:\CMakeBased\Qt\LungAnalysis\Libraries\Internal\laDocView\lib\$(OutDir),X:\CMakeBased\Qt\LungAnalysis\Libraries\Internal\laDocView\lib,X:\CMakeBased\Qt\LungAnalysis\Libraries\Internal\laGUI\lib\$(OutDir),X:\CMakeBased\Qt\LungAnalysis\Libraries\Internal\laGUI\lib,X:\CMakeBased\Qt\LungAnalysis\Libraries\Internal\laDICOM\lib\$(OutDir),X:\CMakeBased\Qt\LungAnalysis\Libraries\Internal\laDICOM\lib,X:\CMakeBased\Qt\LungAnalysis\Libraries\Internal\laAnalysis\lib\$(OutDir),X:\CMakeBased\Qt\LungAnalysis\Libraries\Internal\laAnalysis\lib,X:\CMakeBased\Qt\LungAnalysis\Libraries\Internal\laBatchProcessing\lib\$(OutDir),X:\CMakeBased\Qt\LungAnalysis\Libraries\Internal\laBatchProcessing\lib,"C:\Program
Files (x86)\UPMC\QtBasicUtils\lib\$(OutDir)","C:\Program
Files (x86)\UPMC\QtBasicUtils\lib",X:\32Bit\VC.80\Libraries\ITK-3.16\bin\$(OutDir),X:\32Bit\VC.80\Libraries\ITK-3.16\bin,X:\32Bit\VC.80\Libraries\gdcm-svn\bin\$(OutDir),X:\32Bit\VC.80\Libraries\gdcm-svn\bin,X:\32Bit\VC.80\Libraries\VTK-5.4\bin\$(OutDir),X:\32Bit\VC.80\Libraries\VTK-5.4\bin"
More information about the Insight-users
mailing list