which somehow must have included the boost libraries.
In 5.9 ParaView::Core is not found any more. I removed it, can build the plugin, which can be loaded. But when using it to read a result file, it segfaults missing stuff from boost_filesystem.
Any tipps on how I can include the boost_system and boost_filesystem libraries?
I guess the came in with the removed ParaView::Core, how can I find the new name?
Yes, I can build the plugin. Just get a suspicious warning
Skipping example CFSReader: Missing required module: ParaView::Core
The plugin then arrives in output/*.so (and it loads with “manage plugins …”) but when trying to read a result file with it, paraview segfaults with
/opt/programs/paraview/ParaView-5.9.0-MPI-Linux-Python3.8-64bit/bin/paraview-real: symbol lookup error: /home/ftoth/openCFS/paraview-plugin-builder/output/CFSReader.so: undefined symbol: _ZN5boost10filesystem6detail15system_completeERKNS0_4pathEPNS_6system10error_codeE
The linux-download of 5.9 does not contain any libboost*.so, probably that’s the issue. Is this intended? They exist in the superbuild from the plugin-builder.
not sure, I get a new CFSReader.so in output. Can get rid of the message by removing ParaView::Core. In both cases it does build and then crashes when loading a result file.
Note that the Skipping example means that the plugin is indeed not built. I don’t know where the “new” one comes from, but it is an indication that your plugin is not passed to paraview_plugin_build at all.
Yes, that works, thank you! However, I need to distribute “libboost_filesystem.so” together with the plugin, because it is not included in the ParaView download any more. Is this intended?
OK, we did this in the past. Was just asking because ParaView shipped boost in 5.8.x.
My favorite way of distribution would be to contribute the plugin upstream to ParaView directly, since finally went open source. Are there any guidelines on that? I could just find rather old stuff on https://www.paraview.org/Wiki