[Paraview] include paths for building examples with superbuild

Andy Bauer andy.bauer at kitware.com
Tue Sep 17 11:02:14 EDT 2013


Hmm, it's tough for me to diagnose what's going on. I wonder if this was
the same issue Hong was having with the Fortran adaptor stuff. It sounds
like something is missing in the cross build. You can potentially fix it by
going into $cross/paraview/src/paraview-build and running ccmake from their
to reconfigure and then recompile in that directory. If I remember
correctly, you may want to set the MPI_{C,CXX,Fortran}_LIBRARY. If that
doesn't work you may want to consider setting the Fortran compiler as well
if it's set to something reasonable. Note that this has the potential to
wipe out all of your CMake cache though since CMake may think that the
compiler has changed and it needs to regenerate all of the CMake info again.

I'd go through Hong's emails and the responses to see what was done. Maybe
sharing your CMakeCache.txt files from both the superbuild directory and
the $cross/paraview/src/paraview-build directory would help figure out some
issues.

Regards,
Andy


On Tue, Sep 17, 2013 at 10:00 AM, Vanmoer, Mark W <mvanmoer at illinois.edu>wrote:

>  Hi Andy, ****
>
> ** **
>
> Okay, I must not understand something about CMake then. I tried
> ParaView_DIR and it still can’t find the header files. However, I found
> that if I go into the Adaptors directory I can build libPhastaAdaptor.a***
> *
>
> ** **
>
> Do I need to be building my projects inside of the $cross/paraview/src
> tree?****
>
> ** **
>
> Mark****
>
> ** **
>
> *From:* Andy Bauer [mailto:andy.bauer at kitware.com]
> *Sent:* Thursday, September 12, 2013 11:38 AM
>
> *To:* Vanmoer, Mark W
> *Cc:* paraview at paraview.org
> *Subject:* Re: [Paraview] include paths for building examples with
> superbuild****
>
>  ** **
>
> Hi Mark,****
>
> Yes, ParaView_DIR is what needs to be set with that value.****
>
> Andy****
>
> ** **
>
> On Wed, Sep 11, 2013 at 6:20 PM, Vanmoer, Mark W <mvanmoer at illinois.edu>
> wrote:****
>
> Hi Andy,****
>
> I have ParaView_DIR set to that in ccmake, is that what you mean, or is
> there another variable?****
>
>  ****
>
> Mark****
>
>  ****
>
> *From:* Andy Bauer [mailto:andy.bauer at kitware.com]
> *Sent:* Wednesday, September 11, 2013 5:12 PM
> *To:* Vanmoer, Mark W
> *Cc:* paraview at paraview.org
> *Subject:* Re: [Paraview] include paths for building examples with
> superbuild****
>
>  ****
>
> I would suggest just setting the ParaView path to <superbuild build
> dir>/paraview/src/paraview-build. This of course assumes that you're
> executable is built with CMake such that it can get the include paths from
> there. If not, maybe someone else can chime in with how to build the
> paraviewsdk with superbuild.****
>
> Andy****
>
>  ****
>
> On Wed, Sep 11, 2013 at 5:15 PM, Vanmoer, Mark W <mvanmoer at illinois.edu>
> wrote:****
>
> Hi, I think I have a complete ParaView superbuild on Titan. I’m trying to
> get the wiki C++ coprocessing example to compile and get the following:***
> *
>
>  ****
>
> Scanning dependencies of target CoProcessingExample****
>
> [100%] Building CXX object
> CMakeFiles/CoProcessingExample.dir/CoProcessingExample.cxx.o****
>
> /ccs/home/vanmoer/testing/wiki_cxx/CoProcessingExample.cxx:2:39: fatal
> error: vtkCPInputDataDescription.h: No such file or directory****
>
> compilation terminated.****
>
> make[2]: ***
> [CMakeFiles/CoProcessingExample.dir/CoProcessingExample.cxx.o] Error 1****
>
> make[1]: *** [CMakeFiles/CoProcessingExample.dir/all] Error 2****
>
> make: *** [all] Error 2****
>
>  ****
>
> inside of ${CROSS}/paraview/src/paraview-build, there are lib/ and bin/
> which seem to have everything I’d expect,  but  there’s no include/****
>
>  ****
>
> The headers are scattered in paraview/src/paraview, e.g.****
>
>
> ${CROSS}/paraview/src/paraview/CoProcessing/Catalyst/vtkCPInputDataDescription.h
> ****
>
>  ****
>
> How do I tell superbuild to create an include directory? I see a patch
> from Utkarsh about the paraviewsdk, approved on 8/9, should I apply that?*
> ***
>
>
> _______________________________________________
> 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****
>
>  ****
>
> ** **
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20130917/687fd078/attachment-0001.htm>


More information about the ParaView mailing list