-
|
I implemented a custom type for my fprime project exactly as it is done in the mathcomponent tutorial (including all the creation of the CMakeLists.txt file and modifying the project.cmake accordingly). I now want to declare a telemetry channel that uses such type, but the component fpp file is giving me an error saying "no type 'CalState' was found". why could this be? In MathTypes.fpp: In component.fpp: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
Are you able to share your repository? Otherwise it'll be hard to debug. This looks correct to me... Or at least share the CMakeLists.txt files content ? Does adding the following to your component CMakeLists.txt fix the issue: |
Beta Was this translation helpful? Give feedback.
Try in project.cmake to move
Types/up so it appears prior toComponents/which needs it, and remove the MOD_DEPS