<HTML>
<HEAD>
<TITLE>Plugin link error</TITLE>
</HEAD>
<BODY>
<BLOCKQUOTE><FONT FACE="Lucida Grande"><SPAN STYLE='font-size:11pt'><BR>
I&#8217;ve rebuilt a NetCDF3 reader plugin to read NetCDF4/HDF5 files. &nbsp;&nbsp;I&#8217;m having problems getting it to link to the NetCDF libraries. &nbsp;&nbsp;When I run the plugin I get a server-side symbol lookup error on one of the NetCDF4 symbols. &nbsp;&nbsp;I&#8217;ve pasted (below) the CMakeLists.txt file I use to build the server plugin. &nbsp;&nbsp;Can someone please give me a hint as to what I&#8217;m doing wrong? &nbsp;&nbsp;Is there any documentation on the ParaView cmake extensions?<BR>
<BR>
<FONT COLOR="#000080">################################################################################<BR>
<BR>
cmake_minimum_required(VERSION 2.6)<BR>
<BR>
SET(HDF_DIR<BR>
&nbsp;&nbsp;/usr/local/other/hdf/5-1.8.0_serial<BR>
)<BR>
SET(NETCDF_DIR<BR>
&nbsp;&nbsp;/usr/local/other/netcdf/4.0.1_gnu<BR>
)<BR>
<BR>
INCLUDE_DIRECTORIES(<BR>
&nbsp;&nbsp;${VTK_INCLUDE_DIR}<BR>
&nbsp;&nbsp;${PARAVIEW_INCLUDE_DIRS}<BR>
&nbsp;&nbsp;${HDF_DIR}/include<BR>
&nbsp;&nbsp;${NETCDF_DIR}/include<BR>
&nbsp;&nbsp;${HDF_DIR}/lib<BR>
&nbsp;&nbsp;${NETCDF_DIR}/lib<BR>
)<BR>
<BR>
FIND_PACKAGE(ParaView REQUIRED)<BR>
INCLUDE(${PARAVIEW_USE_FILE})<BR>
<BR>
ADD_PARAVIEW_PLUGIN(HDFServerPlugin &quot;1.0&quot;<BR>
&nbsp;&nbsp;SERVER_MANAGER_XML HDFServerManagerXML.xml <BR>
&nbsp;&nbsp;SERVER_MANAGER_SOURCES vtkNetCDFReader2.cxx<BR>
&nbsp;&nbsp;SOURCES FileSeriesFinder.cxx<BR>
)<BR>
<BR>
TARGET_LINK_LIBRARIES(<BR>
&nbsp;&nbsp;&nbsp;HDFServerPlugin<BR>
&nbsp;&nbsp;&nbsp;netcdf_c++<BR>
&nbsp;&nbsp;&nbsp;netcdf<BR>
&nbsp;&nbsp;&nbsp;hdf5_hl<BR>
&nbsp;&nbsp;&nbsp;hdf5<BR>
)<BR>
<BR>
<BR>
<BR>
<BR>
</FONT></SPAN></FONT></BLOCKQUOTE>
</BODY>
</HTML>