-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
make fails under MacOS #1917
Comments
You should be able to get past the missing library by including an explicit link directory in your export LDFLAGS=-L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib Not finding
For the last few years now, Mac OS has traded developer-friendliness for security, so it generally requires a little more direction than development on Linux. |
It doesn't work, failing with the same errors. Does it matter that the files in |
Although there are some community member contributions related to building cFS for a MacOS target (see nasa/osal#1161, nasa/osal#1140), it isn't an officially supported target ( which basically means we don't have a stakeholder providing resources to support it). If you requirements allow it, it may be easier to utilize a Linux docker/VM or QEMU target that is supported and provides a shorter path to a more typical production target. |
Although this issue relates to something not working (ie, "bug"), it's related to an unsupported build env (MacOS). Labeling as "enhancement" to consider supporting MacOS. |
This may be a cFS issue (initial step is to check out cFS and work from its directory, but then cfe/Makefile is copied and used). The issue may be moved to the appropriate repo.
When following the instructions in the README on a Mac (either Intel or Apple Silicon ARM) , the first make fails with
This looks like a regression or maybe an untested case of #629 .
Steps to reproduce the behavior:
On a Mac, follow the instructions in the README to clone the project and then start the first make:
so far so good
fails with first error message to console:
The CMakeError.log file says:
but that may be a secondary cascade error.
I would expect it to compile without error.
This is observed on both a MacBook M1 and a Mac Pro (Intel), both with latest macOS (11.5.2) and toolchain (Xcode 11.5.1; cmake 3.20.5; AppleClang 12.0.5.12050022). zsh shell (but same result under bash).
Output of make attached:
make_output.txt
CMakeError.log
CMakeOutput.log
The text was updated successfully, but these errors were encountered: