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