pvpluginbuilder fails to find python

I was able to successfully build paraview superbuild v5.9.0 with the pv plugin builder on linux. I attempted to build my plugin and received this error message:

Any help would be appreciated

Are you able to build your plugin outside of the ppb ?

Yes it works fine when building against a locally compiled version of paraview, I have never seen this error.

Are you able to build any examples plugin with the ppb ?

I was able to build some of the examples. I tried commenting out the line: `find_package(PythonLibs REQUIRED)’ in my cmakelists.txt and the build ran successfully, however when trying to load the plugin with the official release of paraview v5.9.0 on linux, it did not load properly. I received this error:

‘ERROR: In /builds/gitlab-kitware-sciviz-ci/build/superbuild/paraview/src/Remoting/Core/vtkPVPluginLoader.cxx, line 530
vtkPVPluginLoader (0x17b1d580): libOpenGL.so.0: cannot open shared object file: No such file or directory’

ldd yourFile.so

Idd? Here is my .so
pvOptAirfoil.so (358.7 KB)

Just install libOpenGL on your system. On ubuntu that would be:

sudo apt install libopengl0 
1 Like