JPEG Library shows weired error message

Hi experts,
I got a problem when worked from the pre-compiled binaries kept on the website but I received this weird error message when I try to work on my own compiled versions. I can’t understand the cause of this error. I extremely need your assistance to fix this issue. Any help would be greatly appreciated. Thanks in advance.

JPEG parameter struct mismatch; library thinks size is 360, caller expects 376.
