[vtkusers] link errors

Ketan Mehta ketan.mehta at wipro.com
Tue Sep 2 23:52:30 EDT 2003


Hi Dubois,

>From error it looks like conflict between STL and vtk includes.
or not able to link vtk dll's.

Some points to check - 
1) Have u tried to write CMakeList.txt and then create *.dsw file?
	U can try that..
2) I assume "from scratch" means without use of wizards ?

If it is STL prob then check previous threads..

http://public.kitware.com/pipermail/vtkusers/2001-July/007258.html

HTH

Bye
Ketan

> "Dubois, John R (MED)" wrote:
> 
> I have tried to build an MFC application "from scratch". I have carefully duplicated all
> the settings I could find in the sample project Win32SampleMFC, which compiles and
> links, in my new project, which will compile but not link.
> 
> I get 118 unresolved externals of the form:
> 
> vtkRendering.lib(vtkCamera.obj) : error LNK2001: unresolved external symbol
> "__declspec(dllimport) class std::basic_ostream<char,struct std::char_traits<char> > &
> __cdecl std::operator<<(class std::basic_ostream<char,struct std::char_traits<char> >
> &,char const *)"
> (__imp_??6std@@YAAAV?$basic_ostream at DU?$char_traits at D@std@@@0 at AAV10@PBD at Z)
> 
> Does anyone know what's going on here? I have compared the Visual Studio command lines
> for compile and link and could not find any differences.
> 
> [GE logo]GE Medical Systems
> _______________________________________________
> John Dubois
> Software Programmer
> 
> Functional and Molecular Imaging
> Phone: 519-858-5009
> E-mail: John.Dubois at med.ge.com



More information about the vtkusers mailing list