[vtkusers] vtkPowerCrustSurfaceReconstruction unresolved external symbol

Bill Lorensen bill.lorensen at gmail.com
Fri Mar 9 18:43:01 EST 2012


You will need to modify the CMakeLists.txt file to include the filter.
Normally, you would do this in your own directory and not Common.

On Fri, Mar 9, 2012 at 3:00 PM, Bayliss, Chris (Chicago)
<cbayliss at gnresound.com> wrote:
> Hi,
>
>
>
> I am trying to use the vtkPowerCrustSurfaceReconstruction filter, but I am
> getting the following error:
>
>
>
> error LNK2019: unresolved external symbol "public: static class
> vtkPowerCrustSurfaceReconstruction * __cdecl
> vtkPowerCrustSurfaceReconstruction::New(void)"
> (?New at vtkPowerCrustSurfaceReconstruction@@SAPAV1 at XZ) referenced in function
> _main    C:\Program Files\VTK\TPS\TPS.obj
>
>
>
> I have added vtkPowerCrustSurfaceReconstruction.h and
> vtkPowerCrustSurfaceReconstruction.cxx to the following directories and
> re-built VTK, but no luck.
>
>
>
> C:\Program Files\VTK\vtk-5.8.0\Common
>
> C:\Program Files\VTK\VTK_bin\Common
>
>
>
> I have also modified the header file as suggested by Tim Hutton.
>
> class /*VTK_GRAPHICS_EXPORT*/ vtkPowerCrustSurfaceReconstruction : public
> vtkDataSetToPolyDataFilter
>
>
>
>
>
> There are some older posts relating to this issue, but I could not find any
> solutions posted.  Any help would be much appreciated.
>
>
>
> Thanks,
>
>
>
> Chris
>
>
>
>
> _______________________________________________
> 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