That didn't work. I think because in H5public.h ssize_t is a typedef and NetCDF is using a #define instead? My c fu isn't that strong to figure it out. I'll just comment it out and move on. -- Mike Jackson <www.bluequartz.net>
On May 2, 2012, at 9:46 AM, Michael Jackson wrote: > I took a look at that page a it struck me that at least one of the errors > (ncconfig.h.in) is clearly a bug. From the wiki page are your hints: > > • Problems with vtkNetCDF when building win32 with MSVC2008: > • The error message was paraview-3.14.1-superbuild\include\H5public.h(133) : > error C2632: 'int' followed by 'int' is illegal. > • To fix this, go to the folder > ParaView-xxx-SuperBuild\ParaView-build\VTK\Utilities\vtknetcdf and edit the > file ncconfig.h. > > The relevant lines are: > > /* Define to `int' if system doesn't define. */ > #cmakedefine ssize_t @ssize_t@ > > Those lines should probably be: > > #ifndef ssize_t > #cmakedefine ssize_t @ssize_t@ > #endif > > Because the issue is that NetCDF pulls in HDF5 and ssize_t is already defined > in H5public.h. > > My other question to the Kitware folks is that why are the NOT getting this > error on their builds? I'll assume they are NOT getting the error because > nothing in the SuperBuild would indicate this type of patch is needed for > their builds? > ___________________________________________________________ > Mike Jackson Principal Software Engineer > BlueQuartz Software Dayton, Ohio > mike.jack...@bluequartz.net www.bluequartz.net > > On May 2, 2012, at 6:29 AM, Bruno Santos wrote: > >> >> I had problems with this as well and documented the process here: >> http://code.google.com/p/unofficial-paraview-dev-install/wiki/Notes3141 >> There you might also find answers for your other question. >> >> On 02-05-2012 01:49, paraview-requ...@paraview.org wrote: >>> From: Michael Jackson<mike.jack...@bluequartz.net> >>> Subject: [Paraview] SuperBuild errors with VS2008 win32 (On Win7 Ult >>> x64) >>> To: ParaView<paraview@paraview.org> >>> Message-ID: >>> <CAEqXkzfteinUzK49PdhK=suydsY=0pvlvoebo+yt2bluqeh...@mail.gmail.com> >>> Content-Type: text/plain; charset=ISO-8859-1 >>> >>> I am attempting to run the SuperBuild for ParaView Version 3.14.1 >>> (Source downloaded from link on downloads page). At least when >>> building a 32 bit windows executable using VS 2008 SP1 the png gives a >>> few installation errors. It can not find and therefor install the >>> following files: >>> >>> libpng-config >>> libpng15-config >>> libpng.pc >>> libpng15.pc >>> >>> Not sure if this is causing my other build issues later on but just >>> wanted to mention this. >>> >>> I somehow got SuperBuild to compile in win64 mode to get 64 bit >>> binaries. Not sure where the failure between the 2 lies. >>> >>> Thanks for any help or clarifications. >>> _________________________________________________________ >>> Mike Jackson? ? ? ? ? ? ? ? ?mike.jack...@bluequartz.net >>> BlueQuartz Software? ? ? ? ? ? ? ? ? ?www.bluequartz.net >>> Principal Software Engineer? ? ? ? ? ? ? ? ? Dayton, Ohio >> >> >> -- >> http://www.bluecape.com.pt >> >> blueCAPE Lda - CAE solutions >> Rua Fonte dos Corvos, n.29 >> Casais da Serra >> 2665-305 Milharado >> PORTUGAL >> >> (+351) 219 755 345 Tel. >> (+351) 219 755 345 Fax >> (+351) 963 440 984 Mob. >> >> _______________________________________________ >> 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 ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://www.paraview.org/mailman/listinfo/paraview > _______________________________________________ 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview