Hi Philip,<div><br></div><div>Can you please explicitly state in the SOURCES list the header and implementation file, that fixes the issue for me.</div><div><br><div class="gmail_quote">On Fri, May 4, 2012 at 9:45 AM, Philip Blakely <span dir="ltr"><<a href="mailto:pmblakely@gmail.com" target="_blank">pmblakely@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 David,<br>
<div class="im"><br>
On 4 May 2012 14:29, David E DeMarle <<a href="mailto:dave.demarle@kitware.com">dave.demarle@kitware.com</a>> wrote:<br>
> Try changing:<br>
> TARGET_LINK_LIBRARIES(CNSVisIt vtkVisItAVTAlgorithms)<br>
> to:<br>
> TARGET_LINK_LIBRARIES(cnsVisItReader vtkVisItAVTAlgorithms)<br>
<br>
</div>Thanks; that removes the issue with "Cannot specify..." but it still<br>
doesn't compile and link the avtcnsVisItFileFormat.C file.<br>
<span class="HOEnZb"><font color="#888888"><br>
Philip<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
><br>
> David E DeMarle<br>
> Kitware, Inc.<br>
> R&D Engineer<br>
> 21 Corporate Drive<br>
> Clifton Park, NY 12065-8662<br>
> Phone: <a href="tel:518-881-4909" value="+15188814909">518-881-4909</a><br>
><br>
><br>
> On Fri, May 4, 2012 at 9:15 AM, Philip Blakely <<a href="mailto:pmblakely@gmail.com">pmblakely@gmail.com</a>> wrote:<br>
>> ADD_DEFINITIONS("-DUSE_EXPRESSION_TEMPLATES")<br>
>><br>
>> ADD_VISIT_PLUGIN_READER(cnsVisItReader "1.0"<br>
>> VISIT_READER_NAME "avtcnsVisItFileFormat"<br>
>> VISIT_READER_TYPE "STMD"<br>
>> VISIT_READER_FILE_PATTERN "hdf"<br>
>> SERVER_SOURCES ${SOURCES}<br>
>> )<br>
>><br>
>> TARGET_LINK_LIBRARIES(CNSVisIt vtkVisItAVTAlgorithms)<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Robert Maynard<br>
</div>