Problems building in Eclipse in VM
Posted: Thu Feb 02, 2017 6:15 pm
Hi,
I am using the Crazyflie technologie for the first time, and I wanted to see the source code for the crazyflie firmware. I have followed the instruction for the installation of the Virtual Machine, did all the updates, etc. I am now facing a problem when using Eclipse in the Virtual Machine.
When I choose the project called crazyflie-firmware, I change de definition of the SYS_LED to LED_GREEN_R. Then, when I build the project, I get multiple errors all following the same structure (i.e. The type led_t can not be resolved). If I do a code_analysis of the entire project, I get 45 000+ errors. As shown below.
However, when I build the project, everything seems to work fine. I obtain the following result.
I have looked around to see if this problem was experienced by other users, but I see no such topic.
Is there a configuration in Eclipse that I have done wrong or is there a way to properly build the project so that these errors do not appear. In the future, this could become confusing, because if I do modifications and create an error, I would have difficulties finding it.
Thank you for your time and support,
Jeremie Pilon
I am using the Crazyflie technologie for the first time, and I wanted to see the source code for the crazyflie firmware. I have followed the instruction for the installation of the Virtual Machine, did all the updates, etc. I am now facing a problem when using Eclipse in the Virtual Machine.
When I choose the project called crazyflie-firmware, I change de definition of the SYS_LED to LED_GREEN_R. Then, when I build the project, I get multiple errors all following the same structure (i.e. The type led_t can not be resolved). If I do a code_analysis of the entire project, I get 45 000+ errors. As shown below.
However, when I build the project, everything seems to work fine. I obtain the following result.
I have looked around to see if this problem was experienced by other users, but I see no such topic.
Is there a configuration in Eclipse that I have done wrong or is there a way to properly build the project so that these errors do not appear. In the future, this could become confusing, because if I do modifications and create an error, I would have difficulties finding it.
Thank you for your time and support,
Jeremie Pilon