Hi Bob,<br><br>How did you try compiling this plugin? In ParaView 3 you don&#39;t need to add the &quot;PARAVIEW_EXTRA_EXTERNAL_MODULE&quot; option to cmake. Also the <font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">
GocadReaderParaViewImport.cmake file is not needed in ParaView 3.<br><br>To compile your plug-in, you need to have your plugin files all in one folder. If say the folder name is &quot;BobsReader&quot;. Then you need to do the following.
<br><br>1) Go to the BobsReader folder and use &quot;ccmake ./&quot;(Linux) or similar adaptation in windows.<br><br>2) Configure cmake at which point it will ask you for the location of your build directory(first time only). Point this variable to the location of your ParaView 3 build folder. (You should have build from source for ParaView 3 before attempting to add the plugin)
<br><br>3) Configure again and then generate. Then simply do a &quot;make&quot; in BobsReader to create the libraries which will be .dll in windows and .so in linux. Then you can load this in ParaView 3<br><br>The following link also points to similar instructions.
<br><br></span></font><a href="http://wiki.mirarco.org/index.php/Paraview_3_-_Adding_Filters">http://wiki.mirarco.org/index.php/Paraview_3_-_Adding_Filters</a><br><div><span class="gmail_quote"><br>I hope this helps.<br><br>
-Bikash<br><br><br><br>On 5/31/07, <b class="gmail_sendername">Bob Anderson</b> &lt;<a href="mailto:banderson@mirarco.org">banderson@mirarco.org</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">












<div link="blue" vlink="purple" lang="EN-US">

<div>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">I have a custom reader (GocadReader) that was working fine
in PV2.6 and I'm trying to add it to 3.0.1</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">My directory structure is:</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">ParaView3.0.1</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp; Applications</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp; CMake</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp; Common</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp; CustomReaders</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GocadReader –
with my CMakeLists.txt, GocadReader.qrc, GocadReader.xml, GocadReader.cxx and
.h</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp; etc.</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">CMakeLists.txt is</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">FIND_PACKAGE(ParaView REQUIRED)</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">INCLUDE(${PARAVIEW_USE_FILE})</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">ADD_PARAVIEW_PLUGIN(GocadReaderGUIPlugin &quot;1.0&quot;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp; GUI_RESOURCES GocadReader.qrc )</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">GocadReader.qrc is</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&lt;RCC&gt;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp; &lt;qresource prefix=&quot;/ParaViewResources&quot;&gt;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp; &lt;file&gt;GocadReader.xml&lt;/file&gt;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp; &lt;/qresource&gt;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&lt;/RCC&gt;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">GocadReader.xml is</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&lt;ParaViewReaders&gt;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp; &lt;Reader name=&quot;GocadReader&quot;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp; extensions=&quot;.ts .pl .vs&quot;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp; file_description=&quot;Gocad ASCII
Files&quot;&gt;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp; &lt;/Reader&gt;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&lt;/ParaViewReaders&gt;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">I also have the GocadReaderParaViewImport.cmake from 2.6 –
Is it still needed?</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Do I still need to identify this as an EXTERNAL_PLUGIN is CMake?&nbsp;
Otherwise, how do I make ParaView aware of it?</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">What am I missing?</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<p style="margin: 0in 0in 0.0001pt;"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Bob Anderson</span></font></p>

<p style="margin: 0in 0in 0.0001pt;"><font face="Times New Roman" size="2"><span style="font-size: 10pt;">MIRARCO Mining Innovation</span></font></p>

<p style="margin: 0in 0in 0.0001pt;"><font face="Times New Roman" size="2"><span style="font-size: 10pt;">Laurentian University</span></font></p>

<p style="margin: 0in 0in 0.0001pt;"><font face="Times New Roman" size="2"><span style="font-size: 10pt;">935 Ramsey Lake Road</span></font></p>

<p style="margin: 0in 0in 0.0001pt;"><font face="Times New Roman" size="2"><span style="font-size: 10pt;">Sudbury</span></font><font size="2"><span style="font-size: 10pt;">, </span></font><font size="2"><span style="font-size: 10pt;">
ON</span></font><font size="2"><span style="font-size: 10pt;">&nbsp;&nbsp;
 </span></font><font size="2"><span style="font-size: 10pt;">P3E 2C6</span></font></p>

<p style="margin: 0in 0in 0.0001pt;"><font face="Times New Roman" size="2"><span style="font-size: 10pt;">Phone: 705-675-1151 Ext. 2012</span></font></p>

<p style="margin: 0in 0in 0.0001pt;"><font face="Times New Roman" size="2"><span style="font-size: 10pt;">Fax: 705-675-4838</span></font></p>

<p style="margin: 0in 0in 0.0001pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;</span></font></p>

</div>

</div>



<br>_______________________________________________<br>ParaView mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:ParaView@paraview.org">ParaView@paraview.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">
http://www.paraview.org/mailman/listinfo/paraview</a><br><br></blockquote></div><br>