View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014118ParaView(No Category)public2013-06-05 16:402016-08-12 09:59
ReporterCory Quammen 
Assigned ToUtkarsh Ayachit 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0014118: VisItBridge compilation error
DescriptionI have enabled PARAVIEW_USE_VISITBRIDGE using ParaView commit 3f4918784cb8aa2662d27ccdcad9b49eff2e8490 on Mac OS X. Compilation fails with

[ 94%] Building CXX object Utilities/VisItBridge/databases/CMakeFiles/vtkIOVisItBridge.dir/vtkVisItVsReader.cxx.o
/Users/quammen/dev/build/MADAIWorkbench-Installer/bin/ParaView-build/Utilities/VisItBridge/databases/vtkVisItVsReader.cxx: In member function ‘virtual bool vtkVisItVsReader::InitializeAVTReader(const int&)’:
/Users/quammen/dev/build/MADAIWorkbench-Installer/bin/ParaView-build/Utilities/VisItBridge/databases/vtkVisItVsReader.cxx:102: error: cannot allocate an object of abstract type ‘avtVsFileFormat’
/Users/quammen/dev/build/MADAIWorkbench-Installer/src/ParaView/Utilities/VisItBridge/databases/Vs/avtVsFileFormat.h:41: note: because the following virtual functions are pure within ‘avtVsFileFormat’:
/Users/quammen/dev/build/MADAIWorkbench-Installer/src/ParaView/Utilities/VisItBridge/Library/VisItLib/avt/Database/Formats/avtFileFormat.h:150: note: virtual const char* avtFileFormat::GetType()
/Users/quammen/dev/build/MADAIWorkbench-Installer/src/ParaView/Utilities/VisItBridge/Library/VisItLib/avt/Database/Formats/avtSTMDFileFormat.h:129: note: virtual vtkDataSet* avtSTMDFileFormat::GetMesh(int, const char*)
/Users/quammen/dev/build/MADAIWorkbench-Installer/src/ParaView/Utilities/VisItBridge/Library/VisItLib/avt/Database/Formats/avtSTMDFileFormat.h:130: note: virtual vtkDataArray* avtSTMDFileFormat::GetVar(int, const char*)
/Users/quammen/dev/build/MADAIWorkbench-Installer/src/ParaView/Utilities/VisItBridge/Library/VisItLib/avt/Database/Formats/avtSTMDFileFormat.h:140: note: virtual void avtSTMDFileFormat::PopulateDatabaseMetaData(avtDatabaseMetaData*)
make[3]: *** [Utilities/VisItBridge/databases/CMakeFiles/vtkIOVisItBridge.dir/vtkVisItVsReader.cxx.o] Error 1
make[2]: *** [Utilities/VisItBridge/databases/CMakeFiles/vtkIOVisItBridge.dir/all] Error 2
make[1]: *** [Utilities/VisItBridge/databases/CMakeFiles/vtkIOVisItBridge.dir/rule] Error 2
make: *** [vtkIOVisItBridge] Error 2
TagsNo tags attached.
ProjectTBD
Topic Name
Typeincorrect functionality
Attached Filestxt file icon CMakeCache.txt [^] (354,387 bytes) 2013-06-11 15:08

 Relationships

  Notes
(0030977)
Utkarsh Ayachit (administrator)
2013-06-07 12:03

Can you attach your CMakeCache.txt? Are you using system HDF5?
(0030982)
Cory Quammen (developer)
2013-06-11 15:08

CMakeCache.txt attached. I am not using system HDF5.
(0030985)
Cory Quammen (developer)
2013-06-11 16:03

I do have an HDF5 installation in /opt/local. Boost is also installed there, so Boost_INCLUDE_DIR is set to /opt/local/include. This is added to the VISITBRIDGE_INCLUDE_DIRS, so there is a danger that the wrong HDF5 header files are being located.
(0030987)
Cory Quammen (developer)
2013-06-11 17:44

I just confirmed it's a problem with my installation of HDF5 using mac ports. The installed version was 1.6.9. The header for this version was getting included, so the majority of the content for avtVsFileFormat.h and avtVsFileFormat.C was skipped by the preprocessor because of the check

#if HDF5_VERSION_GE(1, 8, 1)

at avtVsFileFormat.h:64

A solution migt be to include the VTK HDF5 include directories before any system include directories.
(0038404)
Kitware Robot (administrator)
2016-08-12 09:59

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current ParaView Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2013-06-05 16:40 Cory Quammen New Issue
2013-06-07 12:03 Utkarsh Ayachit Note Added: 0030977
2013-06-07 12:03 Utkarsh Ayachit Assigned To => Utkarsh Ayachit
2013-06-11 15:08 Cory Quammen File Added: CMakeCache.txt
2013-06-11 15:08 Cory Quammen Note Added: 0030982
2013-06-11 16:03 Cory Quammen Note Added: 0030985
2013-06-11 17:44 Cory Quammen Note Added: 0030987
2016-08-12 09:59 Kitware Robot Note Added: 0038404
2016-08-12 09:59 Kitware Robot Status backlog => closed
2016-08-12 09:59 Kitware Robot Resolution open => moved


Copyright © 2000 - 2018 MantisBT Team