mcberk / wrapitk

Automatically exported from code.google.com/p/wrapitk
0 stars 0 forks source link

Unreferenced library in CMakeLists.txt (ItkVtk project) (and howto resolve) #26

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Generating Visual Studio 9 2008 project from CMake GUI with 
BUILD_TESTING no
CMAKE_CONFIGURATION_TYPES Release
WRAP_FFT no
WRAP_FFTW no
WRAP_ITK_PYTHON yes
WRAP_Iterators yes
WRAP_ItkVtk yes
2. Build the complete Solution from Visual Studio
3. unresolved external symbol vtkPythonGetObjectFromPointer, ...

What is the expected output? What do you see instead?
It does not finish the build.

What version of the product are you using? On what operating system?
wrapITK from svn, ITK & CableSWIG 3.16.0, SwigWin 1.3.40, VTK 5.4.2 (last
official versions except wrapITK, last svn version).
Windows XP 64, Visual Studio Professional 2008

Please provide any additional information below.
In the CMakeLists.txt inside the ItkVtk project, change the line:
SET(WRAPPER_LIBRARY_LINK_LIBRARIES ITKCommon ITKBasicFilters vtkImaging
vtkFiltering)
with
SET(WRAPPER_LIBRARY_LINK_LIBRARIES ITKCommon ITKBasicFilters vtkImaging
vtkFiltering vtkCommon vtkCommonPythonD)

vtkCommonPythonD is the library where the symbols are defined, although i'm
not sure if vtkCommon is necessary too (I added it to be sure, because the
full compilation lasts more than 6 hours in my machine :|)

[Hope i'm not saying something obvious, and not repeating an issue, i'm a
completely newcomer to the itk/vtk/wrapitk world]

Original issue reported on code.google.com by ivan.alo...@gmail.com on 20 Jan 2010 at 8:57