Hi Thomas,

Can you send us the link error you are seeing? Which symbols are
missing? Or are you seeing the error when loading the plugin?

-berk

On Fri, Aug 21, 2009 at 3:12 PM, Maxwell, Thomas P.
(GSFC-606.2)[SCIENCE APPLICATIONS INTL CORP]<thomas.maxw...@nasa.gov>
wrote:
>
> 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?
>
> ################################################################################
>
> cmake_minimum_required(VERSION 2.6)
>
> SET(HDF_DIR
>   /usr/local/other/hdf/5-1.8.0_serial
> )
> SET(NETCDF_DIR
>   /usr/local/other/netcdf/4.0.1_gnu
> )
>
> INCLUDE_DIRECTORIES(
>   ${VTK_INCLUDE_DIR}
>   ${PARAVIEW_INCLUDE_DIRS}
>   ${HDF_DIR}/include
>   ${NETCDF_DIR}/include
>   ${HDF_DIR}/lib
>   ${NETCDF_DIR}/lib
> )
>
> FIND_PACKAGE(ParaView REQUIRED)
> INCLUDE(${PARAVIEW_USE_FILE})
>
> ADD_PARAVIEW_PLUGIN(HDFServerPlugin "1.0"
>   SERVER_MANAGER_XML HDFServerManagerXML.xml
>   SERVER_MANAGER_SOURCES vtkNetCDFReader2.cxx
>   SOURCES FileSeriesFinder.cxx
> )
>
> TARGET_LINK_LIBRARIES(
>    HDFServerPlugin
>    netcdf_c++
>    netcdf
>    hdf5_hl
>    hdf5
> )
>
>
>
>
>
> _______________________________________________
> 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
>
>
_______________________________________________
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
  • [Paraview]... Adam Wiktor
    • Re: [... Moreland, Kenneth
    • Re: [... John Biddiscombe
    • Re: [... Moreland, Kenneth
      • R... Adam Wiktor
        • ... Moreland, Kenneth
          • ... Adam Wiktor
            • ... Moreland, Kenneth
            • ... Maxwell, Thomas P. (GSFC-606.2)[SCIENCE APPLICATIONS INTL CORP]
              • ... Berk Geveci

Reply via email to