1
Quake / Re: r1q2 how to compile - linux? R1CH 'ard?
« on: August 02, 2019, 04:41:02 AM »
full paste:
https://pastebin.com/mgqmiKhG
libjpeg-dev/disco,now 8c-2ubuntu8 amd64 [installed]
libjpeg-turbo8-dev/disco,now 2.0.1-0ubuntu2 amd64 [installed,automatic]
libjpeg-turbo8/disco,now 2.0.1-0ubuntu2 amd64 [installed,automatic]
libjpeg8-dev/disco,now 8c-2ubuntu8 amd64 [installed,automatic]
libjpeg8/disco,now 8c-2ubuntu8 amd64 [installed,automatic]
libpng-dev/disco,now 1.6.36-6 amd64 [installed]
libpng-tools/disco,now 1.6.36-6 amd64 [installed,automatic]
libpng16-16/disco,now 1.6.36-6 amd64 [installed,automatic]
https://pastebin.com/mgqmiKhG
Code: [Select]
../../ref_gl/gl_image.c:724:14: error: dereferencing pointer to incomplete type 'png_info' {aka 'struct png_info_def'}
line 724 from gl_image.c:Code: [Select]
if (info_ptr->height > MAX_TEXTURE_DIMENSIONS)
{
png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp)NULL);
ri.FS_FreeFile (PngFileBuffer.Buffer);
ri.Con_Printf (PRINT_ALL, "Oversized PNG file: %s\n", name);
return;
}
second error Code: [Select]
../../ref_gl/gl_image.c:1523:6: error: conflicting types for 'jpeg_mem_src'
lines from gl_image.cCode: [Select]
void jpeg_mem_src (j_decompress_ptr cinfo, byte *mem, int len)
{
cinfo->src = (struct jpeg_source_mgr *)(*cinfo->mem->alloc_small)((j_common_ptr) cinfo, JPOOL_PERMANENT, sizeof(struct jpeg_source_mgr));
cinfo->src->init_source = jpg_null;
cinfo->src->fill_input_buffer = jpg_fill_input_buffer;
cinfo->src->skip_input_data = jpg_skip_input_data;
cinfo->src->resync_to_restart = jpeg_resync_to_restart;
cinfo->src->term_source = jpg_null;
cinfo->src->bytes_in_buffer = len;
cinfo->src->next_input_byte = mem;
}
errors are related to jpg and png , propably because of new versions of itlibjpeg-dev/disco,now 8c-2ubuntu8 amd64 [installed]
libjpeg-turbo8-dev/disco,now 2.0.1-0ubuntu2 amd64 [installed,automatic]
libjpeg-turbo8/disco,now 2.0.1-0ubuntu2 amd64 [installed,automatic]
libjpeg8-dev/disco,now 8c-2ubuntu8 amd64 [installed,automatic]
libjpeg8/disco,now 8c-2ubuntu8 amd64 [installed,automatic]
libpng-dev/disco,now 1.6.36-6 amd64 [installed]
libpng-tools/disco,now 1.6.36-6 amd64 [installed,automatic]
libpng16-16/disco,now 1.6.36-6 amd64 [installed,automatic]