nasa / fprime-tools

F´ Python tooling and helpers.
https://github.com/nasa/fprime
Apache License 2.0
20 stars 38 forks source link

invalid F prime deployment #157

Closed Daifaizonaldridge closed 1 year ago

Daifaizonaldridge commented 1 year ago
F´ Version
Affected Component Camera

Problem Description

I'm trying to create the implementation files for my camera component, and I keep getting an error.

A description of the problem with sufficient detail to understand the issue. the command I used is "fprime-util impl" and I was in the camera component pathway when using the command. the error statement say's "[ERROR] /home/djaldridge/fprime/CaNOP_FSW/build-fprime-automatic-native is an invalid F prime deployment. Does not define any of the cache fields: FPRIME_PROJECT_ROOT,FPRIME_LIBRARY_LOCATIONS,FPRIME_FRAMEWORK_PATH"

Here's some images of the Linux terminal, the cmake files for the camera, and cmake files for the project: Screenshot 2023-07-28 091749

Screenshot 2023-07-28 091916

Continued cmake files for camera: Screenshot 2023-07-28 091933

cmake files for project: Screenshot 2023-07-28 092201

How to Reproduce

  1. clone GitHub project.
  2. went into component pathway.
  3. use command "fprime-util impl".

Expected Behavior

the component creates the implentation files.

A description of the expected behavior. since I used the command "fprime-util impl", the camera component creates the implementation files.

thomas-bc commented 1 year ago

Is there any chance you could share your repository? Also, make sure to run 'fprime-util generate' prior to running the impl command.

Daifaizonaldridge commented 1 year ago

good news, I was able to fix the error, this is going to sound weird but I I'm going to end this issue for now but thank you for trying to help me.