GithubHelp home page GithubHelp logo

CFS Compilation Error about opensatkit HOT 4 OPEN

opensatkit avatar opensatkit commented on July 19, 2024
CFS Compilation Error

from opensatkit.

Comments (4)

DKlaren avatar DKlaren commented on July 19, 2024

Full stack trace:

[ 84%] Building C object apps/sbn/CMakeFiles/sbn.dir/fsw/src/sbn_app.c.o
/home/duser/dev/OpenSatKit/cfs/apps/sbn/fsw/src/sbn_app.c:31:10: fatal error: cfe_sb_priv.h: No such file or directory
#include "cfe_sb_priv.h" /* For CFE_SB_SendMsgFull */
^~~~~~~~~~~~~~~
compilation terminated.
apps/sbn/CMakeFiles/sbn.dir/build.make:62: recipe for target 'apps/sbn/CMakeFiles/sbn.dir/fsw/src/sbn_app.c.o' failed
make[7]: *** [apps/sbn/CMakeFiles/sbn.dir/fsw/src/sbn_app.c.o] Error 1
CMakeFiles/Makefile2:2010: recipe for target 'apps/sbn/CMakeFiles/sbn.dir/all' failed
make[6]: *** [apps/sbn/CMakeFiles/sbn.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make[5]: *** [all] Error 2
CMakeFiles/cpu1-all.dir/build.make:57: recipe for target 'CMakeFiles/cpu1-all' failed
make[4]: *** [CMakeFiles/cpu1-all] Error 2
CMakeFiles/Makefile2:292: recipe for target 'CMakeFiles/cpu1-all.dir/all' failed
make[3]: *** [CMakeFiles/cpu1-all.dir/all] Error 2
CMakeFiles/Makefile2:106: recipe for target 'CMakeFiles/mission-all.dir/rule' failed
make[2]: *** [CMakeFiles/mission-all.dir/rule] Error 2
Makefile:188: recipe for target 'mission-all' failed
make[1]: *** [mission-all] Error 2
Makefile:114: recipe for target 'all' failed
make: *** [all] Error 2

from opensatkit.

dmccomas avatar dmccomas commented on July 19, 2024

Sorry for lack of response. I retired from NASA and thought I had changed this notification email from my NASA email to my personal email.

SBN = Software Bus Network and this app is used for bridging the software bus across processors. If you don't this app then I recommend removing it from the target build list used by cmake. You do this by removing "sbn" from the following line in cfs/osk_defs/targets.cmake

SET(TGT1_APPLIST osk_app_fw bm cfs_lib cs ds expat_lib fm osk_demo_app hc hs hsim kit_ci kit_sch kit_to lc md mm sc hk tftp i42 f42 isim cf sbn)

The rest of this information is to troubleshoot why SBN isn't building. First we need to confirm SBN's CMakeLists.txt file (in SBN app base directory) is configured properly. It should contain the lines as in the attached CMakeLists.txt file.

workaround until these definitions are exposed by cfe_sb

include_directories(${CFECORE_SOURCE_DIR}/src/sb)

If you confirm this and it still doesn't work let me know, assuming you want to debug it. As I mentioned SBN is not required for a single processor system.

from opensatkit.

DKlaren avatar DKlaren commented on July 19, 2024

Thanks for the reply I reverted to the version before you included CFE 6.7.1 and it seems to be working out so far. Thanks.

from opensatkit.

Natpanzarini avatar Natpanzarini commented on July 19, 2024

Thanks for the reply I reverted to the version before you included CFE 6.7.1 and it seems to be working out so far. Thanks.

Hi, i'm having trouble building cfs so I tried reverting to the version before CFE 6.7.1 as well. I'm still having the same build issues with cfs even with that version.

Did you build cfs, 42, and cosmos all separately after getting the previous version?

from opensatkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.