Re: [vmtk-users] [Fwd: Windows XP instillation]
Brought to you by:
davidsteinman,
lucantiga
From: Hugo G. v. A. <h.a...@am...> - 2008-10-24 08:00:12
|
Hello David, From the files that you send , you can see that all the errors are related to the compilation of one project: vtkvmtkITKPythonD . In compiling this project there are some errors, to which I will come later in this email. I also noticed from your build logs that you were compiling vmtk in Debug mode ("Build started: Project: vtkvmtkITKPythonD, Configuration: Debug|Win32") which is not advisable as you had ITK and VTK compiled as release. You should not combine debug and release libraries in one project as can give very nasty (runtime) errors. So please recompile VMTK as Release. Concerning your errors: As vtkvmtkITKPythonD will not compile, this project will not create 'vtkvmtkITKPythonD.lib'. This library is needed in 'vtkvmtkITKPython' and 'vtkvmtkITK', so they will also not compile and thus will not create 'vtkvmtkITK.lib'. Which rises problems in vtkvmtkSegmentation, and so on... The lines beneath are the most important from your build logs: vtkvmtkITKPythonD => vtkvmtkITKPythonD - 7 error(s), 0 warning(s) vtkvmtkITKPython => LINK : fatal error LNK1104: cannot open file '..\..\..\bin\Debug\vtkvmtkITKPythonD.lib' vtkvmtkITK => LINK : fatal error LNK1104: cannot open file '..\..\..\bin\Debug\vtkvmtkITKPythonD.lib' vtkvmtkSegmentation => LINK : fatal error LNK1104: cannot open file '..\..\bin\Debug\vtkvmtkITK.lib' vtkvmtkSegmentationPythonD => LINK : fatal error LNK1104: cannot open file '..\..\bin\Debug\vtkvmtkSegmentation.lib' vtkvmtkSegmentationPython => LINK : fatal error LNK1104: cannot open file '..\..\bin\Debug\vtkvmtkSegmentationPythonD.lib' Now concerning the compilation errors in vtkvmtkITKPythonD: Compiling... vtkITKImageToImageFilterFFPython.cxx .\vtkITKImageToImageFilterFFPython.cxx(10) : fatal error C1083: Cannot open include file: 'vtkITKImageToImageFilterFF.h': No such file or directory vtkITKImageToImageFilter2DFFPython.cxx .\vtkITKImageToImageFilter2DFFPython.cxx(10) : fatal error C1083: Cannot open include file: 'vtkITKImageToImageFilter2DFF.h': No such file or directory vtkITKImageToImageFilterPython.cxx .\vtkITKImageToImageFilterPython.cxx(10) : fatal error C1083: Cannot open include file: 'vtkITKImageToImageFilter.h': No such file or directory vtkITKImageWriterPython.cxx .\vtkITKImageWriterPython.cxx(10) : fatal error C1083: Cannot open include file: 'vtkITKImageWriter.h': No such file or directory vtkITKArchetypeImageSeriesVectorReaderPython.cxx .\vtkITKArchetypeImageSeriesVectorReaderPython.cxx(10) : fatal error C1083: Cannot open include file: 'vtkITKArchetypeImageSeriesVectorReader.h': No such file or directory vtkITKArchetypeImageSeriesScalarReaderPython.cxx .\vtkITKArchetypeImageSeriesScalarReaderPython.cxx(10) : fatal error C1083: Cannot open include file: 'vtkITKArchetypeImageSeriesScalarReader.h': No such file or directory vtkITKArchetypeImageSeriesReaderPython.cxx .\vtkITKArchetypeImageSeriesReaderPython.cxx(10) : fatal error C1083: Cannot open include file: 'vtkITKArchetypeImageSeriesReader.h': No such file or directory Generating Code... So your compiler does not know where to find: vtkITKImageToImageFilterFF.h vtkITKImageToImageFilter2DFF.h vtkITKImageToImageFilter.h vtkITKImageWriter.h vtkITKArchetypeImageSeriesVectorReader.h vtkITKArchetypeImageSeriesScalarReader.h vtkITKArchetypeImageSeriesReader.h Which just puzzles me as should be located in vtkVmtk\Utilities\vtkITK. So probably there were some changes in the CMakeLists.txt that I send you that are related to other changed files, that you have not in your source tree, that makes this directory unknown to the project 'vtkvmtkITKPythonD'. Best thing would be to to start working with a clean checkout of the svn sources of VMTK. And as you unfortunately cannot checkout the repository I will send you (separately) a zip file with the current svn sources. with kind regards, Hugo David Welch wrote: > *I think we need to break this up into two subjects, since Luca has sent > me a pre-release of the windows version.* > > As for the VB 8 version, I've copied the CVS files into my source folder > and turned off the Tcl wrapping in VTK. Here are the build's current > errors: > vtkvmtkSegmentationPython > vtkvmtkSegmentationPythonD > vtkvmtkSegmentation > vtkvmtkITKPython > vtkvmtkITKPythonD > vtkvmtkITK > > Hugo Gratama van Andel wrote: >> Hello David, >> >> I am also busy building VMTK under Windows, I get some errors when I >> am further in the build, but I will post them in another email. >> >> To get to your problems: >> Your output shows that Visual studio cannot find ITKNumerics.lib. >> So did set the ITK_DIR correct while running CMake for VMTK? And did >> you compile ITK in release Mode ? >> >> By the way are you using visual studio 2005 / 2008? >> >> Some other thing; if you are using VMTK from the CVS and your are >> following the compilation instruction >> on:http://www.vmtk.org/Main/Installation >> >> you can skip the two following steps: >> >> For Python 2.5 all the .DLL files in d:\src\vmtk-bin\lib\vmtk\vtmk >> should be renamed to .pyd >> * vtkITKPython.dll -> vtkITKPython.pyd >> * vtkvmtkCommonPython.dll -> vtkvmtkCommonPython.pyd >> * vtkvmtkComputationalGeometryPython.dll -> >> vtkvmtkComputationalGeometryPython.pyd >> * vtkvmtkDifferentialGeometryPython.dll -> >> vtkvmtkDifferentialGeometryPython.pyd >> * vtkvmtkIOPython.dll -> vtkvmtkIOPython.pyd >> * vtkvmtkMiscPython.dll -> vtkvmtkMiscPython.pyd >> >> and >> >> Rename the vmtk.py in the d:\src\vmtk-bin\bin dir to vmtk-exe.py >> (Windows has a problem importing the vmtk module from a file named >> vmtk.py) >> >> as there renaming is already implemented in the build files. >> >> Good Luck, >> with kind regards, >> Hugo >> >> >> >> >> >> Are you usi >> >> Did you set the >> >> >> Windows David Welch wrote: >>> >>> >>> -------- Original Message -------- >>> Subject: Windows XP instillation >>> Date: Fri, 17 Oct 2008 13:49:54 -0500 >>> From: David Welch <dm...@en...> >>> To: vmt...@li... >>> >>> >>> >>> I'm throwing errors in Visual Studio trying to compile the ALL_BUILD >>> project in the solution. I have changed the properties to "Release" >>> and I am still getting linking errors for VTK and ITK libraries. >>> I've attached my build output file for reference. I'm using VTK 5.2, >>> ITK 3.8, and CMake 2.6. Any help would be appreciated! :) >>> >>> >>> ------------------------------------------------------------------------- >>> >>> This SF.Net email is sponsored by the Moblin Your Move Developer's >>> challenge >>> Build the coolest Linux based applications with Moblin SDK & win >>> great prizes >>> Grand prize is a trip for two to an Open Source event anywhere in the >>> world >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>> >>> >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> vmtk-users mailing list >>> vmt...@li... >>> https://lists.sourceforge.net/lists/listinfo/vmtk-users >> >> -- Hugo Gratama van Andel - MSc Academic Medical Centre - University of Amsterdam Dept. Biomedical Engineering & Physics L0-152 Meibergdreef 9 1105 AZ Amsterdam The Netherlands Phone : +31 20 566 5206 FAX : +31 20 691 7233 e-mail : h.a...@am... |