I commented it out from Paraview3.2.1/VTK/Utilities/vtkzlib/zutil.h<br>but the errors are still there. Here is how they look:<br><br>1>c14n.c<br>1>C:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(358) : error C3163: '_vsnprintf': attribute doesnt match the previous declaration<br>
1> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(350) : please confirm the declaration of '_vsnprintf' <br>1>xpointer.c<br>
1>C:\Program Files\Microsoft Visual Studio
9.0\VC\include\stdio.h(358) : error C3163: '_vsnprintf': attribute
doesnt match the previous declaration<br>
1> C:\Program Files\Microsoft Visual Studio
9.0\VC\include\stdio.h(350) : please confirm the declaration of
'_vsnprintf'<br><br>and so on with very meny .c files. The last errors say the library vtklibxml2.lib was not found<br>8>linking...<br>8>LINK : fatal error LNK1104: could not open file 'vtklibxml2.lib' <br>
<br>this error comes many times. I think its because of the previous errors the library vtklibxml2 could not be compiled so the problem is that '_vsnprintf'.<br><br>Are there any other declarations of _vsnprintf I should delete ? Any other things I should do ?<br>
<br>Thank you for your help,<br>Thomas<br><br><div><span class="gmail_quote">2008/3/1, <a href="mailto:clinton@elemtech.com">clinton@elemtech.com</a> <<a href="mailto:clinton@elemtech.com">clinton@elemtech.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Friday 29 February 2008 12:59:33 am Jefferson Thomas wrote:<br> > As I have mentioned in my previous mail Im trying to compile Paraview3 on<br> > Windows using Visual C++ Express 2008 (or whatever Visual C++ free version<br>
> is there).<br> > Im getting two main errors during compilation of Paraview in Visual C++<br> > Express GUI :<br> > error C3163: '_vsnprintf : attribute doesnt match the previous declaration<br> <br> <br>
Did this come out of compiling vtkzlib? If so, try commenting out the<br> # define vsnprintf _vsnprintf<br> in zutil.h<br> <br> The only other code to call that function is vtklibxml2, and it checks for<br> Visual Studio 2008.<br>
<br> Clint<br> <br><br> > fatal error C1083: include could not open file 'GL/glaux' - no such file or<br> > directory<br> ><br> > I have compiled Qt using the command line qconfigure.bat msvc<br> > and also qconfigure.bat <a href="http://msvc.net">msvc.net</a><br>
> I installed also Windows SDK for Windows Server 2008 and changed properly<br> > the VS library path to point to v6.1.<br> > Still no progress. Same errors.<br> ><br> > Does anybody know what I should do to make it work? The only think I want<br>
> is to compile Paraview on Windows (not having to pay for Visual C++). If<br> > there is any other way then using Visual Express 2008 or if somebody thinks<br> > that I should use Visual Express [version XXX] in combination with<br>
> library[XXX] and compiling Qt with options [XYZ] or whatever, please give<br> > me a hint, any.<br> ><br> > Thank you for any help.<br> > Thomas<br> <br> <br> </blockquote></div><br>