[vtk-developers] Building Activiz.net with Visual Studio 2008

jaminus_jahnatos at freenet.de jaminus_jahnatos at freenet.de
Sat Jul 7 11:44:54 EDT 2012


Hey all,
 
 first of all i want to explain why i'd like to build Activiz on my own instead using the prebuild binaries offerd by kitware.
 
 I have written some special vtkAlgorithms(VTK C++) which i want now to  use in Activiz.net. As far as i know it's not possible to do that  directly in Activiz. In the book "The VTK User's Guide (DefaultRenderEventPropagation at vtkParallelRenderManager@@SAX_N at Z)     vtkParallelRenderManagerEL.obj    Kitware.VTK.Unmanaged
 
 Error    3579    error LNK2019: unresolved external symbol "protected:  static float * vtkUnstructuredGridPartialPreIntegration::PsiTable"  (?PsiTable at vtkUnstructuredGridPartialPreIntegration@@1PAMA) referenced  in function "public: static float __cdecl  vtkUnstructuredGridPartialPreIntegration::Psi(float,float)"  (?Psi at vtkUnstructuredGridPartialPreIntegration@@SAMMM at Z)     vtkUnstructuredGridPartialPreIntegrationEL.obj    Kitware.VTK.Unmanaged
 
 Error    3580    fatal error LNK1120: 5 unresolved externals     C:UsersPublicVTKActiVizactiviz-buildbinReleaseKitware.VTK.Unmanaged.dll     1    Kitware.VTK.Unmanaged
 Error    3588    error PRJ0019: A tool returned an error code from  "Building C# library 'Kitware.VTK'..."    Kitware.VTK    Kitware.VTK
 Error    3589    error PRJ0019: A tool returned an error code from  "Building C# executable 'Kitware.VTK.CSharpTests'..."     Kitware.VTK.CSharpTests    Kitware.VTK.CSharpTests
 Error    3590    error PRJ0019: A tool returned an error code from  "Building C# executable 'Kitware.VTK.ConvertedByHandTclTests'..."     Kitware.VTK.ConvertedByHandTclTests     Kitware.VTK.ConvertedByHandTclTests
 Error    3591    error PRJ0019: A tool returned an error code from  "Building C# executable 'Kitware.VTK.ConvertedTclTests'..."     Kitware.VTK.ConvertedTclTests    Kitware.VTK.ConvertedTclTests
 
 
 
 
 I tried to overcome this problem by excluding the affected classes from  the wrapping process using CMAKE according the following hint.
 http://public.kitware.com/pipermail/vtkusers/2011-March/115270.html
 AVDN_EXTRA_EXCLUDE_CLASSES_XML: vtkGeoGraticule;vtkParallelRenderManager;vtkUnstructuredGridPartialPreIntegration;vtkTimerLog
 
 But the same errors has occured. So i tried to exclude them completely with:
 
 AVDN_EXTRA_EXCLUDE_CLASSES: vtkGeoGraticule;vtkParallelRenderManager;vtkUnstructuredGridPartialPreIntegration;vtkTimerLog
 
 This seems to work so far.
 
 I get just some errors from building the Activiz examples.
 Error 4597 error PRJ0019: A tool returned an error code from "Generating  bin/Release/EventMonitor.exe" Build.Examples.EventMonitor  Build.Examples.EventMonitor
 Error 4605 error PRJ0019: A tool returned an error code from "Generating  bin/Release/FileTree.exe" Build.Examples.FileTree  Build.Examples.FileTree
 
 The resulting dlls lokes like that...
 

            19,968 Kitware.mummy.Runtime.dll            71,680 Kitware.mummy.Runtime.Unmanaged.dll         7,139,328 Kitware.VTK.dll         3,530,752 Kitware.VTK.Unmanaged.dll        15,365,414 Kitware.VTK.xml               524 Microsoft.VC90.CRT.manifest           224,768 msvcm90.dll           568,832 msvcp90.dll           655,872 msvcr90.dll
In the precompiled packets there are much more dlls.
 And i tried them out with one of the small HelloWorld examples.
 The compiler does not complain about anything but is doesn't work.
 Which means i see nothing.
 
 I think this is because of the classes i excluded from the wrapping process.
 
 Does someone have an idea to fix it???
 
 Thanks in advance.
 
 
 
 
 



---
E-Mail ist da wo du bist! Jetzt mit freenetMail ganz bequem auch unterwegs E-Mails verschicken.
Am besten gleich informieren unter http://mail.freenet.de/mobile-email/index.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20120707/a2334cf9/attachment.html>


More information about the vtk-developers mailing list