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

ninja: error: loading 'build.ninja': No such file or directory #1992

Closed
Heliogen opened this issue Jul 2, 2021 · 4 comments
Closed

ninja: error: loading 'build.ninja': No such file or directory #1992

Heliogen opened this issue Jul 2, 2021 · 4 comments

Comments

@Heliogen
Copy link

Heliogen commented Jul 2, 2021

Heads up: I am VERY new to this kind of stuff, so try to be as thorough as you can.

I was trying to compile aseprite the other day, and it was going smoothly until I ran this command to compile it:

cd aseprite
mkdir build
cd build
cmake
-DCMAKE_BUILD_TYPE=RelWithDebInfo
-DCMAKE_OSX_ARCHITECTURES=x86_64
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.9
-DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk
-DLAF_BACKEND=skia
-DSKIA_DIR=$HOME/deps/skia
-DSKIA_LIBRARY_DIR=$HOME/deps/skia/out/Release-x64
-DSKIA_LIBRARY=$HOME/deps/skia/out/Release-x64/libskia.a
-G Ninja
..
ninja aseprite

I ended up getting this error:

ninja: error: loading 'build.ninja': No such file or directory

I found a different article with the same issue that seemed to have been solved, saying that you needed to generate the build.ninja file and then run the binary executable. What does this mean, and can you guys help me compile this?

@jhasse
Copy link
Collaborator

jhasse commented Jul 6, 2021

the cmake command failed.

@jhasse jhasse closed this as completed Jul 6, 2021
@sfraczek
Copy link

sfraczek commented Nov 2, 2022

I had the same problem and I have to say this is unhelpful error message :(

@sani442
Copy link

sani442 commented Apr 25, 2024

watch this video
https://youtu.be/21-xiWaIV9I?si=jutAJY0kS-HX-QiW

@digit-google
Copy link
Contributor

Sorry, but this is not a Ninja issue. You should ask on the aseprite forums. And please do not post links to videos.

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

5 participants