<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">There are a few 'quirks' that sometimes people miss when doing this.<DIV><BR class="khtml-block-placeholder"></DIV><DIV>Setup: Project Naming - If your project is called "MyParaViewReader" and is in a directory called "MyParaViewReader" then just inside that directory you need a file called "MyParaViewReader<FONT class="Apple-style-span" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">ParaViewImport.cmake".</SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;"><BR class="khtml-block-placeholder"></SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">In ccmake, the "Source" directory for "<FONT class="Apple-style-span" size="3"><SPAN class="Apple-style-span" style="font-size: 12px;">MyParaViewReader</SPAN></FONT>" would be:</SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;"><BR class="khtml-block-placeholder"></SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">c:\Projects\<FONT class="Apple-style-span" size="3"><SPAN class="Apple-style-span" style="font-size: 12px;">MyParaViewReader  (for windows - adjust for unix/OS X)</SPAN></FONT></SPAN></FONT></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>ParaView's cmakelists should be able to find your project at this point.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Try that and let us know.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Bitstream Vera Sans; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">-- </DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Mike Jackson   Senior Research Engineer</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Innovative Management &amp; Technology Services</DIV><BR class="Apple-interchange-newline"></SPAN> </DIV><DIV><FONT class="Apple-style-span" face="Bitstream Vera Sans">PS: If you are allowed to send the code out, tar/zip your project and send it to me and I will take a look at it.</FONT></DIV><DIV><FONT class="Apple-style-span" face="Bitstream Vera Sans"><BR class="khtml-block-placeholder"></FONT></DIV><BR><DIV><DIV>On Jul 12, 2007, at 12:57 PM, Patrícia Sato wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><P><SPAN lang="EN-US"> Hi all<BR> <BR>  I´m trying to add a reader into ParaView - version 2.6, using the External Modules, but when I run CMake it shows an error message saying that it cannot find the source directory of the reader. The fact is that its source IS on the directory I pointed, as well as its ParaViewImport.cmake file.</SPAN></P><P><SPAN lang="EN-US"><BR> Can anyone help me please?  I can´t make any progress until this step is solved.</SPAN></P><DIV><SPAN style="font-size: 10pt; font-family: Arial;" lang="EN-US"> </SPAN><BR class="khtml-block-placeholder"></DIV><P><SPAN style="font-size: 10pt; font-family: Arial;" lang="EN-US">Thanks</SPAN></P><DIV><SPAN style="font-size: 10pt; font-family: Arial;" lang="EN-US"> </SPAN><BR class="khtml-block-placeholder"></DIV><P><SPAN style="font-size: 10pt; font-family: Arial;" lang="EN-US"><BR></SPAN></P><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">ParaView mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:ParaView@paraview.org">ParaView@paraview.org</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</A></DIV> </BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>