-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No Class Prototype? #31
Comments
It's hard to see what's happening. Is this on a branch? |
Sorry for the delayed response, I put what I currently have on my computer here: |
First issue: <event id="104" name="CLEAgg_REQUEST_COMPLETED" severity="ACITIVITY_HI" format_string="Oparation Performed %s" >
<args>
<arg nam="val" type="Ref::DataRequest"></arg>
</args>
</event>
In file included from /mnt/c/data/source3/fprime/forks/brhs17/fprime/Ref/CLEAgg/CLEAggComponentAc.hpp:48:0,
from /mnt/c/data/source3/fprime/forks/brhs17/fprime/Ref/CLEAgg/CLEAggComponentAc.cpp:22:
/mnt/c/data/source3/fprime/forks/brhs17/fprime/Ref/CLETypes/CLERequestSerializableAc.hpp:25:9: error: redeclaration of ‘GyroX’
GyroX,
^
In file included from /mnt/c/data/source3/fprime/forks/brhs17/fprime/Ref/CLEAgg/CLEAggComponentAc.hpp:36:0,
from /mnt/c/data/source3/fprime/forks/brhs17/fprime/Ref/CLEAgg/CLEAggComponentAc.cpp:22:
/mnt/c/data/source3/fprime/forks/brhs17/fprime/Ref/CLEPorts/DataRequestPortAc.hpp:25:9: note: previous declaration ‘Ref::DataRequestPortZ GyroX’
GyroX,
^
In file included from /mnt/c/data/source3/fprime/forks/brhs17/fprime/Ref/CLEAgg/CLEAggComponentAc.hpp:48:0,
from /mnt/c/data/source3/fprime/forks/brhs17/fprime/Ref/CLEAgg/CLEAggComponentAc.cpp:22:
/mnt/c/data/source3/fprime/forks/brhs17/fprime/Ref/CLETypes/CLERequestSerializableAc.hpp:26:9: error: redeclaration of ‘GyroY’
GyroY,
^
In file included from /mnt/c/data/source3/fprime/forks/brhs17/fprime/Ref/CLEAgg/CLEAggComponentAc.hpp:36:0,
from /mnt/c/data/source3/fprime/forks/brhs17/fprime/Ref/CLEAgg/CLEAggComponentAc.cpp:22:
/mnt/c/data/source3/fprime/forks/brhs17/fprime/Ref/CLEPorts/DataRequestPortAc.hpp:26:9: note: previous declaration ‘Ref::DataRequestPortZ GyroY’
GyroY,
^
In file included from /mnt/c/data/source3/fprime/forks/brhs17/fprime/Ref/CLEAgg/CLEAggComponentAc.hpp:48:0,
from /mnt/c/data/source3/fprime/forks/brhs17/fprime/Ref/CLEAgg/CLEAggComponentAc.cpp:22:
/mnt/c/data/source3/fprime/forks/brhs17/fprime/Ref/CLETypes/CLERequestSerializableAc.hpp:27:9: error: redeclaration of ‘GyroZ’
GyroZ,
^
In file included from /mnt/c/data/source3/fprime/forks/brhs17/fprime/Ref/CLEAgg/CLEAggComponentAc.hpp:36:0,
from /mnt/c/data/source3/fprime/forks/brhs17/fprime/Ref/CLEAgg/CLEAggComponentAc.cpp:22:
/mnt/c/data/source3/fprime/forks/brhs17/fprime/Ref/CLEPorts/DataRequestPortAc.hpp:27:9: note: previous declaration ‘Ref::DataRequestPortZ GyroZ’
GyroZ,
^
In file included from /mnt/c/data/source3/fprime/forks/brhs17/fprime/Ref/CLEAgg/CLEAggComponentAc.hpp:48:0,
from /mnt/c/data/source3/fprime/forks/brhs17/fprime/Ref/CLEAgg/CLEAggComponentAc.cpp:22:
/mnt/c/data/source3/fprime/forks/brhs17/fprime/Ref/CLETypes/CLERequestSerializableAc.hpp:28:9: error: redeclaration of ‘RTCTime’
RTCTime,
^
In file included from /mnt/c/data/source3/fprime/forks/brhs17/fprime/Ref/CLEAgg/CLEAggComponentAc.hpp:36:0,
from /mnt/c/data/source3/fprime/forks/brhs17/fprime/Ref/CLEAgg/CLEAggComponentAc.cpp:22:
/mnt/c/data/source3/fprime/forks/brhs17/fprime/Ref/CLEPorts/DataRequestPortAc.hpp:28:9: note: previous declaration ‘Ref::DataRequestPortZ RTCTime’
RTCTime,
^
This one is a C++ violation - you have Once I fixed those two in my clone, the component compiled okay. |
To fix your
from your XML file. For your second error, my best guess is that those files were generated using an outdated/incorrect XML file. If you delete & remake the Impl cpp/hpp files, they contain |
Is there a faster way to compile our code when modifying c files than |
You don't have to do a rebuild; just |
What do I need to do if I realize I made a mistake in an XML file and I have started working on the c files? I named my port items the same as something else, which now causes a collision. |
I edited the port xml file, ran |
What I've done in the past is to re-run the |
You can just recompile the port files; that's all you have to do. |
The |
* Create tutorial-support.yml * Update tutorial-support.yml GpsApp tutorial to be pulled for build test and submodules to be pulled recursively * Implementation of tutorial workflow * typo in repo address * Added missing github action file * Changed workflow path * Changed dir paths * Work around for workflow * work around * troubleshooting * troubleshoot * troubleshoot * Performance update * Path correction * troubleshoot * Dockerfile correction * path change * path change * path fix * path fix * path fix * path fix * paht fix * Revert to changes * Completed workflow for tutorial support * troubleshoot * Build path error * Optimization of workflow * Path fix * Path fix * Path fix #1 * path fix #2 * path check * Workflow test * Workflow test #2 * Added logging feature * Logs Troubleshoot * Typo fix * Troubleshoot #1 * Troubleshoot #2 * Corrected typo on path * Troubleshoot #3 * Troubleshoot #4 * Troubleshoot #5 * Removed log archive feature * Changed repo path to conform pull request merge * Test run #1 * test #2 * test #3 * added branch for workflow test * test #4 * test #4 * test #5 * test #6 * Test #7 * test #8 * test #8 * Test #9 * Test #9 * Test #10 * Test #11 * Test #12 * Test #13 * Test #14 * Test #15 * Test #16 * Test #17 * Test #18 * Test #20 * Test #21 * Test #22 * Test #23 * Test #24 * Test #25 * Split test files * Split tests #2 * Added executable permissions * Delete RPI.bash * Delete Ref.bash * Delete Framework.bash * exe files * Make Framework.bash executable * Make RPI.bash and Ref.bash executable * Test #26 * Test #27 * Test #28 * Attached Integration test to Ref test * Test #29 * Test #30 * Test #31 * Test #32 * Test #33 * Test #34 * Test #35 * Test #35 * Test #37 * Test #38 * Test #39 * Test #40 * Test #41 * Test #42 * Test #43 * Test #43 * Test #44 * Test #45 * Cleaned up files to remove commented code * Remove CI test branch from workflow * Incorporated comments for PR * Modified path for framework job test * Incoporate reviewer comment for PR * Incoporated reviewer comment for PR * Was using incorrect directory for the test * Revised args call for jobs * Passing args #1 * Define entrypoint directly from workflow * Changed entrypoint method * Changed entrypoint method #2 * Corrected test path * Syntax correction * Path Test #1 * Path test #2 * Path Test #4 * Path Test $5 * Test Path #6 * Path Test #6 * Path Test #7 * Path Test #8 * Refactored scripts to remove master.bash * Corrected test path * Fixed log problems * Entrypoint alternative * Bypassed master.bash file * Added line for better CI error messages
I got this error when trying to rebuild a folder in which I had just run
make impl
on successfully.The text was updated successfully, but these errors were encountered: