[Paraview] ccmake error when building example custom application

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Mon Apr 2 16:41:13 EDT 2012


ParaView_DIR must be set to the binary directory for PAraView i.e. the
directory where you built ParaVIew.

Utkarsh

On Mon, Apr 2, 2012 at 4:32 PM, Nathan Jarus <nmjxv3 at mst.edu> wrote:
> Hi,
>
> I'm trying to build the example custom application Clone1. I've got
> the paraview source in ~/ParaView, and a ~/pv_clone1 folder for the
> binaries. In ~/pv_clone1, I ran
>
> ccmake ../ParaView/Examples/CustomApplications/Clone1
>
> but I get the following error:
>
> CMake Error at CMakeLists.txt:6 (FIND_PACKAGE):
>   Could not find module FindParaView.cmake or a configuration file for
>   package ParaView.
>
>   Adjust CMAKE_MODULE_PATH to find FindParaView.cmake or set ParaView_DIR to
>   the directory containing a CMake configuration file for ParaView.  The file
>   will have one of the following names:
>
>     ParaViewConfig.cmake
>     paraview-config.cmake
>
> (plus a few other that stem from this)
>
> I've tried setting ParaView_DIR to ~/ParaView and ~/ParaView/CMake,
> but those both resulted in the same error. Setting ParaView_DIR to
> ~/ParaView/Plugins/SQToolkit (where ParaViewConfig.cmake resides)
> causes ccmake to segfault.
>
> What am I doing wrong?
>
> --Nathan
> _______________________________________________
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview


More information about the ParaView mailing list