Open simk0024 opened 1 year ago
Solution
in src/driver/driver.cpp
, line 1872, remove the &
.
const std::string Driver::colormode2name(INT mode) {
for (const std::pair<std::string, INT> value: COLOR_DICTIONARY) {
if (value.second == mode) {
return value.first;
}
}
return std::string();
}
Or add a const
to make the line read:
for (const std::pair<const std::string, INT>& value: COLOR_DICTIONARY) // ...
This has been fixed in #129 .
I encounter error while building the
ueye_cam
package in ROS2My environment:
Error message: