Skip to content

libjpeg.lib was created with an older compiler than other objects in project ARWrapper #166

@snowymo

Description

@snowymo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions