[vtkusers] Using VTK in a Visual C++ project

KK karoll.frindel at gmail.com
Thu Apr 14 09:44:12 EDT 2011


I made some progress on my problem.
One type of linking errors was due to a conflict with a default library
msvcprt.
Now I still have linking errors but of another type.
Sounds like it is unable to find les .obj from the .lib ...?...!

Erreur	3398	error LNK2001: symbole externe non résolu "__declspec(dllimport)
class std::basic_istream<char,struct std::char_traits<char> >
std::cin" (__imp_?cin at std@@3V?$basic_istream at DU?$char_traits at D@std@@@1 at A)
C:\Users\Orten\Documents\ortwin\visual
2010\OrtenFILE\Visual\vtkCommon.lib(vtkOutputWindow.obj)
Erreur	3350	error LNK2001: symbole externe non résolu "__declspec(dllimport)
class std::basic_ostream<char,struct std::char_traits<char> > &
__cdecl std::endl(class std::basic_ostream<char,struct
std::char_traits<char> > &)"
(__imp_?endl at std@@YAAAV?$basic_ostream at DU?$char_traits at D@std@@@1 at AAV21@@Z)
C:\Users\Orten\Documents\ortwin\visual
2010\OrtenFILE\Visual\vtkCommon.lib(vtkStructuredVisibilityConstraint.obj)
Erreur	3351	error LNK2001: symbole externe non résolu "__declspec(dllimport)
class std::basic_ostream<char,struct std::char_traits<char> > &
__cdecl std::endl(class std::basic_ostream<char,struct
std::char_traits<char> > &)"
(__imp_?endl at std@@YAAAV?$basic_ostream at DU?$char_traits at D@std@@@1 at AAV21@@Z)
C:\Users\Orten\Documents\ortwin\visual
2010\OrtenFILE\Visual\vtkFiltering.lib(vtkCompositeDataIterator.obj)
Erreur	3352	error LNK2001: symbole externe non résolu "__declspec(dllimport)
class std::basic_ostream<char,struct std::char_traits<char> > &
__cdecl std::endl(class std::basic_ostream<char,struct
std::char_traits<char> > &)"
(__imp_?endl at std@@YAAAV?$basic_ostream at DU?$char_traits at D@std@@@1 at AAV21@@Z)
C:\Users\Orten\Documents\ortwin\visual
2010\OrtenFILE\Visual\vtkCommon.lib(vtkExtentTranslator.obj)
Erreur	3354	error LNK2001: symbole externe non résolu "__declspec(dllimport)
class std::basic_ostream<char,struct std::char_traits<char> > &
__cdecl std::endl(class std::basic_ostream<char,struct
std::char_traits<char> > &)"
(__imp_?endl at std@@YAAAV?$basic_ostream at DU?$char_traits at D@std@@@1 at AAV21@@Z)
C:\Users\Orten\Documents\ortwin\visual
2010\OrtenFILE\Visual\vtkCommon.lib(vtkTimerLog.obj)
Erreur	3355	error LNK2001: symbole externe non résolu "__declspec(dllimport)
class std::basic_ostream<char,struct std::char_traits<char> > &
__cdecl std::endl(class std::basic_ostream<char,struct
std::char_traits<char> > &)"
(__imp_?endl at std@@YAAAV?$basic_ostream at DU?$char_traits at D@std@@@1 at AAV21@@Z)
C:\Users\Orten\Documents\ortwin\visual
2010\OrtenFILE\Visual\vtkFiltering.lib(vtkDistributedGraphHelper.obj)



--
View this message in context: http://vtk.1045678.n5.nabble.com/Using-VTK-in-a-Visual-C-project-tp4300979p4303060.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list