[vtkusers] Linker problem

Bill Lorensen bill.lorensen at gmail.com
Sat Aug 15 11:57:48 EDT 2015


What does your CMakeLists.txt file look like?


On Sat, Aug 15, 2015 at 11:44 AM, Marc Jaspar <mjjmarc at outlook.com> wrote:
> I have just upgraded to the new VTK version 6.2.0 and, I am getting an error
> which never happened previously.
>
> I am starting by creating the vtkCone example in a Microsoft Document/View
> application.
>
>
> The compile is fine with no errors however, I am getting a LNK 2019 error on
> the vtkRender::new call (static).
>
>
>
> VTK Basic AppView.obj : error LNK2019: unresolved external symbol
> "__declspec(dllimport) public: static class vtkRenderer * __cdecl
> vtkRenderer::New(void)" (__imp_?New at vtkRenderer@@SAPAV1 at XZ) referenced in
> function "protected: __thiscall CVTKBasicAppView::CVTKBasicAppView(void)"
> (??0CVTKBasicAppView@@IAE at XZ)
>
>
> C:\Software Development\VTK Windows Development\VTK Basic App\Debug\VTK
> Basic App.exe : fatal error LNK1120: 1 unresolved externals
>
>
> Has anyone had the same experience and how was it resolved?
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the vtkusers mailing list