View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000639VTK(No Category)public2004-03-01 22:072011-01-13 17:00
ReporterGoodwin Lawlor 
Assigned ToSystem Admin 
PrioritylowSeverityfeatureReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000639: Local vtk library linked into vtk.exe
DescriptionA VTK_USE_LOCAL flag and a VTK_LOCAL_PATH in cmake could be used to add support for a local vtk library in vtk.exe... with something like this in vtkTkAppInit.cxx:

> #include "vtkLocalInstantiator.h"
183a185
> extern "C" int Vtklocaltcl_Init(Tcl_Interp *interp);
423a426,429
> {
> return TCL_ERROR;
> }
> if (Vtklocaltcl_Init(interp) == TCL_ERROR)
TagsNo tags attached.
Project
Type
Attached Files

 Relationships

  Notes
(0000723)
Goodwin Lawlor (reporter)
2004-03-02 13:24

A new diff:
===================================================================
RCS file: /cvsroot/VTK/VTK/Wrapping/Tcl/vtkTkAppInit.cxx,v
retrieving revision 1.18
diff -u -r1.18 vtkTkAppInit.cxx
--- Wrapping/Tcl/vtkTkAppInit.cxx 8 Jan 2004 22:16:57 -0000 1.18
+++ Wrapping/Tcl/vtkTkAppInit.cxx 2 Mar 2004 18:24:19 -0000
@@ -58,6 +58,7 @@
 #include "vtkIOInstantiator.h"
 #include "vtkImagingInstantiator.h"
 #include "vtkGraphicsInstantiator.h"
+#include "vtkLocalInstantiator.h"

 #ifdef VTK_USE_RENDERING
 #include "vtkRenderingInstantiator.h"
@@ -181,6 +182,7 @@
 extern "C" int Vtkimagingtcl_Init(Tcl_Interp *interp);
 extern "C" int Vtkgraphicstcl_Init(Tcl_Interp *interp);
 extern "C" int Vtkiotcl_Init(Tcl_Interp *interp);
+extern "C" int Vtklocaltcl_Init(Tcl_Interp *interp);

 #ifdef VTK_USE_RENDERING
 extern "C" int Vtkrenderingtcl_Init(Tcl_Interp *interp);
@@ -421,6 +423,10 @@
     return TCL_ERROR;
     }
   if (Vtkiotcl_Init(interp) == TCL_ERROR)
+ {
+ return TCL_ERROR;
+ }
+ if (Vtklocaltcl_Init(interp) == TCL_ERROR)
     {
     return TCL_ERROR;
     }
(0000791)
Goodwin Lawlor (reporter)
2004-03-24 18:48

Perhaps it might be better just to generate another executable in the local project, linking in the local library with VTK... just a thought. Wouldn't need a VTK_USE_LOCAL.
(0001306)
System Admin (reporter)
2004-07-28 09:34

Done. Read header of VTK/Wrapping/Tcl/CMakeLists.txt

Checking in Wrapping/Tcl/CMakeLists.txt;
/cvsroot/VTK/VTK/Wrapping/Tcl/CMakeLists.txt,v <-- CMakeLists.txt
new revision: 1.49; previous revision: 1.48
done
Checking in Wrapping/Tcl/vtkTkAppInit.cxx;
/cvsroot/VTK/VTK/Wrapping/Tcl/vtkTkAppInit.cxx,v <-- vtkTkAppInit.cxx
new revision: 1.20; previous revision: 1.19
done
Checking in Wrapping/Tcl/vtkTkAppInitConfigure.h.in;
/cvsroot/VTK/VTK/Wrapping/Tcl/vtkTkAppInitConfigure.h.in,v <-- vtkTkAppInitConfigure.h.in
new revision: 1.5; previous revision: 1.4
done

 Issue History
Date Modified Username Field Change
2010-11-29 17:59 Source_changeset_attached => VTK master 33f28342
2011-01-13 17:00 Source_changeset_attached => VTK master a2bd8391
2011-01-13 17:00 Source_changeset_attached => VTK master 020ef709
2011-06-16 13:11 Zack Galbreath Category => (No Category)


Copyright © 2000 - 2018 MantisBT Team