Re: [Paraview] Paraview Custom Reader issue - OS X 10.12.6

2017-12-21 Thread Mathieu Westphal
Hello

To build a paraview plugin, one need first to build paraview from the
sources.
https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Writing_Plugins

Best,

Mathieu Westphal

On Thu, Dec 21, 2017 at 5:49 PM, Beach, Timothy A. (GRC-LTE0)[Vantage
Partners, LLC] <timothy.a.be...@nasa.gov> wrote:

> Thanks,
>
>
>
> I thought the idea of a plugin was that you make a shared libraryto
> load int an existing executable.   At this point I don’t have a paraview
> build directory,  just the binary for version 5.4.  Am I mixing apples and
> oranges here.
>
> Thanks
>
> Tim
>
>
>
> *From: *Mathieu Westphal <mathieu.westp...@kitware.com>
> *Date: *Thursday, December 21, 2017 at 11:31 AM
> *To: *"Beach, Timothy A. (GRC-LTE0)[Vantage Partners, LLC]" <
> timothy.a.be...@nasa.gov>
> *Cc: *"paraview@paraview.org" <paraview@paraview.org>
> *Subject: *Re: [Paraview] Paraview Custom Reader issue - OS X 10.12.6
>
>
>
> Hello
>
> You have to set ParaView_DIR to your paraview build directory. You have to
> do that in cmake, ccmake or cmake-gui.
>
> Best,
>
>
> Mathieu Westphal
>
>
>
> On Thu, Dec 21, 2017 at 5:01 PM, Beach, Timothy A. (GRC-LTE0)[Vantage
> Partners, LLC] <timothy.a.be...@nasa.gov> wrote:
>
> For some time I’ve used a custom reader in Paraview.  I’m having issues
> with my recently issued mac.   In the past I’ve recompiled the entire code
> but I’m having issues with QT so I’m trying to just get my reader working
> as a plugin as per the instructions on the paraview.org page “ParaView/Plugin
> HowTo”.  I thought that would be easier.  I’ve been unable to get past the
> following cmake  error.  I’m not very knowledgable on cmake . I wish I had
> time to  figure it out but I don’t. Any help with the following would be
> apprecitated   Thanks – I wasn’t   the best time to be given a new
> computer. Tim
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *CMake Error at CMakeLists.txt:1 (FIND_PACKAGE): By not providing
> "FindParaView.cmake" in CMAKE_MODULE_PATH this project has asked CMake to
> find a package configuration file provided by "ParaView", but CMake did not
> find one. Could not find a package configuration file provided by
> "ParaView" with any of the following names: ParaViewConfig.cmake
> paraview-config.cmake Add the installation prefix of "ParaView" to
> CMAKE_PREFIX_PATH or set "ParaView_DIR" to a directory containing one of
> the above files. If "ParaView" provides a separate development package or
> SDK, be sure it has been installed.*
>
>
>
> My CmakeList.txt – which may not be correct.  My reader is a clone of the
> Plot3d Reader
>
> *FIND_PACKAGE(ParaView REQUIRED)*
>
> *INCLUDE(${PARAVIEW_USE_FILE})*
>
> *ADD_PARAVIEW_PLUGIN(TURBO_Reader "1.0" *
>
> *   SERVER_MANAGER_XML TURBO_Reader.xml*
>
> *   SERVER_MANAGER_SOURCES vtkMultiBlockTURBOReader.cxx
> vtkMultiBlockTURBOReaderInternals.cxx*
>
> *   REQUIRED_ON_SERVER)*
>
>
>
> *set_source_files_properties(*
>
> *  vtkMultiBlockTURBOReaderInternals*
>
> *  PROPERTIES*
>
> *WRAP_EXCLUDE 1*
>
> *WRAP_EXCLUDE_PYTHON 1*
>
> *  )*
>
>
>
>
>
> Thanks
>
> Tim
>
>
>
>
>
>
> ___
> 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:
> https://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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] Paraview Custom Reader issue - OS X 10.12.6

2017-12-21 Thread Mathieu Westphal
Hello

You have to set ParaView_DIR to your paraview build directory. You have to
do that in cmake, ccmake or cmake-gui.

Best,

Mathieu Westphal

On Thu, Dec 21, 2017 at 5:01 PM, Beach, Timothy A. (GRC-LTE0)[Vantage
Partners, LLC]  wrote:

> For some time I’ve used a custom reader in Paraview.  I’m having issues
> with my recently issued mac.   In the past I’ve recompiled the entire code
> but I’m having issues with QT so I’m trying to just get my reader working
> as a plugin as per the instructions on the paraview.org page “ParaView/Plugin
> HowTo”.  I thought that would be easier.  I’ve been unable to get past the
> following cmake  error.  I’m not very knowledgable on cmake . I wish I had
> time to  figure it out but I don’t. Any help with the following would be
> apprecitated   Thanks – I wasn’t   the best time to be given a new
> computer. Tim
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *CMake Error at CMakeLists.txt:1 (FIND_PACKAGE): By not providing
> "FindParaView.cmake" in CMAKE_MODULE_PATH this project has asked CMake to
> find a package configuration file provided by "ParaView", but CMake did not
> find one. Could not find a package configuration file provided by
> "ParaView" with any of the following names: ParaViewConfig.cmake
> paraview-config.cmake Add the installation prefix of "ParaView" to
> CMAKE_PREFIX_PATH or set "ParaView_DIR" to a directory containing one of
> the above files. If "ParaView" provides a separate development package or
> SDK, be sure it has been installed.*
>
>
>
> My CmakeList.txt – which may not be correct.  My reader is a clone of the
> Plot3d Reader
>
> *FIND_PACKAGE(ParaView REQUIRED)*
>
> *INCLUDE(${PARAVIEW_USE_FILE})*
>
> *ADD_PARAVIEW_PLUGIN(TURBO_Reader "1.0" *
>
> *   SERVER_MANAGER_XML TURBO_Reader.xml*
>
> *   SERVER_MANAGER_SOURCES vtkMultiBlockTURBOReader.cxx
> vtkMultiBlockTURBOReaderInternals.cxx*
>
> *   REQUIRED_ON_SERVER)*
>
>
>
> *set_source_files_properties(*
>
> *  vtkMultiBlockTURBOReaderInternals*
>
> *  PROPERTIES*
>
> *WRAP_EXCLUDE 1*
>
> *WRAP_EXCLUDE_PYTHON 1*
>
> *  )*
>
>
>
>
>
> Thanks
>
> Tim
>
>
>
>
>
> ___
> 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:
> https://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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
https://paraview.org/mailman/listinfo/paraview


[Paraview] Paraview Custom Reader issue - OS X 10.12.6

2017-12-21 Thread Beach, Timothy A. (GRC-LTE0)[Vantage Partners, LLC]
For some time I’ve used a custom reader in Paraview.  I’m having issues with my 
recently issued mac.   In the past I’ve recompiled the entire code but I’m 
having issues with QT so I’m trying to just get my reader working as a plugin 
as per the instructions on the paraview.org page “ParaView/Plugin HowTo”.  I 
thought that would be easier.  I’ve been unable to get past the following cmake 
 error.  I’m not very knowledgable on cmake . I wish I had time to  figure it 
out but I don’t. Any help with the following would be apprecitated   Thanks – I 
wasn’t   the best time to be given a new computer. Tim

CMake Error at CMakeLists.txt:1 (FIND_PACKAGE):
By not providing "FindParaView.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "ParaView",
but CMake did not find one.

Could not find a package configuration file provided by "ParaView" with any
of the following names:

ParaViewConfig.cmake
paraview-config.cmake

Add the installation prefix of "ParaView" to CMAKE_PREFIX_PATH or set
"ParaView_DIR" to a directory containing one of the above files. If
"ParaView" provides a separate development package or SDK, be sure it has
been installed.

My CmakeList.txt – which may not be correct.  My reader is a clone of the 
Plot3d Reader
FIND_PACKAGE(ParaView REQUIRED)
INCLUDE(${PARAVIEW_USE_FILE})
ADD_PARAVIEW_PLUGIN(TURBO_Reader "1.0"
   SERVER_MANAGER_XML TURBO_Reader.xml
   SERVER_MANAGER_SOURCES vtkMultiBlockTURBOReader.cxx 
vtkMultiBlockTURBOReaderInternals.cxx
   REQUIRED_ON_SERVER)

set_source_files_properties(
  vtkMultiBlockTURBOReaderInternals
  PROPERTIES
WRAP_EXCLUDE 1
WRAP_EXCLUDE_PYTHON 1
  )


Thanks
Tim


___
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:
https://paraview.org/mailman/listinfo/paraview