Hi Robert, On 4 May 2012 15:06, Robert Maynard <[email protected]> wrote: > Hi Philip, > > Can you please explicitly state in the SOURCES list the header and > implementation file, that fixes the issue for me.
OK, that now compiles avtcnsVisItFileFormat.cxx correctly. I now get undefined symbols from external libraries, but I should be able to figure out how to link those in. Thanks for your help, Philip > On Fri, May 4, 2012 at 9:45 AM, Philip Blakely <[email protected]> wrote: >> >> Hi David, >> >> On 4 May 2012 14:29, David E DeMarle <[email protected]> wrote: >> > Try changing: >> > TARGET_LINK_LIBRARIES(CNSVisIt vtkVisItAVTAlgorithms) >> > to: >> > TARGET_LINK_LIBRARIES(cnsVisItReader vtkVisItAVTAlgorithms) >> >> Thanks; that removes the issue with "Cannot specify..." but it still >> doesn't compile and link the avtcnsVisItFileFormat.C file. >> >> Philip >> >> > >> > David E DeMarle >> > Kitware, Inc. >> > R&D Engineer >> > 21 Corporate Drive >> > Clifton Park, NY 12065-8662 >> > Phone: 518-881-4909 >> > >> > >> > On Fri, May 4, 2012 at 9:15 AM, Philip Blakely <[email protected]> >> > wrote: >> >> ADD_DEFINITIONS("-DUSE_EXPRESSION_TEMPLATES") >> >> >> >> ADD_VISIT_PLUGIN_READER(cnsVisItReader "1.0" >> >> VISIT_READER_NAME "avtcnsVisItFileFormat" >> >> VISIT_READER_TYPE "STMD" >> >> VISIT_READER_FILE_PATTERN "hdf" >> >> SERVER_SOURCES ${SOURCES} >> >> ) >> >> >> >> TARGET_LINK_LIBRARIES(CNSVisIt vtkVisItAVTAlgorithms) >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://www.paraview.org/mailman/listinfo/paraview > > > > > -- > Robert Maynard _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
