Comments (5)
This happens because only Apple platforms define __arm64__
. Linux gcc defines __aarch64__
instead. I worked around the issue with the following patch
diff -ur aseprite-orig/laf/base/platform.h aseprite/laf/base/platform.h
--- aseprite-orig/laf/base/platform.h 2022-03-18 03:49:25.129299822 -0700
+++ aseprite/laf/base/platform.h 2022-03-18 03:50:19.533186579 -0700
@@ -44,7 +44,7 @@
;
static constexpr Arch arch =
-#if __arm64__
+#if __arm64__ || defined(__aarch64__)
Arch::arm64
#elif defined(__x86_64__) || defined(_WIN64)
Arch::x64
from laf.
Just merged a patch for this issue 👍 thanks @rqou
from laf.
Hi @netthier, sorry about this. Actually the code to detect the arm64/aarch64 chip is for Apple M1 chip. We are not compiling Aseprite for Linux arm64 so probably it will need some adjustments.
from laf.
Older versions of Aseprite compiled fine on aarch64. I don't really have the time to check which tag exactly introduced this breakage.
Since aarch64 Linux doesn't seem to need any extra workarounds, is restoring this support planned?
EDIT: Checking my messages in your Discord server, it seems I was able to compile the latest beta on September 29th 2021.
from laf.
@netthier if you just need to get it to build for yourself, you could probably modify platform.h to force arm64, although I'm not sure what the downstream side effects would be.
from laf.
Related Issues (20)
- Drawing text as functions instead of Surface members
- Review MAX_PATH usage
- Recovery all photos please HOT 2
- SK_SUPPORT_GPU=0 HOT 1
- CMake cannot find X11 HOT 1
- Add events to detect when the app is deactivated/activated
- error: implicit instantiation of undefined template 'std::__1::array<base::Ref<os::Cursor>, 19>' HOT 1
- Bug in thread_pool_tests (infinite loop?)
- Implement base::copy_file for macOS and Linux
- UTF-8 on Windows
- Review keyboard events
- cmake error in linux HOT 6
- Faild ninja build: `FAILED: gfx/packing_rects_tests`
- Improve native file dialog for Linux
- compile-error without reason HOT 1
- macOS event queue won't wakeup under certain circumstances
- Native menus for Windows
- Fix get_canonical_path and get_absolute_path behavior
- Impl WindowX11::setVisible/isVisible on X11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laf.