<div dir="ltr"><div><div><div><div><div>Hello Chiranjib,<br><br></div>First I am not a Paraview developer, just a simple user that also uses a self-compiled version of ParaView.<br><br></div>Regarding to your problem, I tested building the examples by adding the -DBUILD_EXAMPLES:BOOL=ON to my locally built ParaView.<br><br></div>I think that Step 3 in your build process is wrong. You do not have to reexecute the cmake command in the Examples/All subdirectory. The examples are built as a subproject, so all you need to do normally is to enable them in cmake and then go to the Examples/All directory and type make. That did the trick for me and I was able to build the examples provided with Paraview (being generated in the bin and lib directories of the base build dir).<br></div><div><br></div>Hope it helps in your developments,<br><br>Best regards,<br><br></div>Alexandre Ancel<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 19, 2014 at 1:15 PM, Chiranjib Sur <span dir="ltr"><<a href="mailto:sur.chiranjib@gmail.com" target="_blank">sur.chiranjib@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All,<br>
I am trying to build a full tree of paraview(v4.2.0) locally with<br>
Examples with the intention of developing my own plugin. I started<br>
afresh with downloading the paraview source and building from scratch.<br>
<br>
I followed the following steps :<br>
<br>
1. Extracted the source and create a build directory under the source.<br>
Then I run cmake to build the Makefile with the following option :<br>
<br>
cmake -DCMAKE_SKIP_BUILD_RPATH:BOOL=OFF<br>
-DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=OFF<br>
-DCMAKE_INSTALL_RPATH:STRING=""<br>
-DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=OFF -DBUILD_EXAMPLE:BOOL=ON<br>
-DBUILD_EXAMPLES:BOOL=ON -DBUILD_TESTING:BOOL=OFF<br>
-DPARAVIEW_QT_VERSION:STRING=5 -DCMAKE_PREFIX_PATH:PATH=$QTDIR<br>
-DPARAVIEW_USE_MPI:BOOL=ON -DQT_DISABLE_WEBKIT:BOOL=OFF<br>
-DBUILD_SHARED_LIBS:BOOL=ON -DPARAVIEW_ENABLE_PYTHON:BOOL=ON<br>
-DPARAVIEW_ENABLE_FFMPEG:BOOL=OFF<br>
-DCMAKE_INSTALL_PREFIX:PATH=$INSTALLDIR $SRC_DIR<br>
<br>
where I declare INSTALLDIR and SRC_DIR myself.<br>
<br>
2. Then I run "make" to build the tree and the process terminates<br>
without any error.<br>
<br>
3. Once I build the main paraview tree, I found that "Examples"<br>
directory is created with CMakeLists.txt file inside that. I run the<br>
following from the build location :<br>
<br>
cmake <path for Examples/ where CMakeLits.txt exists><br>
<br>
After completion of this level "Examples/All" is created under the<br>
build location which contains the file "CMakeCache.txt and " and the<br>
direcotry "CMakeFiles" but none of the plugins are getting generated.<br>
<br>
Am I doing something wrong or there are some alternative methods to<br>
build the examples for Paraview ?<br>
<br>
I was looking for the other threads for an answer but could not found<br>
one that solves my problem.<br>
<br>
If anyone can give me some pointers about how to build Paraview +<br>
Examples which can work as a basic platform for my plugin development,<br>
I will be very thankful.<br>
<br>
Thanks for your time and the help.<br>
<br>
Chiranjib<br>
_______________________________________________<br>
Paraview-developers mailing list<br>
<a href="mailto:Paraview-developers@paraview.org">Paraview-developers@paraview.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div class="gmail_signature"><div dir="ltr"><span><font color="#888888"><div dir="ltr"><font face="courier new, monospace">Alexandre Ancel <br>Docteur, Ingénieur de recherche / Phd, Research Engineer<br></font><div>
<font face="courier new, monospace"><a href="http://www.cemosis.fr" target="_blank">Ce<font color="#888888">mosis</font></a> - <a href="mailto:alexandre.ancel@cemosis.fr" target="_blank">alexandre.ancel@cemosis.fr</a></font></div><div><font face="courier new, monospace">Tel: +33 (0)3 68 8</font><span><font color="#888888"><font face="courier new, monospace"><b>5 02 06</b></font></font></span></div>
<div><font face="courier new, monospace">IRMA - 7, rue René Descartes</font></div><div><font face="courier new, monospace">67 000 Strasbourg, France<br></font></div></div></font></span></div></div></div></div>
</div>