I am having some problems finding the library paraview from others libraries. I installed paraview library from source, but other libraries don’t find it. This is the error provided:
CMake Error at paraview_wrapping/CMakeLists.txt:3 (find_package):
By not providing "FindParaView.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "ParaView",
but CMake did not find one.
Could not find a package configuration file provided by "ParaView" with any
of the following names:
ParaViewConfig.cmake
paraview-config.cmake
Add the installation prefix of "ParaView" to CMAKE_PREFIX_PATH or set
"ParaView_DIR" to a directory containing one of the above files. If
"ParaView" provides a separate development package or SDK, be sure it has
been installed.
However, when I indicate explicitly the path of the source code build folder (where the file ParaViewConfig.cmake has been created), it find the file, but some targets seems undefined:
CMake Error at /home/robotronics/Libs/paraview/build/ParaViewTargets.cmake:41 (message):
Some (but not all) targets in this export set were already defined.
Targets not yet defined:
vtkProbeOpenGLVersion;vtkGUISupportQt; ... ;vtkWrapClientServer;protoc_compiler;kwProcessXML
The problem is that when I try to build another library with paraview dependence, it doesn’t find it. I followed the installation tutorial of paraview and it works, but the library is not found externally by others. Any idea how to find the library path?