[Paraview] SuperBuild errors with VS2008 win32 (On Win7 Ult x64)

Robert Maynard robert.maynard at kitware.com
Wed May 2 10:42:57 EDT 2012


Hi,

I use Visual Studio 2008 Professional to generate the ParaView binaries and
have to do no modification of Silo or NetCDF. I feel the problem might be
related to using a older version of CMake that isn't properly executing all
the custom build steps. We have a custom step for Silo that does upgrade
the solution file.

The install issue with png feels like that it is not properly building the
project. The png project doesn't have any fancy custom steps, so I wonder
if it is a time stamp issue and ExternalProject thinks png is built when it
actually isn't. If you fully
remove the png-build and png-prefix directories does it properly build and
install than?

On Wed, May 2, 2012 at 9:46 AM, Michael Jackson <mike.jackson at bluequartz.net
> 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.jackson at 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-request at paraview.org wrote:
> >> From: Michael Jackson<mike.jackson at bluequartz.net>
> >> Subject: [Paraview] SuperBuild errors with VS2008 win32 (On Win7 Ult
> >>      x64)
> >> To: ParaView<paraview at paraview.org>
> >> Message-ID:
> >>      <CAEqXkzfteinUzK49PdhK=suydsY=
> 0PvLvoeBO+yT2bLUQEHiuQ at 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.jackson at 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
>



-- 
Robert Maynard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120502/d1b03952/attachment.htm>


More information about the ParaView mailing list