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

Bob Palank bob at stlcc.org
Sun Apr 17 11:42:19 EDT 2011


Can I run a vtk application using the clr console application template in
VC++ Express 2010 ?
Bob
----- Original Message ----- 
From: "Bob Palank" <bob at stlcc.org>
To: <vtkusers at vtk.org>
Sent: Saturday, April 16, 2011 5:53 PM
Subject: Re: [vtkusers] Using VTK in a Visual C++ project


> Reply Test
> ----- Original Message ----- 
> From: "KK" <karoll.frindel at gmail.com>
> To: <vtkusers at vtk.org>
> Sent: Thursday, April 14, 2011 8:44 AM
> Subject: Re: [vtkusers] Using VTK in a Visual C++ project
>
>
>>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&lt;char,struct std::char_traits&lt;char&gt; >
>> 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&lt;char,struct std::char_traits&lt;char&gt; > &
>> __cdecl std::endl(class std::basic_ostream&lt;char,struct
>> std::char_traits&lt;char&gt; > &)"
>> (__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&lt;char,struct std::char_traits&lt;char&gt; > &
>> __cdecl std::endl(class std::basic_ostream&lt;char,struct
>> std::char_traits&lt;char&gt; > &)"
>> (__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&lt;char,struct std::char_traits&lt;char&gt; > &
>> __cdecl std::endl(class std::basic_ostream&lt;char,struct
>> std::char_traits&lt;char&gt; > &)"
>> (__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&lt;char,struct std::char_traits&lt;char&gt; > &
>> __cdecl std::endl(class std::basic_ostream&lt;char,struct
>> std::char_traits&lt;char&gt; > &)"
>> (__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&lt;char,struct std::char_traits&lt;char&gt; > &
>> __cdecl std::endl(class std::basic_ostream&lt;char,struct
>> std::char_traits&lt;char&gt; > &)"
>> (__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.
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at 
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at: 
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at 
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: 
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 




More information about the vtkusers mailing list