I tried to build aseprite on Pop!_OS 22.04 x64
on last step following: aseprite/INSTALL.md at main · aseprite/aseprite · GitHub
when I’m using ninja aseprite I’m getting error and build fails
scarlet_moon@pop-os:~/aseprite/aseprite/build$ ninja aseprite
[1/1349] Building CXX object third_par...keFiles/tinyxml.dir/tinyxmlerror.cpp.o
FAILED: third_party/tinyxml/CMakeFiles/tinyxml.dir/tinyxmlerror.cpp.o
/usr/bin/c++ -DCMARK_STATIC_DEFINE -DNDEBUG -DPNG_NO_MMX_CODE -DTIXML_USE_STL -I/home/scarlet_moon/aseprite/aseprite/third_party/zlib -I/home/scarlet_moon/aseprite/aseprite/build/third_party/zlib -I/home/scarlet_moon/aseprite/aseprite/third_party/libpng -I/home/scarlet_moon/aseprite/aseprite/build/third_party/libpng -I/home/scarlet_moon/aseprite/aseprite/third_party/tinyxml -I/home/scarlet_moon/aseprite/aseprite/third_party/pixman/pixman -I/home/scarlet_moon/aseprite/aseprite/build -I/home/scarlet_moon/aseprite/aseprite/third_party/giflib -I/home/scarlet_moon/aseprite/aseprite/third_party/jpeg -I/home/scarlet_moon/aseprite/aseprite/third_party/curl/include -I/home/scarlet_moon/aseprite/aseprite/third_party/simpleini -I/home/scarlet_moon/aseprite/aseprite/third_party/. -stdlib=libc++ -O2 -g -DNDEBUG -std=c++17 -MD -MT third_party/tinyxml/CMakeFiles/tinyxml.dir/tinyxmlerror.cpp.o -MF third_party/tinyxml/CMakeFiles/tinyxml.dir/tinyxmlerror.cpp.o.d -o third_party/tinyxml/CMakeFiles/tinyxml.dir/tinyxmlerror.cpp.o -c /home/scarlet_moon/aseprite/aseprite/third_party/tinyxml/tinyxmlerror.cpp
c++: error: unrecognized command-line option ‘-stdlib=libc++’
[2/1349] Building CXX object third_par...eFiles/tinyxml.dir/tinyxmlparser.cpp.o
FAILED: third_party/tinyxml/CMakeFiles/tinyxml.dir/tinyxmlparser.cpp.o
/usr/bin/c++ -DCMARK_STATIC_DEFINE -DNDEBUG -DPNG_NO_MMX_CODE -DTIXML_USE_STL -I/home/scarlet_moon/aseprite/aseprite/third_party/zlib -I/home/scarlet_moon/aseprite/aseprite/build/third_party/zlib -I/home/scarlet_moon/aseprite/aseprite/third_party/libpng -I/home/scarlet_moon/aseprite/aseprite/build/third_party/libpng -I/home/scarlet_moon/aseprite/aseprite/third_party/tinyxml -I/home/scarlet_moon/aseprite/aseprite/third_party/pixman/pixman -I/home/scarlet_moon/aseprite/aseprite/build -I/home/scarlet_moon/aseprite/aseprite/third_party/giflib -I/home/scarlet_moon/aseprite/aseprite/third_party/jpeg -I/home/scarlet_moon/aseprite/aseprite/third_party/curl/include -I/home/scarlet_moon/aseprite/aseprite/third_party/simpleini -I/home/scarlet_moon/aseprite/aseprite/third_party/. -stdlib=libc++ -O2 -g -DNDEBUG -std=c++17 -MD -MT third_party/tinyxml/CMakeFiles/tinyxml.dir/tinyxmlparser.cpp.o -MF third_party/tinyxml/CMakeFiles/tinyxml.dir/tinyxmlparser.cpp.o.d -o third_party/tinyxml/CMakeFiles/tinyxml.dir/tinyxmlparser.cpp.o -c /home/scarlet_moon/aseprite/aseprite/third_party/tinyxml/tinyxmlparser.cpp
c++: error: unrecognized command-line option ‘-stdlib=libc++’
[3/1349] Building CXX object third_par...l/CMakeFiles/tinyxml.dir/tinyxml.cpp.o
FAILED: third_party/tinyxml/CMakeFiles/tinyxml.dir/tinyxml.cpp.o
/usr/bin/c++ -DCMARK_STATIC_DEFINE -DNDEBUG -DPNG_NO_MMX_CODE -DTIXML_USE_STL -I/home/scarlet_moon/aseprite/aseprite/third_party/zlib -I/home/scarlet_moon/aseprite/aseprite/build/third_party/zlib -I/home/scarlet_moon/aseprite/aseprite/third_party/libpng -I/home/scarlet_moon/aseprite/aseprite/build/third_party/libpng -I/home/scarlet_moon/aseprite/aseprite/third_party/tinyxml -I/home/scarlet_moon/aseprite/aseprite/third_party/pixman/pixman -I/home/scarlet_moon/aseprite/aseprite/build -I/home/scarlet_moon/aseprite/aseprite/third_party/giflib -I/home/scarlet_moon/aseprite/aseprite/third_party/jpeg -I/home/scarlet_moon/aseprite/aseprite/third_party/curl/include -I/home/scarlet_moon/aseprite/aseprite/third_party/simpleini -I/home/scarlet_moon/aseprite/aseprite/third_party/. -stdlib=libc++ -O2 -g -DNDEBUG -std=c++17 -MD -MT third_party/tinyxml/CMakeFiles/tinyxml.dir/tinyxml.cpp.o -MF third_party/tinyxml/CMakeFiles/tinyxml.dir/tinyxml.cpp.o.d -o third_party/tinyxml/CMakeFiles/tinyxml.dir/tinyxml.cpp.o -c /home/scarlet_moon/aseprite/aseprite/third_party/tinyxml/tinyxml.cpp
c++: error: unrecognized command-line option ‘-stdlib=libc++’
[6/1349] Building C object third_party.../lib/CMakeFiles/libcurl.dir/altsvc.c.o
ninja: build stopped: subcommand failed.
Can someone help please