Posting the solution here if ever someone encounters the same issue,
apparently, in the VS project of LibRaw, you need to make the 'Struct Member Alignment' in the project properties the same with the generated library of libjpeg
having different settings results to unequal struct size between libjpeg and libraw (JERR_BAD_STRUCT_SIZE)
Posting the solution here if ever someone encounters the same issue,
apparently, in the VS project of LibRaw, you need to make the 'Struct Member Alignment' in the project properties the same with the generated library of libjpeg
having different settings results to unequal struct size between libjpeg and libraw (JERR_BAD_STRUCT_SIZE)