Hi all,
I need the header files of the Paraview in order to build a plugin. To have them, in the Paraview building manual it says I have to implement this variable "PARAVIEW_INSTALL_DEVELOPMENT_FILES" during configuring it. But there's no such option in Mac OS (as the manual also says).
So was wondering if anybody knows a way how to introduce this variable in Mac OS? Or a way how to get the header files after installation in order to build a plugin?
Thanks a ton!
Danial
richti83 | Tue, 07/01/2014 - 07:40
I never tried on MacOS but ...
the normal procedure is to download ParaView-Source,
create a build folder,
use cmake / ccmake / cmake-gui to configure (set shared libs to yes, choose BuildType Release), enable python (if you need it, not sure how to solve the dependicies in MacOS)
hit configure, hit generate.
type make -j
wait until ParaView is compiled
Download / Create the PluginSource
create a build folder
use ccmake and point to the build-folder of Paraview from the first step (I think this points the reader to the PV-Dev-Files).
configure, generate, make.
Maybe it's a good idea to compare your Plugin-CMakeList.txt with a known-to-work version:
https://github.com/richti83/ParaView_Reader_for_LIGGGHTS/blob/master/rea...
If this does not help feel free to ask the paraview-mailing list.
btw: In my configurations the PARAVIEW_INSTALL_DEVELOPMENT_FILES is present but switched to off (it's a ubuntu and a windows machine), so I think it's not really needed to compile a plugin. Can you share the source where you got this information from ?
When you successfull get a development environment, would you please be so kind and complile my ParaView Text Reader for LIGGGHTS dump files for MacOS and PV 4.0.1 ? I have a stundet with a nice MacBook but no time to help him to compile it, so a precompiled version would be really nice !
Source:
git clone https://github.com/richti83/ParaView_Reader_for_LIGGGHTS.git
Thanks & Good Luck,
Christian.