On Fri, Feb 19, 2010 at 09:32:00AM -0500, Utkarsh Ayachit wrote:
> YOu may have to do a clean build.

Jacob, a "clean build" typically means "make clean" or
"make distclean" before you build again with shared libs.
If these targets are not available, you may need to
remove the whole of the paraview build tree, or start
afresh in a new directory, starting from extracting the source
from the tar file.

anton

> 
> On Fri, Feb 19, 2010 at 9:27 AM, J Cook <jc7...@bristol.ac.uk> wrote:
> > Hi
> > I am currently trying to build paraview from the source code with shared
> > libraries on. I was able to build this code using CMake 2.8.0 and microsoft
> > visual studio 9 before however BUILD_SHARED_LIBS was off. When I turn this
> > value to on I am still able to generate the files in CMake but I get
> > errors whilst building paraview in visual studio.
> >
> > The main errors are;
> >
> > vtkCommon,
> > c:\paraview3\vtk\common\vtkDataArrayTemplate.h(318) : error C4430: missing
> > type specifier - int assumed. Note: C++ does not support default-int
> >
> > vtkFiltering,
> > c:\paraviewtrunk_mpi1659\vtk\common\vtkArrayIteratorTemplate.txx(32) :
> > error C2491: 'vtkArrayIteratorTemplate<T>::New' : definition of dllimport
> > function not allowed
> > a block of similar errors is created following this error.
> >
> >
> > Thanks for any help in advance.
> > Jacob Cook
> >
> >
> > --
> >
> >
> > _______________________________________________
> > 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

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
_______________________________________________
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

Reply via email to