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

How to install on mac #6

Open
failingapbio opened this issue Aug 28, 2023 · 2 comments
Open

How to install on mac #6

failingapbio opened this issue Aug 28, 2023 · 2 comments

Comments

@failingapbio
Copy link

No description provided.

@hugo-b-r
Copy link

You might want to build from source. The link to build from source the same way as openspades: https://github.com/yvt/openspades?tab=readme-ov-file#on-macos-with-ninja

@ElonGaties
Copy link

ElonGaties commented Dec 21, 2024

kinda a old post but i am attempting to build zerospades on mac - currently running into this issue:

FAILED: Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir/__/__/source/as_callfunc_x64_gcc.cpp.o 
/Library/Developer/CommandLineTools/usr/bin/c++ -DHAS_FCNTL=1 -DHAS_INET_NTOP=1 -DHAS_INET_PTON=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_POLL=1 -DHAS_SOCKLEN_T=1 -I/Users/RED/Repos/zerospades/os.mk -I/Users/RED/Repos/zerospades/vcpkg/installed/x64-osx/include -I/Users/RED/Repos/zerospades/vcpkg/installed/x64-osx/include/opus -I/Users/RED/Repos/zerospades/Sources/AngelScript/projects/cmake/../../include -std=gnu++11 -O2 -g -DNDEBUG -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk -mmacosx-version-min=14.7   -Wall -Wextra -Wno-unused-parameter -D_CRT_SECURE_NO_WARNINGS -DANGELSCRIPT_EXPORT -D_LIB -MD -MT Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir/__/__/source/as_callfunc_x64_gcc.cpp.o -MF Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir/__/__/source/as_callfunc_x64_gcc.cpp.o.d -o Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir/__/__/source/as_callfunc_x64_gcc.cpp.o -c /Users/RED/Repos/zerospades/Sources/AngelScript/source/as_callfunc_x64_gcc.cpp
/Users/RED/Repos/zerospades/Sources/AngelScript/source/as_callfunc_x64_gcc.cpp:143:4: error: invalid CFI advance_loc expression
  143 |                 " .cfi_def_cfa_register rsp \n"
      |                  ^
<inline asm>:44:2: note: instantiated into assembly here
   44 |  .cfi_def_cfa_register rsp 
      |  ^
1 error generated.

this code also exists on openspades, ill try fixing it myself but it would be nice if anyone knew anything about this

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

3 participants