Jump to content

[SOLVED] Compilation error in ig_aviation_components


photo

Recommended Posts

Posted

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.

Posted

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)

  • Like 1
Posted

Thank you for the quick response.

Have a nice day.

  • Like 2
  • bmyagkov changed the title to [SOLVED] Compilation error in ig_aviation_components
×
×
  • Create New...