image_common
image_common copied to clipboard
On Mac, `camera_calibration_parsers_wrapper` cannot be imported in python
The library camera_calibration_parser_wrapper
on Mac is built as camera_calibration_parsers_wrapper.dylib
, but python only imports packages with the extension .so
.
I believe this can be fixed by setting the suffix explicitly, by e.g.
set_target_properties(${package_name}_wrapper PROPERTIES SUFFIX ".so")
Compare line 97 in the CMakeLists file for tf2_py
, https://github.com/ros/geometry2/blob/melodic-devel/tf2_py/CMakeLists.txt. Will test and attach a PR if it works.
I have same issue on windows, i can't seem to find it in the build at all