I have found that on some of our older systems when the superbuild attempts to build
openimagedenoise that one of the files is giving an error.
superbuild/openimagedenoise/src/scripts/resource_to_cpp.py
is failing on line 33
with open(in_path, 'rb') as in_file, open(out_path, 'w') as out_file:
at the comma. I have found a workaround is to convert it to
with open(in_path, 'rb') as in_file:
with open(out_path, 'w') as out_file:
and then fix the indentations following these lines.
I have included my working file that includes this fix.
resource_to_cpp.py (2.9 KB)
This seems to successfully address the issue.
Thanks,
Joe