Ninja compilation problems

Ok, nevermind, I fixed that by just using the pre-compiled version of skia, and then the compilation part worked fine, but now whenever I run ninja aseprite I get this:
[109/1496] Building C object third_par...rl/lib/CMakeFiles/libcurl.dir/file.c.o FAILED: third_party/curl/lib/CMakeFiles/libcurl.dir/file.c.o /usr/bin/cc -DBUILDING_LIBCURL -DCMARK_STATIC_DEFINE -DHAVE_CONFIG_H -DNDEBUG -DPNG_NO_MMX_CODE -I../third_party/zlib -Ithird_party/zlib -I../third_party/libpng -Ithird_party/libpng -I../third_party/libwebp/src -I../third_party/tinyxml -I../third_party/pixman/pixman -I. -I../third_party/freetype2/include -I../third_party/harfbuzz/src -I../third_party/giflib/lib -I../third_party/jpeg -Ithird_party/cmark -I../third_party/curl/include -I../third_party/simpleini -I../third_party/. -Ithird_party/curl/include/curl -Ithird_party/curl/lib/../include -I../third_party/curl/lib/.. -I../third_party/curl/lib/../include -Ithird_party/curl/lib/.. -I../third_party/curl/lib -Ithird_party/curl/lib -O2 -g -DNDEBUG -MD -MT third_party/curl/lib/CMakeFiles/libcurl.dir/file.c.o -MF third_party/curl/lib/CMakeFiles/libcurl.dir/file.c.o.d -o third_party/curl/lib/CMakeFiles/libcurl.dir/file.c.o -c ../third_party/curl/lib/file.c In file included from ../third_party/curl/lib/setup.h:126, from ../third_party/curl/lib/file.c:23: ../third_party/curl/include/curl/curlrules.h:79:4: error: #error "CURL_SIZEOF_LONG definition is missing!" 79 | # error "CURL_SIZEOF_LONG definition is missing!" | ^~~~~ ../third_party/curl/include/curl/curlrules.h:80:4: error: unknown type name ‘Error’ 80 | Error Compilation_aborted_CURL_SIZEOF_LONG_is_missing | ^~~~~ ../third_party/curl/include/curl/curlrules.h:94:4: error: #error "CURL_TYPEOF_CURL_OFF_T definition is missing!" 94 | # error "CURL_TYPEOF_CURL_OFF_T definition is missing!" | ^~~~~ ../third_party/curl/include/curl/curlrules.h:95:4: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Error’ 95 | Error Compilation_aborted_CURL_TYPEOF_CURL_OFF_T_is_missing | ^~~~~ ../third_party/curl/include/curl/curlrules.h:95:4: error: unknown type name ‘Error’ ../third_party/curl/include/curl/curlrules.h:99:4: error: #error "CURL_FORMAT_CURL_OFF_T definition is missing!" 99 | # error "CURL_FORMAT_CURL_OFF_T definition is missing!" | ^~~~~ ../third_party/curl/include/curl/curlrules.h:104:4: error: #error "CURL_FORMAT_CURL_OFF_TU definition is missing!" 104 | # error "CURL_FORMAT_CURL_OFF_TU definition is missing!" | ^~~~~ ../third_party/curl/include/curl/curlrules.h:109:4: error: #error "CURL_FORMAT_OFF_T definition is missing!" 109 | # error "CURL_FORMAT_OFF_T definition is missing!" | ^~~~~ ../third_party/curl/include/curl/curlrules.h:114:4: error: #error "CURL_SIZEOF_CURL_OFF_T definition is missing!" 114 | # error "CURL_SIZEOF_CURL_OFF_T definition is missing!" | ^~~~~ ../third_party/curl/include/curl/curlrules.h:119:4: error: #error "CURL_SUFFIX_CURL_OFF_T definition is missing!" 119 | # error "CURL_SUFFIX_CURL_OFF_T definition is missing!" | ^~~~~ ../third_party/curl/include/curl/curlrules.h:124:4: error: #error "CURL_SUFFIX_CURL_OFF_TU definition is missing!" 124 | # error "CURL_SUFFIX_CURL_OFF_TU definition is missing!" | ^~~~~ ../third_party/curl/include/curl/curlrules.h:153:18: error: ‘curl_off_t’ undeclared here (not in a function); did you mean ‘loff_t’? 153 | [CurlchkszEQ(curl_off_t, CURL_SIZEOF_CURL_OFF_T)]; | ^~~~~~~~~~ ../third_party/curl/include/curl/curlrules.h:132:34: note: in definition of macro ‘CurlchkszEQ’ 132 | #define CurlchkszEQ(t, s) sizeof(t) == s ? 1 : -1 | ^ ../third_party/curl/include/curl/curlrules.h:153:30: error: ‘CURL_SIZEOF_CURL_OFF_T’ undeclared here (not in a function); did you mean ‘CURL_SIZEOF_CURL_SOCKLEN_T’? 153 | [CurlchkszEQ(curl_off_t, CURL_SIZEOF_CURL_OFF_T)]; | ^~~~~~~~~~~~~~~~~~~~~~ ../third_party/curl/include/curl/curlrules.h:132:40: note: in definition of macro ‘CurlchkszEQ’ 132 | #define CurlchkszEQ(t, s) sizeof(t) == s ? 1 : -1 | ^ [114/1496] Building C object third_par...ib/CMakeFiles/zlibstatic.dir/inflate.o ninja: build stopped: subcommand failed.

If anyone could help, ive been working on this for a few days now, and will appreciate any help I can get.
(The reason Im not just buying it is because the trial versions dont work on my raspberry pi, which is pretty much my only computer at the moment. I do plan on buying it later though, especially if i can get this to work.)