[Paraview] include paths for building examples with superbuild
Vanmoer, Mark W
mvanmoer at illinois.edu
Tue Sep 17 10:00:24 EDT 2013
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<mailto: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<mailto:andy.bauer at kitware.com>]
Sent: Wednesday, September 11, 2013 5:12 PM
To: Vanmoer, Mark W
Cc: paraview at paraview.org<mailto: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<mailto: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<http://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/2a41caba/attachment.htm>
More information about the ParaView
mailing list