[vtkusers] visual studio 2008 and v6.0a sdk missing glaux.h
Shekhar Chandra
Shekhar.Chandra at sci.monash.edu.au
Mon Oct 1 22:04:25 EDT 2007
Hi Jon,
I believe the Vista SDK (v6.0) no longer supports the GLAUX library, the
earlier Platform SDK do though. You can replicate the same error by
using VC 2005 Express with Vista SDK. Vista SDK Update supports all
Windows and is most likely whats installed with VS 2008?
Which one do you have installed? Not sure what part of VTK uses GLAUX,
apparently this is no longer supported by almost everyone and GLUT
should be used instead. I'm not an expert in this. Is there a way of
using GLUT instead in VTK or by using Defines? As this will cause issues
with Vista and future Windows builds.
Cheers
Shakes
Jon W wrote:
> Microsoft compilers prior to Visual Studio 2008 Beta2 installed a
> platform sdk with the files used by the vtk build:
> gl.h
> glaux.h
> glu.h
>
> With the Visual Studio 2008 Beta2 installation the glaux.h file is no
> longer included which breaks the vtk build with the following error:
>
> \vtk\Rendering\vtkWin32OpenGLRenderWindow.cxx(34) : fatal error C1083:
> Cannot open include file: 'GL/glaux.h': No such file or directory
>
> Here is the code in vtkWin32OpenGLRenderWindow.cxx:
> #if defined(_MSC_VER) || defined (__BORLANDC__)
> # include "vtkWindows.h"
> # include <GL/glaux.h>
> #else
> # include "vtkOpenGL.h"
> #endif
>
> Has anybody tried building with the Visual Studio 2008 Beta2 compiler?
> Are there any plans to work around the missing glaux.h?
>
> Thank you,
> Jon
> _______________________________________________
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Shekhar.Chandra.vcf
Type: text/x-vcard
Size: 261 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20071002/1e79a789/attachment.vcf>
More information about the vtkusers
mailing list