[vtkusers] VTK 8.0.0 compile error

Ramamurthy, Rajesh (GE Global Research, US) ramamurr at research.ge.com
Tue Aug 22 08:49:24 EDT 2017


Hi,

I am new to VTK and trying to build VTK 8.0 using the Visual Studio 2012 and CMake 3.9.1.

I believe I am following the correct instructions. However, when I follow the instructions I am getting a build error as follows that I don't understand:

vtk-8.0.0\common\core\vtkGenericDataArrayLookupHelper.h(72): error C2059: syntax error : ','
9>          \vtk-8.0.0\vtk-8.0.0\common\core\vtkGenericDataArrayLookupHelper.h(226) : see reference to class template instantiation 'vtkGenericDataArrayLookupHelper<ArrayTypeT>' being compiled
9>\vtk-8.0.0\vtk-8.0.0\common\core\vtkGenericDataArrayLookupHelper.h(73): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
9>\vtk-8.0.0\vtk-8.0.0\common\core\vtkGenericDataArrayLookupHelper.h(73): error C2059: syntax error : ','
9>\vtk-8.0.0\vtk-8.0.0\common\core\vtkGenericDataArrayLookupHelper.h(74): error C2059: syntax error : '{'
9>\vtk-8.0.0\vtk-8.0.0\common\core\vtkGenericDataArrayLookupHelper.h(74): error C2334: unexpected token(s) preceding '{'; skipping apparent function body

Can someone advise me on what I can do here to get a successful VTK build?

Regards
Rajesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170822/42ea031d/attachment.html>


More information about the vtkusers mailing list