-
Notifications
You must be signed in to change notification settings - Fork 207
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
multiple targets - not able to see cfe_msgids.h when building tables #727
Comments
make output:
|
This is actually a duplicate of issue #724 -- specifically you are seeing the third issue in my comment here: #724 (comment) The "quirk" is that once you move to two cpus that share a platform (native) you no longer have access to the cfe config, and the cfe_msgid.h file is part of that (same as cfe_platform_cfg.h). |
Note in this case its also because to_lab violates the rules and it doesn't actually build its subscription list as a table. I believe the that the actual table build process would have had access to this file OK. But this compiles the table as a regular source file. |
It's different symptoms of one problem. There is already an issue about the way to_lab does its non-table (see nasa/to_lab#32). If that issue were fixed and it became a real table, it would probably mask/hide this issue. I actually have a set of changes I was already assembling into a PR - it should resolve this. It basically makes it so each CPU is treated as a different build by default unless you specify TGTx_PLATFORM in your targets.cmake file. It's a bit of a back-step as far as modularity goes but most likely we can't go fullly toward reusable app binaries until we have EDS or something like it. The existing paradigm of compiling-in your msg IDs which are different for each CPU kinda breaks it. |
ok I'll consider this closed and look to fix to_lab (which could use some TLC anyways. :) ) |
@CDKnightNASA -- See PR #728. Can you pull this into your build and see if it behaves more like you expected? |
Yes that PR fixes the problem, thanks and looking forward to approving it for merge into master. |
Describe the bug
When building for multiple targets, app tables fail to build, reporting "cfe_msgids.h: No such file or directory".
To Reproduce
Expected behavior
Builds.
System observed on:
Debian 10.3 VM
Reporter Info
Christopher.D.Knight@nasa.gov
The text was updated successfully, but these errors were encountered: