[vtkusers] building static libraries using vtk libs

Jesse Corrington corrington_j at hotmail.com
Tue Nov 29 02:08:08 EST 2005


So what I am trying to do Is build my own static library on windows that 
uses some of the vtk libraries.  The purpose is so i Can keep the vtk stuff 
seperate from my current project and just link my one lib in and use it.  So 
i converted my one project that was produsing an exe to make a windows 
static library file, and that is working just fine.

The problem is when i try to link my library that I built into another 
project I get tons of link errors. Half of the link errors are for undefined 
stuff in vtk. Do I have to link those into this project too, shouldn't they 
already be in the library I built. I can get rid of those errors by linking 
in the vtk libs i used to build my lib, but then i Get a load of link erros 
that mainly said something is already defined somewhere else. Some are stl, 
and other basic functions. Any idea on how to fix this.

Thanks a lot.

Jesse Corrington

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/




More information about the vtkusers mailing list