AntoineAB Posted July 2, 2024 Posted July 2, 2024 Hello, In the project template IG + VR there is the ig_aviation_components folder in which contains some cpp files (SDK 2.18.1). In this folder, I have a compilation error in the file CarTrailController.cpp at the line : if (detection_type == WhellTraceDetectionType::MANUALY) because detection_type and WhellTraceDetectionType can't be compared. When I rewrite it that way : if (detection_type.get() == (int)WhellTraceDetectionType::MANUALY) there is no compilation error anymore. I wanted to know if the error is normal and if it is the right fix to do ? Best regards.
cash-metall Posted July 3, 2024 Posted July 3, 2024 In this place, there should be a warning, not an error. Perhaps you have some additional settings or compilation flags that treat this warning as an error. Yes, your fix is correct, everything should work. Thank you for the message, we have added this issue to the bug tracker. (as well as the typo Whell -> Wheel) 1
AntoineAB Posted July 3, 2024 Author Posted July 3, 2024 Thank you for the quick response. Have a nice day. 2
Recommended Posts