Giter Site home page Giter Site logo

make error about convnet HOT 4 CLOSED

sunbaigui avatar sunbaigui commented on September 21, 2024
make error

from convnet.

Comments (4)

sunbaigui avatar sunbaigui commented on September 21, 2024

@nitishsrivastava
I've resolved jpeglib.h error by compile www.ijg.org.
But there's another problem:

In file included from src/datahandler.cc:1:
src/datahandler.h:37: error: â€کdefault_random_engine’ does not name a type
src/datahandler.h:38: error: ISO C++ forbids declaration of â€کuniform_int_distribution’ with no type
src/datahandler.h:38: error: expected â€ک;’ before â€ک<’ token
src/datahandler.cc: In constructor â€کDataHandler::DataHandler(const config::DatasetConfig&)’:
src/datahandler.cc:25: error: expected initializer before â€ک:’ token
src/datahandler.cc:704: error: expected primary-expression at end of input
src/datahandler.cc:704: error: expected â€ک;’ at end of input
src/datahandler.cc:704: error: expected primary-expression at end of input
src/datahandler.cc:704: error: expected â€ک)’ at end of input
src/datahandler.cc:704: error: expected statement at end of input
src/datahandler.cc:704: error: expected â€ک}’ at end of input
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-unused-result"
make: *** [obj/datahandler.o] Error 1

gcc -v
Using built-in specs.
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.6 20110731 (GCC)

from convnet.

nitishsrivastava avatar nitishsrivastava commented on September 21, 2024

The INSTALL file has been updated to include the dependency on libjpeg. Thank you for pointing that out. Please try compiling with a gcc version >= 4.6.

from convnet.

sunbaigui avatar sunbaigui commented on September 21, 2024

@nitishsrivastava I've successfully compiled it through by using gcc 4.8

from convnet.

sunbaigui avatar sunbaigui commented on September 21, 2024

you can close this issue now.

from convnet.

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.