Comments (7)
Same on 23.10
from aseprite.
Seems that laf submodule was not updated. Open a terminal in the directory where you cloned Aseprite repo, then try running:
git submodule update --recursive
Then run cmake and ninja again. Please let us know how it went.
from aseprite.
After running
git submodule update --recursive
And re-running this command:
export CC=clang
export CXX=clang++
mkdir build
cd build
cmake \
-DCMAKE_CXX_FLAGS=-stdlib=libc++ \
-DCMAKE_EXE_LINKER_FLAGS=-stdlib=libc++ \
-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/MacOSX.sdk \
-DLAF_BACKEND=skia \
-DSKIA_DIR=~/secondary/downloads/aseprite/deps/skia \
-DSKIA_LIBRARY_DIR=~/secondary/downloads/aseprite/deps/skia/out/Release-x64 \
-DSKIA_LIBRARY=~/secondary/downloads/aseprite/deps/skia/out/Release-x64/libskia.a \
-G Ninja \
..
ninja aseprite
I get a different error, it's absolutely enormous - but I'll write down what's at the very top.
I looked online and wasn't able to find a solution myself. Any ideas?
/usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x23
from aseprite.
Wait, weren't you trying to build Aseprite for Ubuntu?
from aseprite.
I am trying to build it on Ubuntu 22.04 - correct
Am I doing something wrong? 😕
from aseprite.
You are running cmake as if you were compiling for macos:
-DCMAKE_OSX_ARCHITECTURES=x86_64 \
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.9 \
-DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk \
Check these:
https://github.com/aseprite/aseprite/blob/main/INSTALL.md#macos-details
https://github.com/aseprite/aseprite/blob/main/INSTALL.md#linux-details
from aseprite.
Oh - I thought those don't do anything when used on Linux. I removed them (just in case) and get the same DWARF
error.
Here's the command I typed in:
export CC=clang
export CXX=clang++
cmake \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_CXX_FLAGS:STRING=-stdlib=libc++ \
-DCMAKE_EXE_LINKER_FLAGS:STRING=-stdlib=libc++ \
-DLAF_BACKEND=skia \
-DSKIA_DIR=~/secondary/downloads/aseprite/deps/skia \
-DSKIA_LIBRARY_DIR=~/secondary/downloads/aseprite/deps/skia/out/Release-x64 \
-DSKIA_LIBRARY=~/secondary/downloads/aseprite/deps/skia/out/Release-x64/libskia.a \
-G Ninja \
..
ninja aseprite
Error is
[1/1] Linking CXX executable bin/aseprite
FAILED: bin/aseprite
: && /usr/bin/ccache /usr/bin/clang++ -stdlib=libc++ -Wall -Wno-switch -Wimplicit-fallthrough -O2 -g -DNDEBUG -stdlib=libc++ src/CMakeFiles/aseprite.dir/main/main.cpp.o -o bin/aseprite lib/libapp-lib.a lib/libcfg-lib.a lib/libclip.a -lxcb lib/libdio-lib.a lib/libfilters-lib.a lib/libflic-lib.a lib/libtga-lib.a lib/librender-lib.a lib/libdoc-lib.a lib/libfixmath-lib.a lib/libcityhash.a lib/libui-lib.a lib/liblaf-os.a lib/liblaf-gfx.a lib/liblaf-ft.a /home/ariel/secondary/downloads/aseprite/deps/skia/out/Release-x64/libfreetype2.a /home/ariel/secondary/downloads/aseprite/deps/skia/out/Release-x64/libharfbuzz.a /home/ariel/secondary/downloads/aseprite/deps/skia/out/Release-x64/libskia.a /usr/lib/x86_64-linux-gnu/libGL.so /usr/lib/x86_64-linux-gnu/libfontconfig.so /usr/lib/x86_64-linux-gnu/libSM.so /usr/lib/x86_64-linux-gnu/libICE.so /usr/lib/x86_64-linux-gnu/libX11.so /usr/lib/x86_64-linux-gnu/libXext.so /usr/lib/x86_64-linux-gnu/libXcursor.so /home/ariel/secondary/downloads/aseprite/deps/skia/out/Release-x64/libskshaper.a lib/libobs.a lib/libundo.a lib/libcmark.a lib/libjpeg.a lib/libgiflib.a lib/libpng16.a -lm /home/ariel/secondary/downloads/aseprite/deps/skia/out/Release-x64/libwebp.a lib/libjson11.a lib/libarchive.a /usr/lib/x86_64-linux-gnu/libcrypto.so /usr/lib/x86_64-linux-gnu/libssl.so lib/libfmt.a lib/libtinyexpr.a lib/liblauxlib.a lib/liblua.a lib/liblualib.a lib/libixwebsocket.a lib/libz.a lib/libupdater-lib.a lib/libver-lib.a lib/libtinyxml.a lib/libnet-lib.a lib/liblaf-base.a -lpthread /usr/lib/x86_64-linux-gnu/libdl.a lib/libcurl.a -ldl && :
/usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x23
from aseprite.
Related Issues (20)
- gen not recognized as internal or external command HOT 3
- RotSprite on background with Opaque selection transformation creates a black border
- Mouse scroll zoom sensitivity is off HOT 1
- Brush preview/cursor stops following mouse cursor on macOS HOT 2
- Get a GraphicsContext to modify an Image/Sprite
- Add new shader rotation algorithm HOT 6
- Some JPG files are loaded with incorrect orientation HOT 4
- Aseprite executable file description is far too verbose HOT 1
- Are websockets with SSL/TLS supposed to be supported? HOT 1
- Consistent crash on "exporting all frames" on a one frame animation with a tag that specifies "ping-pong" animation direction
- File explorer doesn't show up when trying to import palette HOT 1
- View the points of multiple colours in the colour spectrum. HOT 1
- Blurry image rendering on website homepage HOT 1
- Save color palette requires to manually enter type, else error "Cannot save a color palette in format" HOT 1
- Crashing segfault when calling: app.command.CloseFile() or app.command.GotoPreviousTab() , in --batch mode HOT 1
- Loosing tags when moving Group of frames HOT 1
- Scripting app.command.Cut() and app.command.Paste() does not work in --batch mode HOT 1
- pcmanfm-qt linux file manager: "open with aseprite" says file is invalid HOT 1
- Linux: Exporting and confirming without selecting output folder with 3-dots button will export to Home instead of last folder HOT 1
- Check if git command exists to clone strings (instead of failing if git doesn't exist
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 aseprite.