# About integration of CFSReader

**URL:** https://discourse.paraview.org/t/about-integration-of-cfsreader/9111
**Category:** Development
**Created:** [March 3, 2022, 11:24pm UTC](https://discourse.paraview.org/t/about-integration-of-cfsreader/9111 "2022-03-03T23:24:29Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![Fabian](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/f/f6c823/32.png) [@Fabian](https://discourse.paraview.org/u/Fabian)
#### Post date: [March 8, 2022, 11:27pm UTC](https://discourse.paraview.org/t/about-integration-of-cfsreader/9111/5 "2022-03-08T23:27:46Z")

</div>

I hope I followed the right path: I forked paraview and created a branch there: [https://gitlab.kitware.com/fabian.wein/para-view-cfs-reader-plugin/-/tree/add\_CFSReader\_plugin](https://gitlab.kitware.com/fabian.wein/para-view-cfs-reader-plugin/-/tree/add_CFSReader_plugin)  
There I added our plugin to Plugins. It is dirty work in progress and not cleaned yet.

I then create a superbuild with paraview\_SOURCE\_SELECTION=source and paraview\_SOURCE\_DIR set.

In principle I can build paraview and my plugin and it works! However I still struggle with hdf’s cpp. I could not figure out, how to trigger building hdf5 with cpp. Currently I configure it manually and additionally need to add the hdf5cpp lib manually.

E.g.` find_package(HDF5 REQUIRED COMPONENTS C HL CXX)` only finds C and HL.

I did not succeed with Aaron’s suggestion in [how to enable hdf5cpp in superbuild?](https://discourse.paraview.org/t/how-to-enable-hdf5cpp-in-superbuild/9025)  
Adding hdf5cpp to my vtk.module

```auto
NAME
  CFSReaderModules
LIBRARY_NAME
  vtkCFSReader
DEPENDS
  VTK::CommonCore
  VTK::CommonExecutionModel
  hdf5cpp
PRIVATE_DEPENDS
  VTK::vtksys
  VTK::hdf5

```

results in

```auto
-- HDF5 C compiler wrapper is unable to compile a minimal HDF5 program.
-- HDF5 CXX compiler wrapper is unable to compile a minimal HDF5 program.
-- Found HDF5: /opt/homebrew/Cellar/hdf5/1.12.1/lib/libhdf5.dylib;/Users/fwein/code/pv_10/sb_build_branch/install/lib/libhdf5.dylib;/Users/fwein/code/pv_10/sb_build_branch/install/lib/libhdf5_cpp.dylib;/Users/fwein/code/pv_10/sb_build_branch/install/lib/libhdf5.dylib (found version "1.12.1") found components: C HL CXX 
CMake Error at CMake/ParaViewPlugin.cmake:1064 (message):
  Failed to find the required module hdf5cpp.
Call Stack (most recent call first):
  Plugins/CFSReader/CMakeLists.txt:71 (paraview_add_plugin))

```

---

_[View the full topic](https://discourse.paraview.org/t/about-integration-of-cfsreader/9111)._
