[vtkusers] Problem in vtkgl.h

Francois Bertel francois.bertel at kitware.com
Tue Apr 28 14:34:50 EDT 2009


Hello,

Obviously, you are using 5.4, not 5.2 (vtkFrameBufferObject.cxx does
not exist in 5.2).

Maybe you have both 5.2 and 5.4 on the same machine, and reusing a
build tree of 5.2 for 5.4? In other words, do you have a clean build
directory?

Otherwise, I have no idea.

Regards.

On Tue, Apr 28, 2009 at 12:25 PM, Mohamed AIT TAYEB
<mohamed.aittayeb at optopartner.com> wrote:
>
>
> Hello,
> I have a version 4.4 for gcc with mingw 64 bits. In version 5.2 for VTK, i
> have this error :
>
> In file included from c:/VTK/Rendering/vtkFrameBufferObject.cxx:22:
> c:/VTK-5/Rendering/vtkgl.h:16359: error: ISO C++ forbids declaration of
> 'BOOL' with no type
> c:/VTK-5/Rendering/vtkgl.h:16359: error: typedef 'vtkwgl::BOOL' is
> initialized (use decltype instead)
> c:/VTK-5/Rendering/vtkgl.h:16359: error: 'PFNWGLSAVEBUFFERREGIONARBPROC' was
> not declared in this scope
> c:/VTK-5/Rendering/vtkgl.h:16363: error: 'PFNWGLSAVEBUFFERREGIONARBPROC'
> does not name a type
> c:/VTK-5/Rendering/vtkgl.h:16364: error: 'PFNWGLRESTOREBUFFERREGIONARBPROC'
> does not name a type
> c:/VTK-5/Rendering/vtkgl.h:16424: error: ISO C++ forbids declaration of
> 'BOOL' with no type
> c:/VTK-5/Rendering/vtkgl.h:16424: error: typedef 'vtkwgl::BOOL' is
> initialized (use decltype instead)
> c:/VTK-5/Rendering/vtkgl.h:16424: error:
> 'PFNWGLGETPIXELFORMATATTRIBIVARBPROC' was not declared in this scope
> c:/VTK-5/Rendering/vtkgl.h:16425: error: ISO C++ forbids declaration of
> 'BOOL' with no type
> c:/VTK-5/Rendering/vtkgl.h:16425: error: typedef 'vtkwgl::BOOL' is
> initialized (use decltype instead)
> c:/VTK-5/Rendering/vtkgl.h:16425: error:
> 'PFNWGLGETPIXELFORMATATTRIBFVARBPROC' was not declared in this scope
> c:/VTK-5/Rendering/vtkgl.h:16426: error: ISO C++ forbids declaration of
> 'BOOL' with no type
> c:/VTK-5/Rendering/vtkgl.h:16426: error: typedef 'vtkwgl::BOOL' is
> initialized (use decltype instead)
> c:/VTK-5/Rendering/vtkgl.h:16426: error: 'PFNWGLCHOOSEPIXELFORMATARBPROC'
> was not declared in this scope
> c:/VTK-5/Rendering/vtkgl.h:16427: error:
> 'PFNWGLGETPIXELFORMATATTRIBIVARBPROC' does not name a type
> c:/VTK-5/Rendering/vtkgl.h:16428: error:
> 'PFNWGLGETPIXELFORMATATTRIBFVARBPROC' does not name a type
> c:/VTK-5/Rendering/vtkgl.h:16429: error: 'PFNWGLCHOOSEPIXELFORMATARBPROC'
> does not name a type
> c:/VTK-5/Rendering/vtkgl.h:16432: error: ISO C++ forbids declaration of
> 'BOOL' with no type
> c:/VTK-5/Rendering/vtkgl.h:16432: error: typedef 'vtkwgl::BOOL' is
> initialized (use decltype instead)
> c:/VTK-5/Rendering/vtkgl.h:16432: error: 'PFNWGLMAKECONTEXTCURRENTARBPROC'
> was not declared in this scope
> c:/VTK-5/Rendering/vtkgl.h:16434: error: 'PFNWGLMAKECONTEXTCURRENTARBPROC'
> does not name a type
> c:/VTK-5/Rendering/vtkgl.h:16450: error: ISO C++ forbids declaration of
> 'BOOL' with no type
> c:/VTK-5/Rendering/vtkgl.h:16450: error: typedef 'vtkwgl::BOOL' is
> initialized (use decltype instead)
> c:/VTK-5/Rendering/vtkgl.h:16450: error: 'PFNWGLDESTROYPBUFFERARBPROC' was
> not declared in this scope
> c:/VTK-5/Rendering/vtkgl.h:16451: error: ISO C++ forbids declaration of
> 'BOOL' with no type
> c:/VTK-5/Rendering/vtkgl.h:16451: error: typedef 'vtkwgl::BOOL' is
> initialized (use decltype instead)
> c:/VTK-5/Rendering/vtkgl.h:16451: error: 'PFNWGLQUERYPBUFFERARBPROC' was not
> declared in this scope
> c:/VTK-5/Rendering/vtkgl.h:16455: error: 'PFNWGLDESTROYPBUFFERARBPROC' does
> not name a type
> c:/VTK-5/Rendering/vtkgl.h:16456: error: 'PFNWGLQUERYPBUFFERARBPROC' does
> not name a type
> c:/VTK-5/Rendering/vtkgl.h:16492: error: ISO C++ forbids declaration of
> 'BOOL' with no type
> c:/VTK-5/Rendering/vtkgl.h:16492: error: typedef 'vtkwgl::BOOL' is
> initialized (use decltype instead)
> c:/VTK-5/Rendering/vtkgl.h:16492: error: 'PFNWGLBINDTEXIMAGEARBPROC' was not
> declared in this scope
> c:/VTK-5/Rendering/vtkgl.h:16493: error: ISO C++ forbids declaration of
> 'BOOL' with no type
> c:/VTK-5/Rendering/vtkgl.h:16493: error: typedef 'vtkwgl::BOOL' is
> initialized (use decltype instead)
> c:/VTK-5/Rendering/vtkgl.h:16493: error: 'PFNWGLRELEASETEXIMAGEARBPROC' was
> not declared in this scope
> c:/VTK-5/Rendering/vtkgl.h:16494: error: ISO C++ forbids declaration of
> 'BOOL' with no type
> c:/VTK-5/Rendering/vtkgl.h:16494: error: typedef 'vtkwgl::BOOL' is
> initialized (use decltype instead)
> c:/VTK-5/Rendering/vtkgl.h:16494: error: 'PFNWGLSETPBUFFERATTRIBARBPROC' was
> not declared in this scope
> c:/VTK-5/Rendering/vtkgl.h:16495: error: 'PFNWGLBINDTEXIMAGEARBPROC' does
> not name a type
> c:/VTK-5/Rendering/vtkgl.h:16496: error: 'PFNWGLRELEASETEXIMAGEARBPROC' does
> not name a type
> c:/VTK-5/Rendering/vtkgl.h:16497: error: 'PFNWGLSETPBUFFERATTRIBARBPROC'
> does not name a type
> c:/VTK-5/Rendering/vtkgl.h:16513: error: ISO C++ forbids declaration of
> 'BOOL' with no type
> c:/VTK-5/Rendering/vtkgl.h:16513: error: typedef 'vtkwgl::BOOL' is
> initialized (use decltype instead)
> c:/VTK-5/Rendering/vtkgl.h:16513: error: 'PFNWGLMAKECONTEXTCURRENTEXTPROC'
> was not declared in this scope
> c:/VTK-5/Rendering/vtkgl.h:16515: error: 'PFNWGLMAKECONTEXTCURRENTEXTPROC'
> does not name a type
> c:/VTK-5/Rendering/vtkgl.h:16564: error: ISO C++ forbids declaration of
> 'BOOL' with no type
> c:/VTK-5/Rendering/vtkgl.h:16564: error: typedef 'vtkwgl::BOOL' is
> initialized (use decltype instead)
> c:/VTK-5/Rendering/vtkgl.h:16564: error:
> 'PFNWGLGETPIXELFORMATATTRIBIVEXTPROC' was not declared in this scope
> c:/VTK-5/Rendering/vtkgl.h:16565: error: ISO C++ forbids declaration of
> 'BOOL' with no type
> c:/VTK-5/Rendering/vtkgl.h:16565: error: typedef 'vtkwgl::BOOL' is
> initialized (use decltype instead)
> c:/VTK-5/Rendering/vtkgl.h:16665: error: 'PFNWGLDESTROYIMAGEBUFFERI3DPROC'
> was not declared in this scope
> c:/VTK-5/Rendering/vtkgl.h:16666: error: ISO C++ forbids declaration of
> 'BOOL' with no type
> c:/VTK-5/Rendering/vtkgl.h:16666: error: typedef 'vtkwgl::BOOL' is
> initialized (use decltype instead)
> c:/VTK-5/Rendering/vtkgl.h:16666: error:
> 'PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC' was not declared in this scope
> c:/VTK-5/Rendering/vtkgl.h:16667: error: ISO C++ forbids declaration of
> 'BOOL' with no type
> c:/VTK-5/Rendering/vtkgl.h:16667: error: typedef 'vtkwgl::BOOL' is
> initialized (use decltype instead)
> c:/VTK-5/Rendering/vtkgl.h:16667: error:
> 'PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC' was not declared in this scope
> c:/VTK-5/Rendering/vtkgl.h:16669: error: 'PFNWGLDESTROYIMAGEBUFFERI3DPROC'
> does not name a type
> c:/VTK-5/Rendering/vtkgl.h:16670: error:
> 'PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC' does not name a type
> c:/VTK-5/Rendering/vtkgl.h:16671: error:
> 'PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC' does not name a type
> c:/VTK-5/Rendering/vtkgl.h:16674: error: ISO C++ forbids declaration of
> 'BOOL' with no type
> c:/VTK-5/Rendering/vtkgl.h:16674: error: typedef 'vtkwgl::BOOL' is
> initialized (use decltype instead)
> c:/VTK-5/Rendering/vtkgl.h:16674: error: 'PFNWGLENABLEFRAMELOCKI3DPROC' was
> not declared in this scope
> c:/VTK-5/Rendering/vtkgl.h:16675: error: ISO C++ forbids declaration of
> 'BOOL' with no type
> c:/VTK-5/Rendering/vtkgl.h:16675: error: typedef 'vtkwgl::BOOL' is
> initialized (use decltype instead)
> c:/VTK-5/Rendering/vtkgl.h:16675: error: 'PFNWGLDISABLEFRAMELOCKI3DPROC' was
> not declared in this scope
> c:/VTK-5/Rendering/vtkgl.h:16676: error: ISO C++ forbids declaration of
> 'BOOL' with no type
> c:/VTK-5/Rendering/vtkgl.h:16676: error: typedef 'vtkwgl::BOOL' is
> initialized (use decltype instead)
> c:/VTK-5/Rendering/vtkgl.h:16676: error: 'PFNWGLISENABLEDFRAMELOCKI3DPROC'
> was not declared in this scope
> c:/VTK-5/Rendering/vtkgl.h:16677: error: ISO C++ forbids declaration of
> 'BOOL' with no type
> c:/VTK-5/Rendering/vtkgl.h:16677: error: typedef 'vtkwgl::BOOL' is
> initialized (use decltype instead)
> c:/VTK-5/Rendering/vtkgl.h:16677: error: 'PFNWGLQUERYFRAMELOCKMASTERI3DPROC'
> was not declared in this scope
> c:/VTK-5/Rendering/vtkgl.h:16678: error: 'PFNWGLENABLEFRAMELOCKI3DPROC' does
> not name a type
> c:/VTK-5/Rendering/vtkgl.h:16679: error: 'PFNWGLDISABLEFRAMELOCKI3DPROC'
> does not name a type
> c:/VTK-5/Rendering/vtkgl.h:16680: error: 'PFNWGLISENABLEDFRAMELOCKI3DPROC'
> does not name a type
> c:/VTK-5/Rendering/vtkgl.h:16681: error: 'PFNWGLQUERYFRAMELOCKMASTERI3DPROC'
> does not name a type
> c:/VTK-5/Rendering/vtkgl.h:16758: error: ISO C++ forbids declaration of
> 'BOOL' with no type
> c:/VTK-5/Rendering/vtkgl.h:16758: error: typedef 'vtkwgl::BOOL' is
> initialized (use decltype instead)
> c:/VTK-5/Rendering/vtkgl.h:16758: error: 'PFNWGLSWAPINTERVALEXTPROC' was not
> declared in this scope
> c:/VTK-5/Rendering/vtkgl.h:16760: error: 'PFNWGLSWAPINTERVALEXTPROC' does
> not name a type
> c:/VTK-5/Rendering/vtkgl.h:16770: error: ISO C++ forbids declaration of
> 'BOOL' with no type
> c:/VTK-5/Rendering/vtkgl.h:16770: error: typedef 'vtkwgl::BOOL' is
> initialized (use decltype instead)
> c:/VTK-5/Rendering/vtkgl.h:16770: error: 'PFNWGLGETSYNCVALUESOMLPROC' was
> not declared in this scope
> c:/VTK-5/Rendering/vtkgl.h:16771: error: ISO C++ forbids declaration of
> 'BOOL' with no type
> c:/VTK-5/Rendering/vtkgl.h:16771: error: typedef 'vtkwgl::BOOL' is
> initialized (use decltype instead)
> c:/VTK-5/Rendering/vtkgl.h:16771: error: 'PFNWGLGETMSCRATEOMLPROC' was not
> declared in this scope
> c:/VTK-5/Rendering/vtkgl.h:16774: error: ISO C++ forbids declaration of
> 'BOOL' with no type
> c:/VTK-5/Rendering/vtkgl.h:16774: error: typedef 'vtkwgl::BOOL' is
> initialized (use decltype instead)
> c:/VTK-5/Rendering/vtkgl.h:16774: error: 'PFNWGLWAITFORMSCOMLPROC' was not
> declared in this scope
> c:/VTK-5/Rendering/vtkgl.h:16775: error: ISO C++ forbids declaration of
> 'BOOL' with no type
> c:/VTK-5/Rendering/vtkgl.h:16775: error: typedef 'vtkwgl::BOOL' is
> initialized (use decltype instead)
> c:/VTK-5/Rendering/vtkgl.h:16775: error: 'PFNWGLWAITFORSBCOMLPROC' was not
> declared in this scope
> c:/VTK-5/Rendering/vtkgl.h:16776: error: 'PFNWGLGETSYNCVALUESOMLPROC' does
> not name a type
> c:/VTK-5/Rendering/vtkgl.h:16777: error: 'PFNWGLGETMSCRATEOMLPROC' does not
> name a type
> c:/VTK-5/Rendering/vtkgl.h:16780: error: 'PFNWGLWAITFORMSCOMLPROC' does not
> name a type
> c:/VTK-5/Rendering/vtkgl.h:16781: error: 'PFNWGLWAITFORSBCOMLPROC' does not
> name a type
> c:/VTK-5/Rendering/vtkgl.h:16784: error: ISO C++ forbids declaration of
> 'BOOL' with no type
> c:/VTK-5/Rendering/vtkgl.h:16784: error: typedef 'vtkwgl::BOOL' is
> initialized (use decltype instead)
> c:/VTK-5/Rendering/vtkgl.h:16784: error: 'PFNWGLGETFRAMEUSAGEI3DPROC' was
> not declared in this scope
> c:/VTK-5/Rendering/vtkgl.h:16785: error: ISO C++ forbids declaration of
> 'BOOL' with no type
> c:/VTK-5/Rendering/vtkgl.h:16785: error: typedef 'vtkwgl::BOOL' is
> initialized (use decltype instead)
> c:/VTK-5/Rendering/vtkgl.h:16785: error: 'PFNWGLBEGINFRAMETRACKINGI3DPROC'
> was not declared in this scope
> c:/VTK-5/Rendering/vtkgl.h:16786: error: ISO C++ forbids declaration of
> 'BOOL' with no type
> c:/VTK-5/Rendering/vtkgl.h:16786: error: typedef 'vtkwgl::BOOL' is
> initialized (use decltype instead)
> c:/VTK-5/Rendering/vtkgl.h:16786: error: 'PFNWGLENDFRAMETRACKINGI3DPROC' was
> not declared in this scope
> c:/VTK-5/Rendering/vtkgl.h:16787: error: ISO C++ forbids declaration of
> 'BOOL' with no type
> c:/VTK-5/Rendering/vtkgl.h:16787: error: typedef 'vtkwgl::BOOL' is
> initialized (use decltype instead)
> c:/VTK-5/Rendering/vtkgl.h:16787: error: 'PFNWGLQUERYFRAMETRACKINGI3DPROC'
> was not declared in this scope
> c:/VTK-5/Rendering/vtkgl.h:16788: error: 'PFNWGLGETFRAMEUSAGEI3DPROC' does
> not name a type
> c:/VTK-5/Rendering/vtkgl.h:16789: error: 'PFNWGLBEGINFRAMETRACKINGI3DPROC'
> does not name a type
> c:/VTK-5/Rendering/vtkgl.h:16790: error: 'PFNWGLENDFRAMETRACKINGI3DPROC'
> does not name a type
> c:/VTK-5/Rendering/vtkgl.h:16791: error: 'PFNWGLQUERYFRAMETRACKINGI3DPROC'
> does not name a type
> make[2]: ***
> [Rendering/CMakeFiles/vtkRendering.dir/vtkFrameBufferObject.obj] Error 1
> make[2]: Leaving directory `/c/VTK-5'
> make[1]: *** [Rendering/CMakeFiles/vtkRendering.dir/all] Error 2
> make[1]: Leaving directory `/c/VTK-5'
> make: *** [all] Error 2
>
>
> Thanks for your help.
>
>
> _______________________________________________
> 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
>
>



-- 
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