[vtkusers] PowerCrust and PoissonReconstruction compile problems
Ben Boeckel
ben.boeckel at kitware.com
Mon Sep 18 07:47:18 EDT 2017
On Fri, Sep 15, 2017 at 12:55:54 -0700, -Daniel- wrote:
> I tried to add PowerCrust and PoissonReconstruction in VTK 7.1.1.
> Here I use the following procedure (as Bill Lorensen describes)
> 1. Download Powercrust.remote.cmake (or
> PoissonReconstruction.remote.cmake ) and place it in the VTK/Remote
> directory.
> 2. Reconfigure the VTK build with cmake
> 3. Enable the remote module by setting Module_Powercrust:BOOL=ON. (or
> Module_PoissonReconstruction:BOOL=ON)
> 4. make
>
> The creation by cmake ran without problems. But then in Visual Studio 11
> 2012 I got the following error:
> <http://vtk.1045678.n5.nabble.com/file/t313303/compileError_003.jpg>
>
> Can someone please tell me what is wrong here?
The M_PI error is probably a missing header (`#include <cmath>`). The
erand48 function isn't available on Windows directly, but it looks like
it could be replaced:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/0e974452-a292-4dca-8ab8-b61530577cdb/erand48-windows-equivalent?forum=vcgeneral
--Ben
More information about the vtkusers
mailing list