[vtkusers] using STLReader

Bill Lorensen bill.lorensen at gmail.com
Wed Jan 8 15:17:27 EST 2014


Please provide the CMakeLists.txt file you are using.

On Wed, Jan 8, 2014 at 2:37 PM, Erin Parsons <parsons.220 at gmail.com> wrote:
> Hello,
>
> I'm having trouble using the vtkSTLReader. The line I'm using to declare a
> new reader object is:
>
> vtkSTLReader *boneReader = vtkSTLReader::New();
>
> This generates the error:
>
> Error    1    error LNK2019: unresolved external symbol "public: static
> class vtkSTLReader * __cdecl vtkSTLReader::New(void)"
> (?New at vtkSTLReader@@SAPAV1 at XZ) referenced in function _main
> C:\MyProjects\VTK_6_0_gitV2\Examples\STLReader\Cone6.obj    Cone6
>
> Does anyone know how to fix this? Thank you for your help!
> Cheers,
> Erin
>
> _______________________________________________
> 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
>



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the vtkusers mailing list