Captain4LK / SoftLK-tools

A collection of programs
Creative Commons Zero v1.0 Universal
153 stars 11 forks source link

I can't compile #3

Open x-channel opened 2 years ago

x-channel commented 2 years ago

I can't compile: Ubuntu 20.04 ryzen 5 1600 nvidia gt 1030 ram 16 gb

caire@caire-A320MH:~/Downloads/SoftLK/SoftLK-tools-master/SLK_img2pixel$ sh linux.sh unspecified target, need either gui,cmd or video caire@caire-A320MH:~/Downloads/SoftLK/SoftLK-tools-master/SLK_img2pixel$ sh linux.sh video utility.c assets.c gui.c image2pixel.c ../external/tinyfiledialogs.c main_video.c gcc: error: main_video.c: Arquivo ou diretório inexistente caire@caire-A320MH:~/Downloads/SoftLK/SoftLK-tools-master/SLK_img2pixel$ sh linux.sh cmd utility.c assets.c gui.c image2pixel.c ../external/tinyfiledialogs.c main_cmd.c In file included from utility.c:17: ../external/stb_image.h: In function ‘stbi__zhuffman_decode_slowpath’: ../external/stb_image.h:4123:10: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 4123 if (b >= sizeof (z->size)) return -1; // some data was corrupt somewhere! ^~ utility.c: In function ‘dir_output_select’: utility.c:294:28: warning: unused parameter ‘dither_mode’ [-Wunused-parameter] 294 void dir_output_select(int dither_mode, int sample_mode, int distance_mode, int scale_mode, int width, int height, SLK_Palette *pal) ~~^~~~~ utility.c:294:45: warning: unused parameter ‘sample_mode’ [-Wunused-parameter] 294 void dir_output_select(int dither_mode, int sample_mode, int distance_mode, int scale_mode, int width, int height, SLK_Palette *pal) ~~^~~~~ utility.c:294:62: warning: unused parameter ‘distance_mode’ [-Wunused-parameter] 294 void dir_output_select(int dither_mode, int sample_mode, int distance_mode, int scale_mode, int width, int height, SLK_Palette *pal) ~~^~~ In file included from image2pixel.c:18: ../external/HLH_json.h: In function ‘json5__parse_string’: ../external/HLH_json.h:634:66: warning: unused parameter ‘err_code’ [-Wunused-parameter] 634 static char json5__parse_string(HLH_json5 obj, char *p, char **err_code) ~^~ In file included from image2pixel.c:18: ../external/HLH_json.h: In function ‘json5_parse’: ../external/HLH_json.h:894:56: warning: unused parameter ‘flags’ [-Wunused-parameter] 894 static char json5_parse(HLH_json5 root, char *p, int flags) ~~^~~ In file included from image2pixel.c:18: ../external/HLH_json.h: In function ‘HLH_json_parse_file’: ../external/HLH_json.h:156:4: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 156 fread(r->data,r->data_size,1,f); ^~~~~~~ ../external/HLH_json.h: In function ‘HLH_json_parse_file_stream’: ../external/HLH_json.h:175:4: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 175 fread(r->data,r->data_size,1,f); ^~~~~~~ In file included from main_cmd.c:16: ../headers/libSLK.h: In function ‘SLK_mouse_get_layer_pos’: ../headers/libSLK.h:1807:12: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 1807 if(index<layer_count) ^ In file included from main_cmd.c:16: ../headers/libSLK.h: In function ‘SLK_layer_create’: ../headers/libSLK.h:1881:12: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 1881 if(index>=layer_count) ^~ ../headers/libSLK.h: In function ‘SLK_layer_activate’: ../headers/libSLK.h:1917:12: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 1917 if(index>=layer_count) ^~ ../headers/libSLK.h: In function ‘SLK_layer_set_palette’: ../headers/libSLK.h:1927:12: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 1927 if(index>=layer_count layers[index].type!=SLK_LAYER_PAL) ^~ ../headers/libSLK.h: In function ‘SLK_layer_set_tint’: ../headers/libSLK.h:1939:12: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 1939 if(index<layer_count) ^ ../headers/libSLK.h: In function ‘SLK_layer_set_dynamic’: ../headers/libSLK.h:1947:12: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 1947 if(index<layer_count) ^ ../headers/libSLK.h: In function ‘SLK_layer_set_pos’: ../headers/libSLK.h:1955:12: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 1955 if(index<layer_count) ^ ../headers/libSLK.h: In function ‘SLK_layer_set_scale’: ../headers/libSLK.h:1966:12: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 1966 if(index<layer_count) ^ ../headers/libSLK.h: In function ‘SLK_layer_set_size’: ../headers/libSLK.h:1974:12: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 1974 if(index<layer_count) ^ ../headers/libSLK.h: In function ‘SLK_layer_get_size’: ../headers/libSLK.h:2018:12: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 2018 if(index>=layer_count) ^~ ../headers/libSLK.h: In function ‘SLK_layer_set_current’: ../headers/libSLK.h:2041:12: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 2041 if(index>=layer_count) ^~ ../headers/libSLK.h: In function ‘SLK_layer_get_resized’: ../headers/libSLK.h:2062:12: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 2062 if(index>=layer_count) ^~ ../headers/libSLK.h: In function ‘SLK_layer_get’: ../headers/libSLK.h:2072:12: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 2072 if(index>=layer_count) ^~ In file included from ../headers/libSLK.h:2378, from main_cmd.c:16: ../headers/../external/cute_png.h: In function ‘cp_stored’: ../headers/../external/cute_png.h:433:21: warning: comparison of promoted ~unsigned with unsigned [-Wsign-compare] 433 CUTE_PNG_CHECK(LEN == (uint16_t)(~NLEN), "Failed to find LEN and NLEN as complements within stored (uncompressed) stream."); ^~ ../headers/../external/cute_png.h:244:41: note: in definition of macro ‘CUTE_PNG_CHECK’ 244 #define CUTE_PNG_CHECK(X, Y) do { if (!(X)) { cp_error_reason = Y; CUTE_PNG_FAIL(); } } while (0) ^ In file included from ../headers/libSLK.h:2378, from main_cmd.c:16: ../headers/../external/cute_png.h: In function ‘cp_save_png’: ../headers/../external/cute_png.h:785:7: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 785 s.fp = fp; ^ ../headers/../external/cute_png.h:800:17: warning: passing argument 1 of ‘fseek’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 800 CUTE_PNG_FSEEK(fp, dataPos, CUTE_PNG_SEEK_SET); ^~ In file included from main_cmd.c:12: /usr/include/stdio.h:684:25: note: expected ‘FILE ’ {aka ‘struct _IO_FILE ’} but argument is of type ‘const FILE ’ {aka ‘const struct _IO_FILE ’} 684 extern int fseek (FILE *stream, long int off, int __whence); ~~^~~~ In file included from ../headers/libSLK.h:2378, from main_cmd.c:16: ../headers/../external/cute_png.h:803:24: warning: passing argument 1 of ‘ferror’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 803 err = CUTE_PNG_FERROR(fp); ^~ In file included from main_cmd.c:12: /usr/include/stdio.h:761:26: note: expected ‘FILE ’ {aka ‘struct _IO_FILE ’} but argument is of type ‘const FILE ’ {aka ‘const struct _IO_FILE ’} 761 extern int ferror (FILE *stream) THROW __wur; ~~^~~~ In file included from ../headers/libSLK.h:2378, from main_cmd.c:16: ../headers/../external/cute_png.h: In function ‘cp_default_save_atlas’: ../headers/../external/cute_png.h:1667:29: warning: passing argument 1 of ‘cp_save_png’ from incompatible pointer type [-Wincompatible-pointer-types] 1667 CUTE_PNG_CHECK(cp_save_png(out_path_image, atlas), "failed to save atlas image to disk"); ^~~~~~
const char *

../headers/../external/cute_png.h:244:41: note: in definition of macro ‘CUTE_PNG_CHECK’ 244 | #define CUTE_PNG_CHECK(X, Y) do { if (!(X)) { cp_error_reason = Y; CUTE_PNG_FAIL(); } } while (0) | ^ In file included from ../headers/libSLK.h:2378, from main_cmd.c:16: ../headers/../external/cute_png.h:780:29: note: expected ‘const FILE ’ {aka ‘const struct _IO_FILE ’} but argument is of type ‘const char ’ 780 | int cp_save_png(const FILE fp, const cp_image_t* img) | ~~~~^~ In file included from main_cmd.c:16: ../headers/libSLK.h: In function ‘backend_handle_events’: ../headers/libSLK.h:2505:74: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 2505 | f(text_input_active&&strlen(text_input)+strlen(event.text.text)<text_input_max) | ^

../headers/libSLK.h: In function ‘backend_setup’: ../headers/libSLK.h:2594:81: warning: unused parameter ‘fullscreen’ [-Wunused-parameter] 2594 | int width, int height, int layer_num, const char *title, int fullscreen, int scale, int resizable) | ~~^~~~

In file included from main_cmd.c:16: ../headers/libSLK.h: In function ‘backend_create_layer’: ../headers/libSLK.h:2762:12: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 2762 if(index>=layer_count) ^~ main_cmd.c: In function ‘print_help’: main_cmd.c:132:28: warning: unused parameter ‘argc’ [-Wunused-parameter] 132 static void print_help(int argc, char **argv) ~~^~ In file included from ../headers/libSLK.h:2378, from main_cmd.c:16: ../headers/../external/cute_png.h: In function ‘cp_read_file_to_memory’: ../headers/../external/cute_png.h:222:25: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 222 #define CUTE_PNG_FREAD fread ^ ../headers/../external/cute_png.h:359:3: note: in expansion of macro ‘CUTE_PNG_FREAD’ 359 CUTE_PNG_FREAD(data, sizeNum, 1, fp); ^~~~~~ In file included from ../headers/libSLK.h:2384, from main_cmd.c:16: ../headers/../external/HLH_slk.h: In function ‘HLH_slk_image_load_file’: ../headers/../external/HLH_slk.h:86:4: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 86 fread(buffer,size,1,f); ^~~~~~ In file included from main_cmd.c:16: ../headers/libSLK.h: In function ‘backend_load_rgb_file’: ../headers/libSLK.h:3214:4: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 3214 fread(data,size,1,f); ^~~~~~~~ ../headers/libSLK.h: In function ‘backend_load_pal_file’: ../headers/libSLK.h:3296:4: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 3296 fread(data,size,1,f); ^~~~~~~~ caire@caire-A320MH:~/Downloads/SoftLK/SoftLK-tools-master/SLK_img2pixel$ sh linux.sh gui In file included from utility.c:17: ../external/stb_image.h: In function ‘stbi__zhuffman_decode_slowpath’: ../external/stb_image.h:4123:10: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 4123 if (b >= sizeof (z->size)) return -1; // some data was corrupt somewhere! ^~ utility.c: In function ‘dir_output_select’: utility.c:294:28: warning: unused parameter ‘dither_mode’ [-Wunused-parameter] 294 void dir_output_select(int dither_mode, int sample_mode, int distance_mode, int scale_mode, int width, int height, SLK_Palette *pal) ~~^~~~~ utility.c:294:45: warning: unused parameter ‘sample_mode’ [-Wunused-parameter] 294 void dir_output_select(int dither_mode, int sample_mode, int distance_mode, int scale_mode, int width, int height, SLK_Palette *pal) ~~^~~~~ utility.c:294:62: warning: unused parameter ‘distance_mode’ [-Wunused-parameter] 294 void dir_output_select(int dither_mode, int sample_mode, int distance_mode, int scale_mode, int width, int height, SLK_Palette *pal) ~~^~~ In file included from image2pixel.c:18: ../external/HLH_json.h: In function ‘json5__parse_string’: ../external/HLH_json.h:634:66: warning: unused parameter ‘err_code’ [-Wunused-parameter] 634 static char json5__parse_string(HLH_json5 obj, char *p, char **err_code) ~^~ In file included from image2pixel.c:18: ../external/HLH_json.h: In function ‘json5_parse’: ../external/HLH_json.h:894:56: warning: unused parameter ‘flags’ [-Wunused-parameter] 894 static char json5_parse(HLH_json5 root, char *p, int flags) ~~^~~ In file included from image2pixel.c:18: ../external/HLH_json.h: In function ‘HLH_json_parse_file’: ../external/HLH_json.h:156:4: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 156 fread(r->data,r->data_size,1,f); ^~~~~~~ ../external/HLH_json.h: In function ‘HLH_json_parse_file_stream’: ../external/HLH_json.h:175:4: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 175 fread(r->data,r->data_size,1,f); ^~~~~~~ In file included from main.c:14: ../headers/libSLK.h: In function ‘SLK_mouse_get_layer_pos’: ../headers/libSLK.h:1807:12: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 1807 if(index<layer_count) ^ In file included from main.c:14: ../headers/libSLK.h: In function ‘SLK_layer_create’: ../headers/libSLK.h:1881:12: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 1881 if(index>=layer_count) ^~ ../headers/libSLK.h: In function ‘SLK_layer_activate’: ../headers/libSLK.h:1917:12: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 1917 if(index>=layer_count) ^~ ../headers/libSLK.h: In function ‘SLK_layer_set_palette’: ../headers/libSLK.h:1927:12: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 1927 if(index>=layer_count layers[index].type!=SLK_LAYER_PAL) ^~ ../headers/libSLK.h: In function ‘SLK_layer_set_tint’: ../headers/libSLK.h:1939:12: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 1939 if(index<layer_count) ^ ../headers/libSLK.h: In function ‘SLK_layer_set_dynamic’: ../headers/libSLK.h:1947:12: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 1947 if(index<layer_count) ^ ../headers/libSLK.h: In function ‘SLK_layer_set_pos’: ../headers/libSLK.h:1955:12: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 1955 if(index<layer_count) ^ ../headers/libSLK.h: In function ‘SLK_layer_set_scale’: ../headers/libSLK.h:1966:12: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 1966 if(index<layer_count) ^ ../headers/libSLK.h: In function ‘SLK_layer_set_size’: ../headers/libSLK.h:1974:12: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 1974 if(index<layer_count) ^ ../headers/libSLK.h: In function ‘SLK_layer_get_size’: ../headers/libSLK.h:2018:12: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 2018 if(index>=layer_count) ^~ ../headers/libSLK.h: In function ‘SLK_layer_set_current’: ../headers/libSLK.h:2041:12: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 2041 if(index>=layer_count) ^~ ../headers/libSLK.h: In function ‘SLK_layer_get_resized’: ../headers/libSLK.h:2062:12: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 2062 if(index>=layer_count) ^~ ../headers/libSLK.h: In function ‘SLK_layer_get’: ../headers/libSLK.h:2072:12: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 2072 if(index>=layer_count) ^~ In file included from ../headers/libSLK.h:2378, from main.c:14: ../headers/../external/cute_png.h: In function ‘cp_stored’: ../headers/../external/cute_png.h:433:21: warning: comparison of promoted ~unsigned with unsigned [-Wsign-compare] 433 CUTE_PNG_CHECK(LEN == (uint16_t)(~NLEN), "Failed to find LEN and NLEN as complements within stored (uncompressed) stream."); ^~ ../headers/../external/cute_png.h:244:41: note: in definition of macro ‘CUTE_PNG_CHECK’ 244 #define CUTE_PNG_CHECK(X, Y) do { if (!(X)) { cp_error_reason = Y; CUTE_PNG_FAIL(); } } while (0) ^ In file included from ../headers/libSLK.h:2378, from main.c:14: ../headers/../external/cute_png.h: In function ‘cp_save_png’: ../headers/../external/cute_png.h:785:7: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 785 s.fp = fp; ^ ../headers/../external/cute_png.h:800:17: warning: passing argument 1 of ‘fseek’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 800 CUTE_PNG_FSEEK(fp, dataPos, CUTE_PNG_SEEK_SET); ^~ In file included from ../headers/libSLK.h:13, from main.c:14: /usr/include/stdio.h:684:25: note: expected ‘FILE ’ {aka ‘struct _IO_FILE ’} but argument is of type ‘const FILE ’ {aka ‘const struct _IO_FILE ’} 684 extern int fseek (FILE *stream, long int off, int __whence); ~~^~~~ In file included from ../headers/libSLK.h:2378, from main.c:14: ../headers/../external/cute_png.h:803:24: warning: passing argument 1 of ‘ferror’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 803 err = CUTE_PNG_FERROR(fp); ^~ In file included from ../headers/libSLK.h:13, from main.c:14: /usr/include/stdio.h:761:26: note: expected ‘FILE ’ {aka ‘struct _IO_FILE ’} but argument is of type ‘const FILE ’ {aka ‘const struct _IO_FILE ’} 761 extern int ferror (FILE *stream) THROW __wur; ~~^~~~ In file included from ../headers/libSLK.h:2378, from main.c:14: ../headers/../external/cute_png.h: In function ‘cp_default_save_atlas’: ../headers/../external/cute_png.h:1667:29: warning: passing argument 1 of ‘cp_save_png’ from incompatible pointer type [-Wincompatible-pointer-types] 1667 CUTE_PNG_CHECK(cp_save_png(out_path_image, atlas), "failed to save atlas image to disk"); ^~~~~~
const char *

../headers/../external/cute_png.h:244:41: note: in definition of macro ‘CUTE_PNG_CHECK’ 244 | #define CUTE_PNG_CHECK(X, Y) do { if (!(X)) { cp_error_reason = Y; CUTE_PNG_FAIL(); } } while (0) | ^ In file included from ../headers/libSLK.h:2378, from main.c:14: ../headers/../external/cute_png.h:780:29: note: expected ‘const FILE ’ {aka ‘const struct _IO_FILE ’} but argument is of type ‘const char ’ 780 | int cp_save_png(const FILE fp, const cp_image_t img) | ~~~~^~ In file included from main.c:14: ../headers/libSLK.h: In function ‘backend_handle_events’: ../headers/libSLK.h:2505:74: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 2505 | if(text_input_active&&strlen(text_input)+strlen(event.text.text)<text_input_max) | ^ ../headers/libSLK.h: In function ‘backend_setup’: ../headers/libSLK.h:2594:81: warning: unused parameter ‘fullscreen’ [-Wunused-parameter] 2594 | void backend_setup(int width, int height, int layer_num, const char title, int fullscreen, int scale, int resizable) | ~~^~~~ In file included from main.c:14: ../headers/libSLK.h: In function ‘backend_create_layer’: ../headers/libSLK.h:2762:12: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 2762 | if(index>=layer_count) | ^~ In file included from main.c:17: ../headers/libSLK_gui.h: In function ‘slk_gui_clip_text’: ../headers/libSLK_gui.h:209:62: warning: unused parameter ‘dst_size’ [-Wunused-parameter] 209 | static int slk_gui_clip_text(char dst, const char src, int dst_size, SLK_gui_rectangle area) | ~~^~ main.c: In function ‘main’: main.c:39:14: warning: unused parameter ‘argc’ [-Wunused-parameter] 39 | int main(int argc, char argv) | ~~^~ main.c:39:27: warning: unused parameter ‘argv’ [-Wunused-parameter] 39 | int main(int argc, char argv) | ~^~ In file included from ../headers/libSLK.h:2378, from main.c:14: ../headers/../external/cute_png.h: In function ‘cp_read_file_to_memory’: ../headers/../external/cute_png.h:222:25: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 222 | #define CUTE_PNG_FREAD fread | ^ ../headers/../external/cute_png.h:359:3: note: in expansion of macro ‘CUTE_PNG_FREAD’ 359 | CUTE_PNG_FREAD(data, sizeNum, 1, fp); | ^~~~~~ In file included from ../headers/libSLK.h:2384, from main.c:14: ../headers/../external/HLH_slk.h: In function ‘HLH_slk_image_load_file’: ../headers/../external/HLH_slk.h:86:4: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 86 | fread(buffer,size,1,f); | ^~~~~~ In file included from main.c:14: ../headers/libSLK.h: In function ‘backend_load_rgb_file’: ../headers/libSLK.h:3214:4: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 3214 | fread(data,size,1,f); | ^~~~~~~~ ../headers/libSLK.h: In function ‘backend_load_pal_file’: ../headers/libSLK.h:3296:4: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 3296 | fread(data,size,1,f); | ^~~~~~~~ caire@caire-A320MH:~/Downloads/SoftLK/SoftLK-tools-master/SLK_img2pixel$

Captain4LK commented 2 years ago

Your first command (sh linux.sh video) fails building because I've not pushed it's source file, since it's not finished yet (the video options shouldn't be available yet in the build script, that's my mistake)

The cmd and gui versions seem to build fine, though. Check the bin/ directory, the binaries should be there

eGax commented 1 week ago

@x-channel does this still not build for you?