[vtkusers] link errors

Dubois, John R (MED) John.Dubois at med.ge.com
Tue Sep 2 12:00:26 EDT 2003


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@
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 logoGE Medical Systems 
_______________________________________________ 
John Dubois
Software Programmer

Functional and Molecular Imaging 
Phone: 519-858-5009 
E-mail: John.Dubois at med.ge.com
<mailto:John.Dubois at med.ge.com?subject=e-mail reply>  

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20030902/7eb8df6e/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: John R Dubois (MED) (E-mail).vcf
Type: application/octet-stream
Size: 359 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20030902/7eb8df6e/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GE48.gif
Type: image/gif
Size: 1151 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20030902/7eb8df6e/attachment.gif>


More information about the vtkusers mailing list