Giter Site home page Giter Site logo

An error about image_io.cc about mve HOT 4 CLOSED

simonfuhrmann avatar simonfuhrmann commented on July 22, 2024
An error about image_io.cc

from mve.

Comments (4)

flanggut avatar flanggut commented on July 22, 2024

Which compiler are you using? And what system are you compiling for?

from mve.

wjz2047 avatar wjz2047 commented on July 22, 2024

g++4.6.3, system is ubuntu12.04, 64bit, my PC is win7 64bit, using ubuntu through vmware.
BTW,when compiling mve on windows with vs2010,it works well.

from mve.

flanggut avatar flanggut commented on July 22, 2024

Hmm I have the same setup on a machine here, and I cannot reproduce the error, so I guess it's a problem with libjpeg. libjpeg is in plain C and therefore defines it's own bool type "boolean". We might have different versions because mine defines "boolean" as a simple int, which doesn't cause any problems when the argument has to be converted. But I've read that there are other versions that define the "boolean" as an enumeration or what not, and in this case it's a problem for the compiler. Either way - replacing the "false" in line 372 of image_io.cc with "FALSE", which is defined by libjpeg, should work on any system.

from mve.

wjz2047 avatar wjz2047 commented on July 22, 2024

Thanks a lot

from mve.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.