[Paraview] ccmake error when building example custom application

David E DeMarle dave.demarle at kitware.com
Mon Apr 2 16:42:51 EDT 2012


Try doing a build of ParaView in some other directory, then point to
that build directory.

I suspect the example's cmake scripts don't like to be built outside
of the paraview source tree anymore and would need slight tweeking to
build without a paraview binary build.

David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909



On Mon, Apr 2, 2012 at 3: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