After all I managed to compile it. The solution is to remove the
<p style="margin-bottom: 0cm;" lang="ja-JP"><font face="Times New Roman, serif">#
define vsnprintf _vsnprintf</font></p>from file:<br>
<p style="margin-bottom: 0cm;" lang="ja-JP"><font face="Times New Roman, serif">.\ParaView3.2.1\VTK\Utilities\vtklibxml2</font>\<font face="Times New Roman, serif">config_cmake.h.in</font></p>
<br>Thank you all for your help.<br>Thomas<br><br><br><div><span class="gmail_quote">2008/3/3, Jefferson Thomas <<a href="mailto:foramuyou@gmail.com">foramuyou@gmail.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;">
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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">clinton@elemtech.com</a> <<a href="mailto:clinton@elemtech.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">clinton@elemtech.com</a>>:</span><div>
<span class="e" id="q_1187226bbde2ef0a_1"><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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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></span></div></div><br>
</blockquote></div><br>