Closed reporterfredbriggs closed 2 months ago
@reporterfredbriggs
in the error message: Components/HelloWorld/HelloWorldDeployment/
You seem to have created the HelloWorldDeployment
within your Components/HelloWorld
, which is why you're getting an error. It should be at the top level of the project (see https://github.com/fprime-community/fprime-tutorial-hello-world/tree/main for reference)
Two resolution approaches:
cd
back at the root of the project before running fprime-util new --deployment
. HelloWorldDeployment/
directory and remove the add_fprime_subdirectory(.../HelloWorldDeployment)
line in Components/HelloWorld/CMakeLists.txt
. Then cd
back at the root of the project before running fprime-util new --deployment
. It is mentioned in the tutorial as a bash comment (see below)... it should probably be made more clear...
# In: MyProject
fprime-util new --deployment
If you would be willing to, please make a contribution to the tutorial repo to reword things or add a note to make sure this is seen by users, this would be a really good contribution, because we've seen this issue reported in the past.
Closing this issue, let us know if you run into other issues.
Hi Thomas, the second approach worked, but then gave me another error at 98% build. Going to try your first resolution approach to see how that changes things. Thanks for the quick response time! I'll look into adding to the repo once I get this sorted.
Problem Description
After following the intro documentation pages up to this page https://fprime-community.github.io/fprime-tutorial-hello-world/docs/Deployments.html and then trying to execute this command:
to try to set up and build the deployment i'm getting these errors:
Would appreciate any insight on this!
Context / Environment
How to Reproduce
Expected Behavior
It should built without error.