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

Missing Mac shell script #35

Open
IsaacMac opened this issue Dec 23, 2024 · 4 comments
Open

Missing Mac shell script #35

IsaacMac opened this issue Dec 23, 2024 · 4 comments

Comments

@IsaacMac
Copy link

Readme file mentions a shell script (.sh) for Mac but it’s not included in the zip file.

@mirrornoir
Copy link

mirrornoir commented Dec 23, 2024

The macOS build hasn't been released yet. With minimal development experience you can compile it yourself using their documentation:

https://github.com/HarbourMasters/Starship/blob/main/docs/BUILDING.md#macos

Besides their documentation, I just had to provide tinyxml2 and rename the ROM to baserom.us.rev1.z64. That was about all the modifications that were required while using the "Release" build options.

@charlietran
Copy link

Thanks for pointing the way @mirrornoir! Have you had any luck with running cpack to make a distributable from those build instructions? My attempts have created a Starship.app bundle with no executables copied

@ndlanier
Copy link

I got a basic executable created, but I'm getting plenty of SDL audio errors and the game window doesn't launch

@evanmarshall-dev
Copy link

evanmarshall-dev commented Jan 13, 2025

Hey all (@mirrornoir, @charlietran, and @ndlanier). I am attempting the "build" option for this on MacOS (arm64 / M1). Did any of you have any luck?

I have gotten to step where you generate a Ninja project: cmake -H. -Bbuild-cmake -GNinja. I was able to install all dependencies via homebrew and clone the project without issue.

I am in the "starship" directory when I run this command and I receive the error:

CMake Error at /Library/Frameworks/SDL2.framework/Resources/CMake/sdl2-config.cmake:17 (message):
  File or directory /Library/Headers referenced by variable SDL2_INCLUDE_DIR
  does not exist !

Call Stack (most recent call first):
  /Library/Frameworks/SDL2.framework/Resources/CMake/sdl2-config.cmake:48 (set_and_check)
  libultraship/cmake/dependencies/mac.cmake:35 (find_package)
  libultraship/CMakeLists.txt:41 (include)

And the build fails. I am new to building and running these projects on MacOS so any help would be greatly appreciated.

PS. I am not sure where to put the dumped ROM in the starship directory, but I do not think I even got that far since the fail seems to happen at SDL2 framework. The SDL2 framework is in the /Library/Frameworks/ directory.

Thank you!

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

No branches or pull requests

5 participants