Project ARvideo is a dependent project to project ARWrapper. There are two libjpeg.lib in win64-x64 and win32-i386 folder. Also I made one by my own through source jpeg-6b.
First I build ARvideo
1) I used the libjpeg.lib in lib/win64-x64. It successfully built.
2) I used the libjpeg.lib in lib/win32-i386. So many unresolved external errors.
3) I used the one made by my own. Also unresolved external symbols showed up.
Then I build ARWrapper
1) It said the libjpeg.lib is built by an old compiler
2) and 3) ended up as the same unresolved external symbols.
One thing I changed is, use extern "C" {#include <jpeglib.h>} instead of #include <jpeglib.h> for *.cpp file which include the header because libjpeg is a c library.
LINK : fatal error C1047: The object or library file 'C:\Users\zhenyihe\Dropbox (Facebook)\intern\artoolkitx\artoolkit5\VisualStudio\vs2017\..\..\lib\libjpeg.lib' was created with an older compiler than other objects; rebuild old objects and libraries
Project ARvideo is a dependent project to project ARWrapper. There are two libjpeg.lib in win64-x64 and win32-i386 folder. Also I made one by my own through source jpeg-6b.
First I build ARvideo 1) I used the libjpeg.lib in lib/win64-x64. It successfully built. 2) I used the libjpeg.lib in lib/win32-i386. So many unresolved external errors. 3) I used the one made by my own. Also unresolved external symbols showed up.
Then I build ARWrapper 1) It said the libjpeg.lib is built by an old compiler 2) and 3) ended up as the same unresolved external symbols.
One thing I changed is, use
extern "C" {#include <jpeglib.h>}
instead of#include <jpeglib.h>
for *.cpp file which include the header because libjpeg is a c library.LINK : fatal error C1047: The object or library file 'C:\Users\zhenyihe\Dropbox (Facebook)\intern\artoolkitx\artoolkit5\VisualStudio\vs2017\..\..\lib\libjpeg.lib' was created with an older compiler than other objects; rebuild old objects and libraries