Re: [Paraview] VisIt Database Bridge - Custom Plugin of VisIt Reader

2011-04-25 Thread Simon Su
Hi Robert, I changed my CMakeLists.txt file to +++ PROJECT(VisItReaderGFDL) cmake_minimum_required(VERSION 2.8) FIND_PACKAGE(ParaView REQUIRED) INCLUDE(${PARAVIEW_USE_FILE}) SET(SOURCES avtCM24FileFormat.h avtCM24FileFormat.C NETCDFFileObject.h NETCDFFileObj

Re: [Paraview] VisIt Database Bridge - Custom Plugin of VisIt Reader

2011-04-25 Thread Simon Su
Hi Robert, I will give it a try. thanks -simon On Mon, Apr 18, 2011 at 9:26 AM, Robert Maynard wrote: > Hi Simon, > > I have attached an example CMakeLists.txt that support external library > linking and include directories. Since you are linking to a static build of > HDF5 you will need to man

Re: [Paraview] VisIt Database Bridge - Custom Plugin of VisIt Reader

2011-04-18 Thread Robert Maynard
Hi Simon, I have attached an example CMakeLists.txt that support external library linking and include directories. Since you are linking to a static build of HDF5 you will need to manually add each library to VISIT_PLUGIN_EXTERNAL_LIBS separated by semicolons. On Mon, Apr 11, 2011 at 5:19 PM, Si

Re: [Paraview] VisIt Database Bridge - Custom Plugin of VisIt Reader

2011-04-11 Thread Simon Su
Hi Robert, It worked. adding the other file listed under my Files components="M" xml block solve the error when the plugin manager tries to loader the plugin. So I went and try to load my file in ParaView ... but this is what I got sms:/local/home/build/paraview-plugin/gfdl-paraview-loader-

Re: [Paraview] VisIt Database Bridge - Custom Plugin of VisIt Reader

2011-04-11 Thread Robert Maynard
Hi Simon, You do not need to modify the avt file or add the revision macro as that is not the problem you are currently facing. I would try reverting your avt file to its original content, adding all the files listed in the Files components="M" xml block to your SOURCES list, and adding the plugin

Re: [Paraview] VisIt Database Bridge - Custom Plugin of VisIt Reader

2011-04-11 Thread Simon Su
Hi Robert, I inferred a CMakeLists.txt from the wiki page CMakeLists.txt for the plugin PROJECT(VisItReaderGFDL) cmake_minimum_required(VERSION 2.8) FIND_PACKAGE(ParaView REQUIRED) INCLUDE(${PARAVIEW_USE_FILE}) SET(SOURCES avtCM24FileFormat.C ) ADD_VISIT_PLUGIN_READER(Vis

Re: [Paraview] VisIt Database Bridge - Custom Plugin of VisIt Reader

2011-04-11 Thread Robert Maynard
Hi Simon, You do not need to place the CMakeLists.txt inside ParaView at all to build a plugin. You just need to set that folder as the source folder for CMake, and set a different directory as the plugin build directory. After that you will need to set ParaView_DIR to your ParaView build director

[Paraview] VisIt Database Bridge - Custom Plugin of VisIt Reader

2011-04-08 Thread Simon Su
Hi there, I have silo plugin working and now I would like to try out adding my own VisIt database plugin to ParaView. http://www.cmake.org/Wiki/VisIt_Database_Bridge mentioned how to write the CMakeLists.txt file but where do I need to place the files ( CMakeLists.txt, and avtMyReaderFileFormat.C)