<div dir="ltr"><div><div><div><div>Hello Chiranjib,<br><br></div>The CMakeCache.txt is a remaining file from your previous cmake comamnd you issued in Examples/All.<br></div>I think the best to do is to delete the Examples directory to clean up what you previously did, then make sure you activated the examples (-DBUILD_EXAMPLE:BOOL=ON) in the base build dir, then relaunch the make command. It should recreate the examples dir, and eventually you can run the make command in the Examples/All directory.<br><br></div>Best regards,<br></div>Alexandre<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 20, 2014 at 6:44 AM, 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"><span class="">Hi Ancel,<br>
Thanks for your reply.<br>
I followed your steps. I can get Examples/All after the first set of<br>
build but to run "make" at that directory,<br>
<br>
I need to have a "Makefile" there, which doesn't exist for this case.<br>
</span>My build/Examples/All contain the file "CMakeCache.txt" and the folder<br>
"CMakeFiles"<br>
<br>
Threfore, in a nutshell, I am back to square one with no example<br>
<span class="im HOEnZb">libraries built.<br>
<br>
Any more pointers ?<br>
Thanks again for your suggestions.<br>
<br>
</span><span class="HOEnZb"><font color="#888888">Chiranjib<br>
</font></span><span class="im HOEnZb"><br>
On Wed, Nov 19, 2014 at 8:25 PM, Alexandre Ancel<br>
<<a href="mailto:alexandre.ancel@cemosis.fr">alexandre.ancel@cemosis.fr</a>> wrote:<br>
</span><div class="HOEnZb"><div class="h5">> Hello Chiranjib,<br>
><br>
> First I am not a Paraview developer, just a simple user that also uses a<br>
> self-compiled version of ParaView.<br>
><br>
> Regarding to your problem, I tested building the examples by adding the<br>
> -DBUILD_EXAMPLES:BOOL=ON to my locally built ParaView.<br>
><br>
> I think that Step 3 in your build process is wrong. You do not have to<br>
> reexecute the cmake command in the Examples/All subdirectory. The examples<br>
> are built as a subproject, so all you need to do normally is to enable them<br>
> in cmake and then go to the Examples/All directory and type make. That did<br>
> the trick for me and I was able to build the examples provided with Paraview<br>
> (being generated in the bin and lib directories of the base build dir).<br>
><br>
> Hope it helps in your developments,<br>
><br>
> Best regards,<br>
><br>
> Alexandre Ancel<br>
><br>
> On Wed, Nov 19, 2014 at 1:15 PM, Chiranjib Sur <<a href="mailto:sur.chiranjib@gmail.com">sur.chiranjib@gmail.com</a>><br>
> wrote:<br>
>><br>
>> 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>
><br>
><br>
><br>
><br>
> --<br>
> Alexandre Ancel<br>
> Docteur, Ingénieur de recherche / Phd, Research Engineer<br>
> Cemosis - <a href="mailto:alexandre.ancel@cemosis.fr">alexandre.ancel@cemosis.fr</a><br>
> Tel: <a href="tel:%2B33%20%280%293%2068%2085%2002%2006" value="+33368850206">+33 (0)3 68 85 02 06</a><br>
> IRMA - 7, rue René Descartes<br>
> 67 000 Strasbourg, France<br>
</div></div></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>