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

Make alext.h optional #2078

Closed
wants to merge 1 commit into from
Closed

Conversation

DoomHammer
Copy link

macOS doesn't seem to have these files but love compiles fine if we just don't include them. Otherwise it fails as the header cannot be found.

@slime73
Copy link
Member

slime73 commented Jun 17, 2024

We use OpenAL-Soft on macOS which has those files, it sounds like you don't have the right dependencies.

Is there a particular reason for using CMake on macOS instead of the xcode project (which can be used from the command line) or the prebuilt app? The xcode project is the only officially supported build system for macOS, for love.

@DoomHammer
Copy link
Author

There are two reasons:

  1. I wanted to package love for Nix and CMake seems like a nice way to do it
  2. I despise XCode and can't really get my way around it

I'll try working with OpenAL-Soft and see if I have better results this way.

BTW: why is the CMake (yet?) unsupported? Do you plan to replace XCode fully at some point or are they meant to be used in parallel?

@slime73
Copy link
Member

slime73 commented Jun 17, 2024

BTW: why is the CMake (yet?) unsupported? Do you plan to replace XCode fully at some point or are they meant to be used in parallel?

Using the platform's native build system means we don't have to wait for months or years for a meta-build system to support any changes, which is especially important on Apple platforms because they make changes every year. CMake also has very poor support for iOS, you'd want to use Xcode there regardless. Distributing a plain Xcode project also lets people just double click it and build, for both platforms.

I despise XCode and can't really get my way around it

You can take a look at the repository's github actions file for a couple lines that will build using the xcode project from the command line, and make a distributable .app. But I heavily recommend using the prebuilt .app instead (love 11.5's is uploaded in the Releases section, and love 12 prerelease builds are part of Github Actions artifacts.)

@slime73 slime73 closed this Jun 17, 2024
@DoomHammer
Copy link
Author

I will try that, 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

Successfully merging this pull request may close these issues.

2 participants