[vtkusers] Compiling VTK with OpenGL

Francois Bertel francois.bertel at kitware.com
Wed Aug 20 16:49:03 EDT 2008


Is it happening when you are compiling VTK?

On Wed, Aug 20, 2008 at 4:44 PM, Pascale Beliveau <beliveaup at gmail.com> wrote:
> Hi VTK users,
>
>    I am relatively new with VTK, trying to install it and having problems
> with including the OpenGL file that will allow me to use the VTK viewer. I
> had the following error :
>
> C:\Program Files\Microsoft Visual Studio
> 8\VC\PlatformSDK\include\GL/gl.h(1152) : error C2144: syntax error : 'void'
> should be preceded by ';'
> C:\Program Files\Microsoft Visual Studio
> 8\VC\PlatformSDK\include\GL/gl.h(1152) : error C4430: missing type specifier
> - int assumed. Note: C++ does not support default-int
>
> occuring on the following line:
> WINGDIAPI void APIENTRY glAccum (GLenum op, GLfloat value);
> of file: gl.h
>
> Does anyone have an idea what I am missing?
>
> Thanks in advance for the help!
> Pascale
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>



-- 
François Bertel, PhD | Kitware Inc. Suite 204
1 (518) 371 3971 x113 | 28 Corporate Drive
 | Clifton Park NY 12065, USA



More information about the vtkusers mailing list