Your tutorial runs perfectly !!
Yeah, good catch. Would be great if spidey57 could edit his instructions above to include this package!
Inspecting /usr/include/jpeglib.h, it seems earlier versions of gcc were more lenient while gcc 6 on Stretch requires the const-ness to match. You can fix like so:
Code: Select all
--- a/src/refresh/files/jpeg.c
+++ b/src/refresh/files/jpeg.c
@@ -52,7 +52,7 @@ jpg_skip_input_data(j_decompress_ptr cinfo, long num_bytes)
}
void
-jpeg_mem_src(j_decompress_ptr cinfo, unsigned char *mem, unsigned long len)
+jpeg_mem_src(j_decompress_ptr cinfo, const unsigned char *mem, unsigned long len)
{
Code: Select all
git clone https://github.com/yquake2/yquake2.git
Users browsing this forum: No registered users and 8 guests