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

Не работает на Mac с процессором M1 #551

Closed
bugreportedman opened this issue Mar 3, 2022 · 13 comments
Closed

Не работает на Mac с процессором M1 #551

bugreportedman opened this issue Mar 3, 2022 · 13 comments

Comments

@bugreportedman
Copy link

Здравствуйте, при запуске на Mac OS на компьютере с процессором M1 программа сразу же вылетает.
Скажите будет-ли возможность запускать игру на Mac с M1?

@Fenex
Copy link
Contributor

Fenex commented Mar 3, 2022

duplicate of #502

@devnexen
Copy link
Contributor

works for me but I m using master branch.
image

@SemyonKirow
Copy link

can you tell me more about what a master branch is?

@stalkerg
Copy link
Contributor

I can test it on my M2 this weekend, I think. Steam itself does not fully support ARM.
Hopefully, github became provide Apple ARM CI, and I can use it to build.

@stalkerg
Copy link
Contributor

Please check the beta version (turbospiralnab) it's still rosetta but should work now.

@bugreportedman
Copy link
Author

Please check the beta version (turbospiralnab) it's still rosetta but should work now.

Looks like it works normally now

@vahotm
Copy link

vahotm commented Jul 3, 2023

Hey, could someone please tell how to run/build Vangers on macos?

@caiiiycuk
Copy link
Contributor

Hey, could someone please tell how to run/build Vangers on macos?

Use this as start point
https://github.com/KranX/Vangers/blob/master/.github/workflows/vangers_macos_build.yml

@vahotm
Copy link

vahotm commented Jul 3, 2023

Thanks @caiiiycuk, I did exactly that, but I failed building clunk library. As far as I understand I have to run cmake -DCMAKE_INSTALL_PREFIX=/usr/local -G Ninja .. && ninja && sudo ninja install from Vangers/clunk/build folder. I am getting the following output:

SDL2_NET_INCLUDE_DIR is /opt/homebrew/include/SDL2
-- Found FFmpeg: /opt/homebrew/lib/libavutil.dylib;/opt/homebrew/lib/libavcodec.dylib;/opt/homebrew/lib/libavformat.dylib
'git' 'rev-parse' '--abbrev-ref' 'HEAD'
master
'git' 'rev-parse' 'HEAD'
7d1801eedb4a4aa1f636c02b9a2ffa669f6196b9
-- Configuring done (0.6s)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CLUNK_INCLUDE_DIR
   used as include directory in directory /Users/ivan_samalazau/Documents/Pet_projects/Vangers
   used as include directory in directory /Users/ivan_samalazau/Documents/Pet_projects/Vangers
   used as include directory in directory /Users/ivan_samalazau/Documents/Pet_projects/Vangers/src
   used as include directory in directory /Users/ivan_samalazau/Documents/Pet_projects/Vangers/src
   used as include directory in directory /Users/ivan_samalazau/Documents/Pet_projects/Vangers/src
   used as include directory in directory /Users/ivan_samalazau/Documents/Pet_projects/Vangers/lib/xgraph
   used as include directory in directory /Users/ivan_samalazau/Documents/Pet_projects/Vangers/lib/xgraph
   used as include directory in directory /Users/ivan_samalazau/Documents/Pet_projects/Vangers/lib/xgraph
   used as include directory in directory /Users/ivan_samalazau/Documents/Pet_projects/Vangers/lib/xsound
   used as include directory in directory /Users/ivan_samalazau/Documents/Pet_projects/Vangers/lib/xsound
   used as include directory in directory /Users/ivan_samalazau/Documents/Pet_projects/Vangers/lib/xsound
   used as include directory in directory /Users/ivan_samalazau/Documents/Pet_projects/Vangers/lib/xtool
   used as include directory in directory /Users/ivan_samalazau/Documents/Pet_projects/Vangers/lib/xtool
   used as include directory in directory /Users/ivan_samalazau/Documents/Pet_projects/Vangers/lib/xtool
   used as include directory in directory /Users/ivan_samalazau/Documents/Pet_projects/Vangers/lib/utils
   used as include directory in directory /Users/ivan_samalazau/Documents/Pet_projects/Vangers/lib/utils
   used as include directory in directory /Users/ivan_samalazau/Documents/Pet_projects/Vangers/lib/utils
   used as include directory in directory /Users/ivan_samalazau/Documents/Pet_projects/Vangers/server
   used as include directory in directory /Users/ivan_samalazau/Documents/Pet_projects/Vangers/server
   used as include directory in directory /Users/ivan_samalazau/Documents/Pet_projects/Vangers/server
   used as include directory in directory /Users/ivan_samalazau/Documents/Pet_projects/Vangers/surmap
   used as include directory in directory /Users/ivan_samalazau/Documents/Pet_projects/Vangers/surmap
   used as include directory in directory /Users/ivan_samalazau/Documents/Pet_projects/Vangers/surmap
CLUNK_LIBRARY
    linked by target "vangers" in directory /Users/ivan_samalazau/Documents/Pet_projects/Vangers/src
    linked by target "xsound" in directory /Users/ivan_samalazau/Documents/Pet_projects/Vangers/lib/xsound

CMake Error in src/CMakeLists.txt:
  Found relative path while evaluating include directories of "vangers":

    "CLUNK_INCLUDE_DIR-NOTFOUND"



CMake Error in src/CMakeLists.txt:
  Found relative path while evaluating include directories of "vangers":

    "CLUNK_INCLUDE_DIR-NOTFOUND"



CMake Error in lib/xgraph/CMakeLists.txt:
  Found relative path while evaluating include directories of "xgraph":

    "CLUNK_INCLUDE_DIR-NOTFOUND"



CMake Error in lib/xgraph/CMakeLists.txt:
  Found relative path while evaluating include directories of "xgraph":

    "CLUNK_INCLUDE_DIR-NOTFOUND"



CMake Error in lib/xsound/CMakeLists.txt:
  Found relative path while evaluating include directories of "xsound":

    "CLUNK_INCLUDE_DIR-NOTFOUND"



CMake Error in lib/xsound/CMakeLists.txt:
  Found relative path while evaluating include directories of "xsound":

    "CLUNK_INCLUDE_DIR-NOTFOUND"



CMake Error in lib/xtool/CMakeLists.txt:
  Found relative path while evaluating include directories of "xtool":

    "CLUNK_INCLUDE_DIR-NOTFOUND"



CMake Error in lib/xtool/CMakeLists.txt:
  Found relative path while evaluating include directories of "xtool":

    "CLUNK_INCLUDE_DIR-NOTFOUND"



CMake Error in lib/utils/CMakeLists.txt:
  Found relative path while evaluating include directories of "zip_convert":

    "CLUNK_INCLUDE_DIR-NOTFOUND"



CMake Error in lib/utils/CMakeLists.txt:
  Found relative path while evaluating include directories of "zip_convert":

    "CLUNK_INCLUDE_DIR-NOTFOUND"



CMake Error in server/CMakeLists.txt:
  Found relative path while evaluating include directories of
  "vangers_server":

    "CLUNK_INCLUDE_DIR-NOTFOUND"



CMake Error in server/CMakeLists.txt:
  Found relative path while evaluating include directories of
  "vangers_server":

    "CLUNK_INCLUDE_DIR-NOTFOUND"



CMake Error in surmap/CMakeLists.txt:
  Found relative path while evaluating include directories of "surmap":

    "CLUNK_INCLUDE_DIR-NOTFOUND"



CMake Error in surmap/CMakeLists.txt:
  Found relative path while evaluating include directories of "surmap":

    "CLUNK_INCLUDE_DIR-NOTFOUND"



-- Generating done (0.0s)
CMake Generate step failed.  Build files cannot be regenerated correctly.

Do you have any thoughts on that?

@stalkerg
Copy link
Contributor

stalkerg commented Jul 3, 2023

you must install clunk firstly

@stalkerg
Copy link
Contributor

stalkerg commented Jul 3, 2023

This specific issue is fixed. close.

@stalkerg stalkerg closed this as completed Jul 3, 2023
@vahotm
Copy link

vahotm commented Jul 4, 2023

@stalkerg wait what, I need clunk to build clunk?

@stalkerg
Copy link
Contributor

@vahotm yes

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

7 participants