cfs-tools / cfs-basecamp

Provides a framework and tools for developing, downloading, and integrating core Flight System (cFS) applications into an operational system.
Other
25 stars 3 forks source link

Error while executing make SIMULATION=native prep #17

Open PratikAher20 opened 1 year ago

PratikAher20 commented 1 year ago

IMG_20221221_171358 What could the error?

dmccomas commented 1 year ago

I just cloned and got a different error captured below. I just pushed some changes, cloned, and successfully built it. I don't see any file differences that would explain the errors.

Can you please try again and see if it works.

image

PratikAher20 commented 1 year ago

Still getting the same error. " Object of target 'cfe_missionlib_python_pic' referenced but is not an OBJECT library. "

dmccomas commented 1 year ago

This is triggering a faint memory and the issue may be related to your cmake version. When I initially worked with the cfe-eds-framework https://github.com/jphickey/cfe-eds-framework I may have had the same issue. His website states "at least v2.8.12 recommended". I'm using cmake version 3.22.1.

What version of cmake do you have?

On Thu, Dec 22, 2022 at 6:44 AM Pratik Aher @.***> wrote:

Still getting the same error. " Object of target 'cfe_missionlib_python_pic' referenced but is not an OBJECT library. "

— Reply to this email directly, view it on GitHub https://github.com/cfs-tools/cfs-basecamp/issues/17#issuecomment-1362740871, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMGKCG6KPYHW3M2GKYAKSTWOQ5ILANCNFSM6AAAAAATFRCKCQ . You are receiving this because you commented.Message ID: @.***>

PratikAher20 commented 1 year ago

I am using version 3.10.2 on ubuntu 18.04 LTS on VM as instructed for OpenSatKit in the installation video.

dmccomas commented 1 year ago

Basecamp and OpenSatKit are two different projects so the video technically doesn't apply to Basecamp.. However, one of Basecamp's goals is to minimize dependencies so it can run on as many platforms as possible. I successfully built Basecamp on Ubuntu 22.04 and Ubuntu 20.04, but I get the same error you do when I try Ubuntu 18.04. I'll keep looking into it.

On Thu, Dec 22, 2022 at 8:34 AM Pratik Aher @.***> wrote:

I am using version 3.10.2 on ubuntu 18.04 LTS on VM as instructed for OpenSatKit in the installation video.

— Reply to this email directly, view it on GitHub https://github.com/cfs-tools/cfs-basecamp/issues/17#issuecomment-1362847280, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMGKCB7SBSJGCEX752K5HLWORKIHANCNFSM6AAAAAATFRCKCQ . You are receiving this because you commented.Message ID: @.***>

PratikAher20 commented 1 year ago

I am clear about the two different projects. Due to lack of resources I am using the same system for both OpenSatKit and cfs-Basecamp. Thanks for your support.

dmccomas commented 1 year ago

It does seem to be a cmake version issue based on the following cmake objects of target X disucssion. Unfortunately, it looks like Ubuntu 18.04 may not support the cmake versions 3.12 of greater that is needed to remedy the issue.

JiveyGuy commented 1 year ago

I am in a similar situation. I was trying to use OpenSatKit and Basecamp on the same system. I will just install the correct version thanks for looking into this.

dmccomas commented 1 year ago

Basecamp uses cfe-eds-framework that relies on a cmake version that must be at least v3.12 (This excludes Ubuntu 18.04 and earlier). This is noted on Basecamp's home page prerequisites, but I need to make it more prominent, because it gets lost in the notes. This is unfortunate because Ubuntu 18.04 is the last version of Ubuntu that OpenSatKit works on.

The solution for Basecamp is to use a Linux platform that supports cmake version >= v3.12

The current long term OpenSatKit plan is to reduce its scope, so it serves as a cFS reference mission without any bells or whistles. OpenC3 COSMOS will be the ground system.

JiveyGuy commented 1 year ago

Making OSK purely reference cFS is a great goal, I look forward to seeing how it is done.