I am getting the errors below.
classifier.c:190: error: ‘my_source_mgr’ has no member named ‘buffer’
classifier.c:192: error: ‘jpg_memInitSource’ undeclared (first use in this function)
classifier.c:192: error: (Each undeclared identifier is reported only once
classifier.c:192: error: for each function it appears in.)
classifier.c:193: error: ‘jpg_memFillInputBuffer’ undeclared (first use in this function)
classifier.c:194: error: ‘jpg_memSkipInputData’ undeclared (first use in this function)
classifier.c:196: error: ‘jpg_memTermSource’ undeclared (first use in this function)
classifier.c:228: error: ‘row_pointer’ undeclared (first use in this function)
classifier.c:234: error: ‘location’ undeclared (first use in this function)
Do I have to include some other library to fix this issue other than jpeglib.h?