arm64 macOS ventura, cmake version 3.27.3
[ 57%] Building CXX object CMakeFiles/stable-diffusion.dir/stable-diffusion.cpp.o
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:137:43: warning: format specifies type 'size_t' (aka 'unsigned long') but the argument has type 'int64_t' (aka 'long long') [-Wformat]
printf("shape(%zu, %zu, %zu, %zu)\n", tensor->ne[0], tensor->ne[1], tensor->ne[2], tensor->ne[3]);
~~~ ^~~~~~~~~~~~~
%lld
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:137:58: warning: format specifies type 'size_t' (aka 'unsigned long') but the argument has type 'int64_t' (aka 'long long') [-Wformat]
printf("shape(%zu, %zu, %zu, %zu)\n", tensor->ne[0], tensor->ne[1], tensor->ne[2], tensor->ne[3]);
~~~ ^~~~~~~~~~~~~
%lld
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:137:73: warning: format specifies type 'size_t' (aka 'unsigned long') but the argument has type 'int64_t' (aka 'long long') [-Wformat]
printf("shape(%zu, %zu, %zu, %zu)\n", tensor->ne[0], tensor->ne[1], tensor->ne[2], tensor->ne[3]);
~~~ ^~~~~~~~~~~~~
%lld
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:137:88: warning: format specifies type 'size_t' (aka 'unsigned long') but the argument has type 'int64_t' (aka 'long long') [-Wformat]
printf("shape(%zu, %zu, %zu, %zu)\n", tensor->ne[0], tensor->ne[1], tensor->ne[2], tensor->ne[3]);
~~~ ^~~~~~~~~~~~~
%lld
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:902:18: error: use of undeclared identifier 'ggml_group_norm'
auto h = ggml_group_norm(ctx, x);
^
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:1125:13: error: use of undeclared identifier 'ggml_group_norm'
x = ggml_group_norm(ctx, x);
^
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:1379:28: error: use of undeclared identifier 'ggml_get_dynamic'; did you mean 'ggml_get_name'?
bool dynamic = ggml_get_dynamic(ctx);
^~~~~~~~~~~~~~~~
ggml_get_name
/Users/saidm/stable-diffusion.cpp/ggml/src/../include/ggml/ggml.h:664:35: note: 'ggml_get_name' declared here
GGML_API const char * ggml_get_name (const struct ggml_tensor * tensor);
^
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:1379:45: error: cannot initialize a parameter of type 'const struct ggml_tensor *' with an lvalue of type 'struct ggml_context *'
bool dynamic = ggml_get_dynamic(ctx);
^~~
/Users/saidm/stable-diffusion.cpp/ggml/src/../include/ggml/ggml.h:273:12: note: 'ggml_context' is not defined, but forward declared here; conversion would be valid if it was derived from 'ggml_tensor'
struct ggml_context;
^
/Users/saidm/stable-diffusion.cpp/ggml/src/../include/ggml/ggml.h:664:79: note: passing argument to parameter 'tensor' here
GGML_API const char * ggml_get_name (const struct ggml_tensor * tensor);
^
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:1380:13: error: use of undeclared identifier 'ggml_set_dynamic'; did you mean 'ggml_set_name'?
ggml_set_dynamic(ctx, false);
^~~~~~~~~~~~~~~~
ggml_set_name
/Users/saidm/stable-diffusion.cpp/ggml/src/../include/ggml/ggml.h:665:35: note: 'ggml_set_name' declared here
GGML_API struct ggml_tensor * ggml_set_name ( struct ggml_tensor * tensor, const char * name);
^
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:1380:30: error: cannot initialize a parameter of type 'struct ggml_tensor *' with an lvalue of type 'struct ggml_context *'
ggml_set_dynamic(ctx, false);
^~~
/Users/saidm/stable-diffusion.cpp/ggml/src/../include/ggml/ggml.h:273:12: note: 'ggml_context' is not defined, but forward declared here; conversion would be valid if it was derived from 'ggml_tensor'
struct ggml_context;
^
/Users/saidm/stable-diffusion.cpp/ggml/src/../include/ggml/ggml.h:665:79: note: passing argument to parameter 'tensor' here
GGML_API struct ggml_tensor * ggml_set_name ( struct ggml_tensor * tensor, const char * name);
^
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:1382:13: error: use of undeclared identifier 'ggml_set_dynamic'; did you mean 'ggml_set_name'?
ggml_set_dynamic(ctx, dynamic);
^~~~~~~~~~~~~~~~
ggml_set_name
/Users/saidm/stable-diffusion.cpp/ggml/src/../include/ggml/ggml.h:665:35: note: 'ggml_set_name' declared here
GGML_API struct ggml_tensor * ggml_set_name ( struct ggml_tensor * tensor, const char * name);
^
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:1382:30: error: cannot initialize a parameter of type 'struct ggml_tensor ' with an lvalue of type 'struct ggml_context '
ggml_set_dynamic(ctx, dynamic);
^~~
/Users/saidm/stable-diffusion.cpp/ggml/src/../include/ggml/ggml.h:273:12: note: 'ggml_context' is not defined, but forward declared here; conversion would be valid if it was derived from 'ggml_tensor'
struct ggml_context;
^
/Users/saidm/stable-diffusion.cpp/ggml/src/../include/ggml/ggml.h:665:79: note: passing argument to parameter 'tensor' here
GGML_API struct ggml_tensor * ggml_set_name ( struct ggml_tensor * tensor, const char * name);
^
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:1427:13: error: use of undeclared identifier 'ggml_upscale'
x = ggml_upscale(ctx, x); // [N, channels, h2, w2]
^
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:1801:21: error: use of undeclared identifier 'ggml_concat'; did you mean 'ggml_context'?
h = ggml_concat(ctx, h, h_skip);
^
/Users/saidm/stable-diffusion.cpp/ggml/src/../include/ggml/ggml.h:273:12: note: 'ggml_context' declared here
struct ggml_context;
^
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:1818:13: error: use of undeclared identifier 'ggml_group_norm'
h = ggml_group_norm(ctx, h);
^
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:1922:18: error: use of undeclared identifier 'ggml_group_norm'
auto h = ggml_group_norm(ctx, z);
^
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:2031:19: error: use of undeclared identifier 'ggml_group_norm'
auto h_ = ggml_group_norm(ctx, x);
^
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:2256:13: error: use of undeclared identifier 'ggml_group_norm'
h = ggml_group_norm(ctx, h);
^
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:2438:13: error: use of undeclared identifier 'ggml_group_norm'
h = ggml_group_norm(ctx, h);
^
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:2757:20: error: no member named 'dynamic' in 'ggml_init_params'
params.dynamic = false;
~~~~~~ ^
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:2776:20: error: no member named 'dynamic' in 'ggml_init_params'
params.dynamic = false;
~~~~~~ ^
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:2797:20: error: no member named 'dynamic' in 'ggml_init_params'
params.dynamic = false;
~~~~~~ ^
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:2901:49: warning: format specifies type 'size_t' (aka 'unsigned long') but the argument has type 'int64_t' (aka 'long long') [-Wformat]
name.data(), nelements, ggml_nelements(tensor));
^~~~~~~~~~~~~~~~~~~~~~
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:41:68: note: expanded from macro 'LOG_ERROR'
#define LOG_ERROR(format, ...) SD_LOG(SDLogLevel::ERROR, format, ##VA_ARGS)
~~~~~~ ^~~~~~~~~~~
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:28:80: note: expanded from macro 'SD_LOG'
printf("[DEBUG] %s:%-4d - " format "\n", FILENAME, LINE, ##VA_ARGS);
~~~~~~ ^~~~~~~~~~~
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:2901:49: warning: format specifies type 'size_t' (aka 'unsigned long') but the argument has type 'int64_t' (aka 'long long') [-Wformat]
name.data(), nelements, ggml_nelements(tensor));
^~~~~~~~~~~~~~~~~~~~~~
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:41:68: note: expanded from macro 'LOG_ERROR'
#define LOG_ERROR(format, ...) SD_LOG(SDLogLevel::ERROR, format, ##VA_ARGS)
~~~~~~ ^~~~~~~~~~~
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:30:80: note: expanded from macro 'SD_LOG'
printf("[INFO] %s:%-4d - " format "\n", FILENAME, LINE, ##VA_ARGS);
~~~~~~ ^~~~~~~~~~~
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:2901:49: warning: format specifies type 'size_t' (aka 'unsigned long') but the argument has type 'int64_t' (aka 'long long') [-Wformat]
name.data(), nelements, ggml_nelements(tensor));
^~~~~~~~~~~~~~~~~~~~~~
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:41:68: note: expanded from macro 'LOG_ERROR'
#define LOG_ERROR(format, ...) SD_LOG(SDLogLevel::ERROR, format, ##VA_ARGS)
~~~~~~ ^~~~~~~~~~~
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:32:89: note: expanded from macro 'SD_LOG'
fprintf(stderr, "[WARN] %s:%-4d - " format "\n", FILENAME, LINE, ##VA_ARGS);
~~~~~~ ^~~~~~~~~~~
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:2901:49: warning: format specifies type 'size_t' (aka 'unsigned long') but the argument has type 'int64_t' (aka 'long long') [-Wformat]
name.data(), nelements, ggml_nelements(tensor));
^~~~~~~~~~~~~~~~~~~~~~
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:41:68: note: expanded from macro 'LOG_ERROR'
#define LOG_ERROR(format, ...) SD_LOG(SDLogLevel::ERROR, format, ##VA_ARGS)
~~~~~~ ^~~~~~~~~~~
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:34:89: note: expanded from macro 'SD_LOG'
fprintf(stderr, "[ERROR] %s:%-4d - " format "\n", FILENAME, LINE, ##VA_ARGS);
~~~~~~ ^~~~~~~~~~~
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:2961:20: error: no member named 'dynamic' in 'ggml_init_params'
params.dynamic = dynamic;
~~~~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
8 warnings and 20 errors generated.
make[2]: *** [CMakeFiles/stable-diffusion.dir/stable-diffusion.cpp.o] Error 1
make[1]: *** [CMakeFiles/stable-diffusion.dir/all] Error 2
make: *** [all] Error 2
arm64 macOS ventura, cmake version 3.27.3
[ 57%] Building CXX object CMakeFiles/stable-diffusion.dir/stable-diffusion.cpp.o
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:137:43: warning: format specifies type 'size_t' (aka 'unsigned long') but the argument has type 'int64_t' (aka 'long long') [-Wformat]
printf("shape(%zu, %zu, %zu, %zu)\n", tensor->ne[0], tensor->ne[1], tensor->ne[2], tensor->ne[3]);
~~~ ^~~~~~~~~~~~~
%lld
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:137:58: warning: format specifies type 'size_t' (aka 'unsigned long') but the argument has type 'int64_t' (aka 'long long') [-Wformat]
printf("shape(%zu, %zu, %zu, %zu)\n", tensor->ne[0], tensor->ne[1], tensor->ne[2], tensor->ne[3]);
~~~ ^~~~~~~~~~~~~
%lld
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:137:73: warning: format specifies type 'size_t' (aka 'unsigned long') but the argument has type 'int64_t' (aka 'long long') [-Wformat]
printf("shape(%zu, %zu, %zu, %zu)\n", tensor->ne[0], tensor->ne[1], tensor->ne[2], tensor->ne[3]);
~~~ ^~~~~~~~~~~~~
%lld
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:137:88: warning: format specifies type 'size_t' (aka 'unsigned long') but the argument has type 'int64_t' (aka 'long long') [-Wformat]
printf("shape(%zu, %zu, %zu, %zu)\n", tensor->ne[0], tensor->ne[1], tensor->ne[2], tensor->ne[3]);
~~~ ^~~~~~~~~~~~~
%lld
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:902:18: error: use of undeclared identifier 'ggml_group_norm'
auto h = ggml_group_norm(ctx, x);
^
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:1125:13: error: use of undeclared identifier 'ggml_group_norm'
x = ggml_group_norm(ctx, x);
^
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:1379:28: error: use of undeclared identifier 'ggml_get_dynamic'; did you mean 'ggml_get_name'?
bool dynamic = ggml_get_dynamic(ctx);
^~~~~~~~~~~~~~~~
ggml_get_name
/Users/saidm/stable-diffusion.cpp/ggml/src/../include/ggml/ggml.h:664:35: note: 'ggml_get_name' declared here
GGML_API const char * ggml_get_name (const struct ggml_tensor * tensor);
^
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:1379:45: error: cannot initialize a parameter of type 'const struct ggml_tensor *' with an lvalue of type 'struct ggml_context *'
bool dynamic = ggml_get_dynamic(ctx);
^~~
/Users/saidm/stable-diffusion.cpp/ggml/src/../include/ggml/ggml.h:273:12: note: 'ggml_context' is not defined, but forward declared here; conversion would be valid if it was derived from 'ggml_tensor'
struct ggml_context;
^
/Users/saidm/stable-diffusion.cpp/ggml/src/../include/ggml/ggml.h:664:79: note: passing argument to parameter 'tensor' here
GGML_API const char * ggml_get_name (const struct ggml_tensor * tensor);
^
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:1380:13: error: use of undeclared identifier 'ggml_set_dynamic'; did you mean 'ggml_set_name'?
ggml_set_dynamic(ctx, false);
^~~~~~~~~~~~~~~~
ggml_set_name
/Users/saidm/stable-diffusion.cpp/ggml/src/../include/ggml/ggml.h:665:35: note: 'ggml_set_name' declared here
GGML_API struct ggml_tensor * ggml_set_name ( struct ggml_tensor * tensor, const char * name);
^
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:1380:30: error: cannot initialize a parameter of type 'struct ggml_tensor *' with an lvalue of type 'struct ggml_context *'
ggml_set_dynamic(ctx, false);
^~~
/Users/saidm/stable-diffusion.cpp/ggml/src/../include/ggml/ggml.h:273:12: note: 'ggml_context' is not defined, but forward declared here; conversion would be valid if it was derived from 'ggml_tensor'
struct ggml_context;
^
/Users/saidm/stable-diffusion.cpp/ggml/src/../include/ggml/ggml.h:665:79: note: passing argument to parameter 'tensor' here
GGML_API struct ggml_tensor * ggml_set_name ( struct ggml_tensor * tensor, const char * name);
^
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:1382:13: error: use of undeclared identifier 'ggml_set_dynamic'; did you mean 'ggml_set_name'?
ggml_set_dynamic(ctx, dynamic);
^~~~~~~~~~~~~~~~
ggml_set_name
/Users/saidm/stable-diffusion.cpp/ggml/src/../include/ggml/ggml.h:665:35: note: 'ggml_set_name' declared here
GGML_API struct ggml_tensor * ggml_set_name ( struct ggml_tensor * tensor, const char * name);
^
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:1382:30: error: cannot initialize a parameter of type 'struct ggml_tensor ' with an lvalue of type 'struct ggml_context '
ggml_set_dynamic(ctx, dynamic);
^~~
/Users/saidm/stable-diffusion.cpp/ggml/src/../include/ggml/ggml.h:273:12: note: 'ggml_context' is not defined, but forward declared here; conversion would be valid if it was derived from 'ggml_tensor'
struct ggml_context;
^
/Users/saidm/stable-diffusion.cpp/ggml/src/../include/ggml/ggml.h:665:79: note: passing argument to parameter 'tensor' here
GGML_API struct ggml_tensor * ggml_set_name ( struct ggml_tensor * tensor, const char * name);
^
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:1427:13: error: use of undeclared identifier 'ggml_upscale'
x = ggml_upscale(ctx, x); // [N, channels, h2, w2]
^
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:1801:21: error: use of undeclared identifier 'ggml_concat'; did you mean 'ggml_context'?
h = ggml_concat(ctx, h, h_skip);
^
/Users/saidm/stable-diffusion.cpp/ggml/src/../include/ggml/ggml.h:273:12: note: 'ggml_context' declared here
struct ggml_context;
^
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:1818:13: error: use of undeclared identifier 'ggml_group_norm'
h = ggml_group_norm(ctx, h);
^
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:1922:18: error: use of undeclared identifier 'ggml_group_norm'
auto h = ggml_group_norm(ctx, z);
^
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:2031:19: error: use of undeclared identifier 'ggml_group_norm'
auto h_ = ggml_group_norm(ctx, x);
^
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:2256:13: error: use of undeclared identifier 'ggml_group_norm'
h = ggml_group_norm(ctx, h);
^
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:2438:13: error: use of undeclared identifier 'ggml_group_norm'
h = ggml_group_norm(ctx, h);
^
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:2757:20: error: no member named 'dynamic' in 'ggml_init_params'
params.dynamic = false;
~~~~~~ ^
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:2776:20: error: no member named 'dynamic' in 'ggml_init_params'
params.dynamic = false;
~~~~~~ ^
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:2797:20: error: no member named 'dynamic' in 'ggml_init_params'
params.dynamic = false;
~~~~~~ ^
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:2901:49: warning: format specifies type 'size_t' (aka 'unsigned long') but the argument has type 'int64_t' (aka 'long long') [-Wformat]
name.data(), nelements, ggml_nelements(tensor));
^~~~~~~~~~~~~~~~~~~~~~
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:41:68: note: expanded from macro 'LOG_ERROR'
#define LOG_ERROR(format, ...) SD_LOG(SDLogLevel::ERROR, format, ##VA_ARGS)
~~~~~~ ^~~~~~~~~~~
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:28:80: note: expanded from macro 'SD_LOG'
printf("[DEBUG] %s:%-4d - " format "\n", FILENAME, LINE, ##VA_ARGS);
~~~~~~ ^~~~~~~~~~~
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:2901:49: warning: format specifies type 'size_t' (aka 'unsigned long') but the argument has type 'int64_t' (aka 'long long') [-Wformat]
name.data(), nelements, ggml_nelements(tensor));
^~~~~~~~~~~~~~~~~~~~~~
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:41:68: note: expanded from macro 'LOG_ERROR'
#define LOG_ERROR(format, ...) SD_LOG(SDLogLevel::ERROR, format, ##VA_ARGS)
~~~~~~ ^~~~~~~~~~~
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:30:80: note: expanded from macro 'SD_LOG'
printf("[INFO] %s:%-4d - " format "\n", FILENAME, LINE, ##VA_ARGS);
~~~~~~ ^~~~~~~~~~~
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:2901:49: warning: format specifies type 'size_t' (aka 'unsigned long') but the argument has type 'int64_t' (aka 'long long') [-Wformat]
name.data(), nelements, ggml_nelements(tensor));
^~~~~~~~~~~~~~~~~~~~~~
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:41:68: note: expanded from macro 'LOG_ERROR'
#define LOG_ERROR(format, ...) SD_LOG(SDLogLevel::ERROR, format, ##VA_ARGS)
~~~~~~ ^~~~~~~~~~~
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:32:89: note: expanded from macro 'SD_LOG'
fprintf(stderr, "[WARN] %s:%-4d - " format "\n", FILENAME, LINE, ##VA_ARGS);
~~~~~~ ^~~~~~~~~~~
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:2901:49: warning: format specifies type 'size_t' (aka 'unsigned long') but the argument has type 'int64_t' (aka 'long long') [-Wformat]
name.data(), nelements, ggml_nelements(tensor));
^~~~~~~~~~~~~~~~~~~~~~
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:41:68: note: expanded from macro 'LOG_ERROR'
#define LOG_ERROR(format, ...) SD_LOG(SDLogLevel::ERROR, format, ##VA_ARGS)
~~~~~~ ^~~~~~~~~~~
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:34:89: note: expanded from macro 'SD_LOG'
fprintf(stderr, "[ERROR] %s:%-4d - " format "\n", FILENAME, LINE, ##VA_ARGS);
~~~~~~ ^~~~~~~~~~~
/Users/saidm/stable-diffusion.cpp/stable-diffusion.cpp:2961:20: error: no member named 'dynamic' in 'ggml_init_params'
params.dynamic = dynamic;
~~~~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
8 warnings and 20 errors generated.
make[2]: *** [CMakeFiles/stable-diffusion.dir/stable-diffusion.cpp.o] Error 1
make[1]: *** [CMakeFiles/stable-diffusion.dir/all] Error 2
make: *** [all] Error 2