[Paraview] error building silo reader

Dan Lipsa dan.lipsa at kitware.com
Tue Feb 17 13:26:50 EST 2015


Hi Jeff,
You'll need Qt version 4.8.6.

https://download.qt.io/archive/qt/4.8/


QList<>::reserve has been introduced in version 4.7 so probably you have
something earlier than that.

See also
http://www.paraview.org/Wiki/ParaView/Binaries
for required versions for ParaView libraries.

Dan


On Tue, Feb 17, 2015 at 11:58 AM, Jeff Becker <jeffrey.c.becker at nasa.gov>
wrote:

>  On 02/17/2015 08:30 AM, Jeff Becker wrote:
>
> On 02/16/2015 07:03 AM, Utkarsh Ayachit wrote:
>
> Which version of Silo did you build? Can you attach your CMakeCache.txt
> please?
>
>
> Progress! I figured out that the version of silo I was using (4.10.2) was
> causing the error due to an incompatibility with the way ParaView was
> calling it. Thus I went to silo 4.9.1. Now I get the following QT related
> error.
>
> [ 88%] Building CXX object
> Qt/Core/CMakeFiles/pqCore.dir/pqOutputWindowModel.cxx.o
> /u/wk/jcbecker/ParaView/Qt/Core/pqOutputWindowModel.cxx: In member
> function ‘void pqOutputWindowModel::ShowMessages(bool*)’:
> /u/wk/jcbecker/ParaView/Qt/Core/pqOutputWindowModel.cxx:246:14: error:
> ‘class QList<int>’ has no member named ‘reserve’
>    this->Rows.reserve(_rowCount);
>               ^
> make[2]: *** [Qt/Core/CMakeFiles/pqCore.dir/pqOutputWindowModel.cxx.o]
> Error 1
> make[1]: *** [Qt/Core/CMakeFiles/pqCore.dir/all] Error 2
> make: *** [all] Error 2
>
> Any ideas here? Thanks. I've attached CMakeCache.txt in case it helps.
>
>
> Looking at my CMakeCache.txt, it looks like setting a correct path for
> qmake isn't enough for ccmake to find the associated library paths. I'll
> try again with adding the correct path to LD_LIBRARY_PATH.
>
> -jeff
>
>
> -jeff
>
>
> Thanks
>
> On Wed, Feb 11, 2015 at 7:19 PM, Jeff Becker <jeffrey.c.becker at nasa.gov>
> <jeffrey.c.becker at nasa.gov> wrote:
>
> Please help me understand and fix the following build error. Thanks.
>
> -jeff
>
> [ 26%] Building CXX object
> Utilities/VisItBridge/databases/CMakeFiles/vtkIOVisItBridge.dir/Silo/avtSiloWriter.C.o
>
>
> [ 26%] Building CXX object
> Utilities/VisItBridge/databases/CMakeFiles/vtkIOVisItBridge.dir/Silo/avtSiloFileFormat.C.o
>
>
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:
>
> In member function ‘virtual void
> avtSiloFileFormat::PopulateDatabaseMetaData(avtDatabaseMetaData*)’:
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:1195:
>
> error: expected primary-expression before ‘,’ token
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:1195:
>
> error:
> ‘DBSetDataReadMask_is_replaced_with_DBSetDataReadMask2_using_unsigned_long_long’
>
> was not declared in this scope
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:1211:
>
> error: expected primary-expression before ‘,’ token
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:
>
> In member function ‘void avtSiloFileFormat::ReadCSGmeshes(DBfile*, int,
> char**, const char*, avtDatabaseMetaData*)’:
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:2532:
>
> error: expected primary-expression before ‘,’ token
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:2533:
>
> error: expected primary-expression before ‘,’ token
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:2533:
>
> error:
> ‘DBSetDataReadMask_is_replaced_with_DBSetDataReadMask2_using_unsigned_long_long’
>
> was not declared in this scope
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:2535:
>
> error: expected primary-expression before ‘,’ token
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:
>
> In member function ‘void
> avtSiloFileFormat::FindMultiMeshAdjConnectivity(DBfile*, int&, int*&,
> int*&,
> int&, int*&, int&, int*&, bool, bool)’:
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:5442:
>
> error: expected primary-expression before ‘,’ token
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:5443:
>
> error: expected primary-expression before ‘,’ token
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:5443:
>
> error:
> ‘DBSetDataReadMask_is_replaced_with_DBSetDataReadMask2_using_unsigned_long_long’
>
> was not declared in this scope
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:5450:
>
> error: expected primary-expression before ‘,’ token
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:
>
> In member function ‘void avtSiloFileFormat::AddCSGMultimesh(const char*,
> const char*, avtDatabaseMetaData*, avtSiloMultiMeshCacheEntry*, DBfile*)’:
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:5883:
>
> error: expected primary-expression before ‘,’ token
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:5884:
>
> error: expected primary-expression before ‘,’ token
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:5884:
>
> error:
> ‘DBSetDataReadMask_is_replaced_with_DBSetDataReadMask2_using_unsigned_long_long’
>
> was not declared in this scope
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:5955:
>
> error: expected primary-expression before ‘,’ token
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:
>
> In member function ‘vtkDataArray*
> avtSiloFileFormat::GetAnnotIntNodelistsVar(int, std::string)’:
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:6765:
>
> error: expected primary-expression before ‘,’ token
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:6767:
>
> error: expected primary-expression before ‘,’ token
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:
>
> In member function ‘vtkDataArray*
> avtSiloFileFormat::GetMrgTreeNodelistsVar(int, std::string)’:
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:6856:
>
> error: expected primary-expression before ‘,’ token
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:6858:
>
> error: expected primary-expression before ‘,’ token
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:
>
> In member function ‘void avtSiloFileFormat::ExpandUcdvar(DBucdvar*, const
> char*, const char*, int)’:
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:8563:
>
> error: invalid conversion from ‘float**’ to ‘void**’
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:8575:
>
> error: invalid conversion from ‘float**’ to ‘void**’
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:
>
> In member function ‘void avtSiloFileFormat::HandleGlobalZoneIds(const
> char*,
> int, void*, int, int)’:
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:9136:
>
> error: invalid conversion from ‘float**’ to ‘void**’
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:
>
> In member function ‘void
> avtSiloFileFormat::ReadInConnectivity(vtkUnstructuredGrid*, DBucdmesh*,
> const char*, int)’:
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:10226:
>
> error: invalid conversion from ‘float**’ to ‘void**’
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:
>
> In member function ‘void avtSiloFileFormat::ReadInArbConnectivity(const
> char*, vtkUnstructuredGrid*, DBucdmesh*, int, int)’:
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:11349:
>
> error: invalid conversion from ‘float**’ to ‘void**’
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:
>
> In member function ‘vtkDataArray* avtSiloFileFormat::GetGlobalNodeIds(int,
> const char*)’:
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:13751:
>
> error: expected primary-expression before ‘,’ token
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:13752:
>
> error: expected primary-expression before ‘,’ token
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:13752:
>
> error:
> ‘DBSetDataReadMask_is_replaced_with_DBSetDataReadMask2_using_unsigned_long_long’
>
> was not declared in this scope
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:13754:
>
> error: expected primary-expression before ‘,’ token
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:
>
> In member function ‘vtkDataArray* avtSiloFileFormat::GetGlobalZoneIds(int,
> const char*)’:
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:13842:
>
> error: expected primary-expression before ‘,’ token
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:13843:
>
> error: expected primary-expression before ‘,’ token
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:13843:
>
> error:
> ‘DBSetDataReadMask_is_replaced_with_DBSetDataReadMask2_using_unsigned_long_long’
>
> was not declared in this scope
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:13845:
>
> error: expected primary-expression before ‘,’ token
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:
>
> In member function ‘avtMaterial* avtSiloFileFormat::CalcMaterial(DBfile*,
> const char*, const char*, int)’:
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:14218:
>
> error: invalid conversion from ‘float**’ to ‘void**’
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:
>
> In member function ‘avtFacelist*
> avtSiloFileFormat::CalcExternalFacelist(DBfile*, const char*)’:
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:14423:
>
> error: expected primary-expression before ‘,’ token
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:14424:
>
> error: expected primary-expression before ‘,’ token
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:14424:
>
> error:
> ‘DBSetDataReadMask_is_replaced_with_DBSetDataReadMask2_using_unsigned_long_long’
>
> was not declared in this scope
> /u/wk/jcbecker/ParaView/Utilities/VisItBridge/databases/Silo/avtSiloFileFormat.C:14426:
>
> error: expected primary-expression before ‘,’ token
> make[2]: ***
> [Utilities/VisItBridge/databases/CMakeFiles/vtkIOVisItBridge.dir/Silo/avtSiloFileFormat.C.o]
>
> Error 1
> make[1]: ***
> [Utilities/VisItBridge/databases/CMakeFiles/vtkIOVisItBridge.dir/all]
> Error
> 2
> make: *** [all] Error 2
>
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/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
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:http://public.kitware.com/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
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150217/1775c903/attachment.html>


More information about the ParaView mailing list