-
Hi,
I want to create the implementation stubs for Module1 However, if I am running fprime-util impl in the Module1 repo, it is failing because of the missing deployment directory
I also tried to give the build directory
But no stubs are build. Did any of you already encounter this issue? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
fprime-util needs a cmake project in either the current directory or a parent directory. If |
Beta Was this translation helpful? Give feedback.
-
Hi,
Module 1 contains the type MyType.
Everything compiles and the generated files, e.g.
contain references as desired to
If however I use fprime-utils to build
As before, it generates the files e.g.
which lead to the build error message is: Here the related build files:
settings.ini
I assume that it's a dependency issue mixing settings.ini with CMakeLists. Any idea why the fprime-util and cmake workflow is not consistent in such a setup? |
Beta Was this translation helpful? Give feedback.
-
@DentOpt the issue is this: settings.ini:
Directory paths:
I might further recommend the following: add a namespace directory to your subrepo:
I know this seems redundant to have the
Now you are free to include a |
Beta Was this translation helpful? Give feedback.
@DentOpt the issue is this:
library_locations: Module1
. This expects the Module1 to be a library containing modules. You are missing a folder for your library. Try something along the following:settings.ini:
Directory paths:
I might further recommend the following: add a namespace directory to your subrepo:
I know this seems redundant to have the
my_library
root contain a folder also calledmy_library
but this is important because now your includes and imports look like this:Now you are free to include a
Module1
component in multiple…