haxpor / aseprite-macos-buildsh

Automated script to create latest release app (either beta, or release whichever is newer) of Aseprite for macOS
MIT License
155 stars 41 forks source link

build fails #20

Open flowingss opened 2 years ago

flowingss commented 2 years ago

when I run the sh file as any user (and sudo) i get this error:

CMake Warning at /Users/Kemal-MAC/.pyenv/versions/3.9.0/lib/python3.9/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.18/Modules/Platform/Darwin-Initialize.cmake:286 (message): Ignoring CMAKE_OSX_SYSROOT value:

/Library/Developer/CommandLineTools/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk

because the directory does not exist. Call Stack (most recent call first): /Users/Kemal-MAC/.pyenv/versions/3.9.0/lib/python3.9/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.18/Modules/CMakeSystemSpecificInitialize.cmake:21 (include) CMakeLists.txt:31 (project)

CMake Error at /Users/directory/.pyenv/versions/3.9.0/lib/python3.9/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.18/Modules/CMakeDetermineCCompiler.cmake:49 (message): Could not find compiler set in environment variable CC:

/Library/Developer/CommandLineTools/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc. Call Stack (most recent call first): CMakeLists.txt:31 (project)

CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred! See also "/Users/directory/aseprite-macos-buildsh/aseprite/build/CMakeFiles/CMakeOutput.log". Something went wrong

I always have error with cmake and I dont know what happened here

mzxiethemuse commented 2 years ago

I get the same issue.

DevenWen commented 1 year ago

It was told that should use python 2.x

TheAvacad0 commented 1 year ago

I Have the same issue with python 2.x