The + sign in "OpenFOAM-v1606+" leads to a non-breaking error when building the "PVReaders" plug-ins for ParaView
When building "OpenFOAM-v1606+" from source code, the following error appears when building $FOAM_UTILITIES/postProcessing/graphics/PVReaders/PVblockMeshReader/PVblockMeshReader
:
[ 5%] Generating Documentation HTMLs from xmls
Error FODC0002 in file:///home/ofuser/OpenFOAM/OpenFOAM-v1606: Error opening /home/ofuser/OpenFOAM/OpenFOAM-v1606: No such file or directory
Error FODC0002 in file:///applications/utilities/postProcessing/graphics/PVReaders/PVblockMeshReader/PVblockMeshReader/PVblockMeshReader_SM.xml: Error opening /applications/utilities/postProcessing/graphics/PVReaders/PVblockMeshReader/PVblockMeshReader/PVblockMeshReader_SM.xml: No such file or directory
The reason why this happens is because the +
symbol is used as a path separator for the variable input_xmls
in ThirdParty-v1606+/platforms/linux64Gcc/ParaView-5.0.1/lib/cmake/paraview-5.0/generate_proxydocumentation.cmake
.
This isn't a problem when building from the git repository, given that WM_PROJECT_VERSION=plus
.
Either way, I unfortunately haven't figured out a workaround for this. But as I've stated in the title, this is non-breaking error, i.e. it will still build without stopping.