-
Notifications
You must be signed in to change notification settings - Fork 9
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
How to build on macOS? #34
Comments
I don't run on Mac, but I know that others have got this to work. |
I'd be interested too to know if someone gets this running in MacOS somehow |
A long forum thread here with very helpful people who know how to do that!
https://csdb.dk/forums/?roomid=12&topicid=155457&firstpostd=156132#156132
…On Sat, 13 Aug 2022 at 12:48, cukabeka ***@***.***> wrote:
I'd be interested too to know if someone gets this running in MacOS somehow
—
Reply to this email directly, view it on GitHub
<#34 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AYGMDBQUAJVS6G2YYYVN74TVY6DR7ANCNFSM53YE2EFQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Great, thanks for digging this up and posting it. I'll give it a try. Is there any chance that there will be official Mac Releases for downloading / installing? |
I’m windows based. So if it happens, it will likely be someone else who
will do that.
…On Tue, 16 Aug 2022 at 13:19, cukabeka ***@***.***> wrote:
Great, thanks for digging this up and posting it. I'll give it a try. Is
there any chance that there will be official Mac Releases for downloading /
installing?
—
Reply to this email directly, view it on GitHub
<#34 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AYGMDBWFBOZRBMN4GZT26QTVZOBNDANCNFSM53YE2EFQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
OK, I gave it a try using the directions in the provided thread on CSDB. I edited the
I ran and then I got these errors as output:
I'm on AppleSilicon M1, MacOS 12.4. Maybe here's someone on a Mac getting this a bit further. |
Possible a GCC bug / version issue?
I get the JPSoundMixer lines, but as warnings only
Feels like -wError is being enabled somewhere for you.
…On Fri, 26 Aug 2022 at 14:08, cukabeka ***@***.***> wrote:
OK, I gave it a try using the directions in the provided thread on CSDB.
I created a makefile.macos file
#
# MAC makefile
#
CFLAGS+=`sdl2-config --cflags`
PREFIX=../mac/
SUFFIX=
LIBS+=`sdl2-config --libs` -lpthread
include makefile.common
I ran make --makefile=makefile.macos
and then I got these errors as output:
gt2stereo.c:3646:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
}
^
15 warnings generated.
cc `sdl2-config --cflags` -Ibme -Iasm -O3 -c -o gsong.o gsong.c
cc `sdl2-config --cflags` -Ibme -Iasm -O3 -c -o gorder.o gorder.c
gorder.c:885:41: warning: equality comparison result unused [-Wunused-comparison]
editorInfo.highlightLoopPatternNumber == gtPlayer->editorInfo[c3].epnum; // highlight looping area
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gorder.c:885:41: note: use '=' to turn this equality comparison into an assignment
editorInfo.highlightLoopPatternNumber == gtPlayer->editorInfo[c3].epnum; // highlight looping area
^~
=
gorder.c:1092:6: error: implicit declaration of function 'JPSoundMixer' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
JPSoundMixer(NULL, 1024);
^
gorder.c:1110:6: error: implicit declaration of function 'JPSoundMixer' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
JPSoundMixer(NULL, 1024);
^
1 warning and 2 errors generated.
I'm on AppleSilicon M1, MacOS 12.4.
Maybe here's someone on a Mac getting this a bit further.
—
Reply to this email directly, view it on GitHub
<#34 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AYGMDBWWSV6CWXVOXUSTUC3V3C6TXANCNFSM53YE2EFQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
There seems to be no alsa package for macOS, so the build fails.
The text was updated successfully, but these errors were encountered: