Hi Dashan, <div>I am linking all the libs ,bin and include directories as well. I am getting linking errors as below now:</div><div><br></div><div><div>>vtkCommon.lib(vtkCommon.dll) : error LNK2005: "public: float * __thiscall vtkFloatArray::WritePointer(int,int)" (?WritePointer@vtkFloatArray@@QAEPAMHH@Z) already defined in cad.lib(postprocess_mg.obj)</div>
<div><br></div><div>1>vtkFiltering.lib(vtkFiltering.dll) : error LNK2005: "public: class vtkCellData * __thiscall vtkDataSet::GetCellData(void)" (?GetCellData@vtkDataSet@@QAEPAVvtkCellData@@XZ) already defined in cad.lib(postprocess_mg.obj)</div>
<div><br></div><div>1>vtkFiltering.lib(vtkFiltering.dll) : error LNK2005: "public: class vtkPointData * __thiscall vtkDataSet::GetPointData(void)" (?GetPointData@vtkDataSet@@QAEPAVvtkPointData@@XZ) already defined in cad.lib(postprocess_mg.obj)</div>
<div><br></div><div>1> Creating library Debug/AxCent.lib and object Debug/AxCent.exp</div><div>1>vtkMDIView.obj : warning LNK4217: locally defined symbol ?DrawDC@vtkMFCWindow@@QAEXPAVCDC@@@Z (public: void __thiscall vtkMFCWindow::DrawDC(class CDC *)) imported in function "protected: virtual void __thiscall CvtkMDIView::OnDraw(class CDC *)" (?OnDraw@CvtkMDIView@@MAEXPAVCDC@@@Z)</div>
<div><br></div><div>1>vtkPBFEAView.obj : warning LNK4049: locally defined symbol ?DrawDC@vtkMFCWindow@@QAEXPAVCDC@@@Z (public: void __thiscall vtkMFCWindow::DrawDC(class CDC *)) imported</div><div><br></div><div>1>vtkMDIView.obj : warning LNK4217: locally defined symbol ??0vtkMFCWindow@@QAE@PAVCWnd@@@Z (public: __thiscall vtkMFCWindow::vtkMFCWindow(class CWnd *)) imported in function "public: void __thiscall vtkMDIViewImpl::initialize(class CvtkMDIView *)" (?initialize@vtkMDIViewImpl@@QAEXPAVCvtkMDIView@@@Z)</div>
<div>1>vtkPBFEAView.obj : warning LNK4049: locally defined symbol ??0vtkMFCWindow@@QAE@PAVCWnd@@@Z (public: __thiscall vtkMFCWindow::vtkMFCWindow(class CWnd *)) imported</div><div><br></div><div>1>vtkMDIView.obj : warning LNK4217: locally defined symbol ??1vtkMFCWindow@@UAE@XZ (public: virtual __thiscall vtkMFCWindow::~vtkMFCWindow(void)) imported in function "public: virtual void * __thiscall vtkMFCWindow::`scalar deleting destructor'(unsigned int)" (??_GvtkMFCWindow@@UAEPAXI@Z)</div>
<div><br></div><div>1>vtkPBFEAView.obj : warning LNK4217: locally defined symbol ??1vtkMFCWindow@@UAE@XZ (public: virtual __thiscall vtkMFCWindow::~vtkMFCWindow(void)) imported in function "public: int __thiscall vtkPBFEAViewImpl::GetNumberStressSections(class vtkUnstructuredGrid *)" (?GetNumberStressSections@vtkPBFEAViewImpl@@QAEHPAVvtkUnstructuredGrid@@@Z)</div>
<div><br></div><div>1>vtkMFCWindow.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) const vtkMFCWindow::`vftable'" (__imp_??_7vtkMFCWindow@@6B@) referenced in function "public: __thiscall vtkMFCWindow::vtkMFCWindow(class CWnd *)" (??0vtkMFCWindow@@QAE@PAVCWnd@@@Z)</div>
<div><br></div><div>Please help me. Thanks.</div><br><div class="gmail_quote">On Tue, Jul 3, 2012 at 4:53 AM, Darshan Pai <span dir="ltr"><<a href="mailto:darshanpai@gmail.com" target="_blank">darshanpai@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">maybe you are missing vtkREndering.lib<br><br><div class="gmail_quote"><div><div class="h5">On Mon, Jul 2, 2012 at 11:52 AM, Gishara Indeewarie <span dir="ltr"><<a href="mailto:gish.777@gmail.com" target="_blank">gish.777@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">Hi David, Thanks for the reply.<div>I have added all the libraries in project properties page,under Linker->input->additional dependencies<br>
I am using visual studio 2008, MFC, and I am not using cmake list.
</div><div>Thanks again.</div>
<br></div></div>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div></div><font color="#666666">Gish</font><br>
</div>