Skip to content

support macOS #57

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

Open
wants to merge 3 commits into
base: new
Choose a base branch
from
Open

support macOS #57

wants to merge 3 commits into from

Conversation

prife
Copy link

@prife prife commented May 15, 2022

  1. add cmake support, only macOS now
  2. add libraries/corecrypto porting from rileytestut without any change, cause corecrypto.zip from apple's site can't be built on arm macOS.
  3. add an all-in-one in-place patch script makefiles/patch.py
  4. tested on m1 macOS, x86 macOS should be okay.

build:

  1. install dependencies
$  brew install cpprestsdk boost openssl
  1. patch code
$ python3 makefiles/patch.py
  1. build with cmake
$ mkdir build && cd build
$ cmake ..
$ make -j10

prife added 3 commits May 15, 2022 22:21
porting from: git@github.com:rileytestut/AltSign.git **without any change**
commit-id: 2856e479c3447b361b98b
@prife
Copy link
Author

prife commented May 15, 2022

Linux/windows building with cmake will be supported in future when I've some spare time.

@prife
Copy link
Author

prife commented May 15, 2022

Maybe should build the project with vcpkg?

@jawshoeadan
Copy link

I'm currently getting this error when building. AltServer-Linux-Build/AltServer-Linux/upstream_repo/AltSign/Archiver.cpp:323:71: error: use of undeclared identifier 'APPEND_STATUS_CREATE I'm on macOS 12.4 M1 Max MBP

@SternXD
Copy link

SternXD commented Sep 2, 2022

Be nice to build and get it to work on Windows because of how Altserver on Windows needs Administrator Access while from what I understand this probably wouldn't.

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.

3 participants