You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file included from C:/Users/kreij/scoop/apps/msys2/2022-01-28/home/kreij/stable-diffusion.cpp/util.cpp:1:
C:/Users/kreij/scoop/apps/msys2/2022-01-28/home/kreij/stable-diffusion.cpp/util.h:20:1: error: 'int32_t' does not name a type
20 | int32_t get_num_physical_cores();
| ^~~~~~~
C:/Users/kreij/scoop/apps/msys2/2022-01-28/home/kreij/stable-diffusion.cpp/util.h:5:1: note: 'int32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
4 | #include <string>
+++ |+#include <cstdint>
5 |
make[2]: *** [CMakeFiles/stable-diffusion.dir/build.make:104: CMakeFiles/stable-diffusion.dir/util.cpp.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:167: CMakeFiles/stable-diffusion.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
It gets fixed if you import before using int32_t
The text was updated successfully, but these errors were encountered:
It gets fixed if you import before using int32_t
The text was updated successfully, but these errors were encountered: