[Paraview] Errors while compiling paraview3 on Windows

Francois Bertel francois.bertel at kitware.com
Fri Feb 29 10:02:59 EST 2008


Hi,

I can only answer about the glaux error.

For the glaux issue, it has been fixed a while ago, but obviously it is not part of ParaView 3.2.1:

Ref: http://public.kitware.com/pipermail/vtkusers/2007-October/092852.html

$ cvs log VTK/Rendering/vtkWin32OpenGLRenderWindow.cxx

symbolic names:
         ParaView-3-2-1: 1.151

----------------------------
revision 1.152
date: 2007-10-02 10:40:40 -0400;  author: fbertel;  state: Exp;  lines: +2 -7
COMP:Removed wrong dependency on glaux. It looks like legacy code. VTK definitively does not depend on glaux. glaux was removed from the Vista SDK, therefore vtkWin32OpenGLRenderWindow.cxx was even broken in this context,


here is the result of "cvs diff -r 1.151 -r 1.152 VTK/Rendering/vtkWin32OpenGLRenderWindow.cxx":

Index: vtkWin32OpenGLRenderWindow.cxx
===================================================================
RCS file: /cvsroot/ParaView3/ParaView3/VTK/Rendering/vtkWin32OpenGLRenderWindow.cxx,v
retrieving revision 1.151
retrieving revision 1.152
diff -r1.151 -r1.152
33,38c33
< #if defined(_MSC_VER) || defined (__BORLANDC__)
< # include "vtkWindows.h"
< # include <GL/glaux.h>
< #else
< # include "vtkOpenGL.h"
< #endif
---
 > #include "vtkOpenGL.h"
40c35
< vtkCxxRevisionMacro(vtkWin32OpenGLRenderWindow, "$Revision: 1.151 $");
---
 > vtkCxxRevisionMacro(vtkWin32OpenGLRenderWindow, "$Revision: 1.152 $");

Regards.


Jefferson Thomas wrote:
> Hi
> 
> I have already compiled Paraview 3.2 on Linux without bigger problems. 
> Now I have to do the same on Windows. Im following the instructions from 
> page
> http://www.paraview.org/Wiki/ParaView:Build_And_Install
> First problem is that they suppose that the person compiling it has 
> Visual Studio 6 or 7. As far as I could find out Visual Studio is a 
> commercial software so I have downloaded
> the free Visual C++ 2008 Express from page 
> http://www.microsoft.com/japan/msdn/vstudio/express/
> Using it I compiled Qt without problems but while compiling Paraview I 
> get the following errors:
> 
> error C3163: '_vsnprintf : attribute doesnt match the previous declaration
> ......
> fatal error C1083: include could not open file 'GL/glaux' - no such file 
> or directory
> ....
> LINK : fatal error LNK1104: couldnt open file 'vtkParallel.lib'
> and many other *.lib files give that error
> ...
> 
> The configuration Im using is :
> - Windows Vista/Windows XP - the same result on both
> - Visual C++ 2008 Express Edition
> - CMake 2.8 - patch 8
> - Paraview 3.2.1 source downloaded from 
> http://www.paraview.org/New/download.html (because I cant use CVS from 
> where I work)
> 
> What am I doing wrong ?
> Thank you for any help.


-- 
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 ParaView mailing list