Skip to content
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

third_party: raylib builds on macos #34499

Merged
merged 4 commits into from
Jan 30, 2025

Conversation

andiradulescu
Copy link
Contributor

  • updated third_party/raylib script to build correctly on macOS
  • renamed script to build.sh to be unified with the other third_party libs
  • made download of raygui.h quiet

Before:

raylib static library generated (libraylib.a) in ../src!
Password:
This function currently works on GNU/Linux systems. Add yours today (^;
+ RAYGUI_COMMIT=76b36b597edb70ffaf96f046076adc20d67e7827
+ wget -O /.../openpilot/third_party/raylib/include/raygui.h https://raw.githubusercontent.com/raysan5/raygui/76b36b597edb70ffaf96f046076adc20d67e7827/src/raygui.h
--2025-01-30 13:31:17--  https://raw.githubusercontent.com/raysan5/raygui/76b36b597edb70ffaf96f046076adc20d67e7827/src/raygui.h
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 2606:50c0:8000::154, 2606:50c0:8003::154, 2606:50c0:8001::154, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|2606:50c0:8000::154|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 279740 (273K) [text/plain]
Saving to: ‘/.../openpilot/third_party/raylib/include/raygui.h’

/.../openpilot/third_party 100%[===================================================================================================================>] 273.18K  --.-KB/s    in 0.08s

After:

raylib static library generated (libraylib.a) in /.../openpilot/third_party/raylib/Darwin!
raylib development files installed/updated in /.../openpilot/third_party/raylib/include
+ RAYGUI_COMMIT=76b36b597edb70ffaf96f046076adc20d67e7827
+ curl -fsSLo /.../openpilot/third_party/raylib/include/raygui.h https://raw.githubusercontent.com/raysan5/raygui/76b36b597edb70ffaf96f046076adc20d67e7827/src/raygui.h

* make install only works on Linux and requires sudo

@maxime-desroches maxime-desroches merged commit d4a7a87 into commaai:master Jan 30, 2025
16 checks passed
@andiradulescu andiradulescu deleted the raylib-macos branch February 1, 2025 07:57
ssysm pushed a commit to MOTIF-lab/openpilot that referenced this pull request Feb 13, 2025
* updated raylib setup for macos

* raylib setup.sh renamed to build.sh

* simplified copy

* silent curl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants