Giter Site home page Giter Site logo

sdrs_cimg's People

Contributors

assamite avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

micklexqg jodyngo

sdrs_cimg's Issues

Wrong filename in makefile

I've detected that you forgot to capitalize CImgHandler.cpp in your makefile, which gives an error
g++: error: CimgHandler.cpp: No such file or directory

To fix this edit line 15 to:
g++ -c CImgHandler.cpp -O2 -I/usr/X11R6/include -I/opt/local/include

strncmp invoked without cstring

Another error when compiling:

"SalientRegionDetector.cpp:362:31: error: ‘strncmp’ was not declared in this scope"

My solution was "#include " to the file

uint32_t invoked without stdint.h

After going through the previous two issues, another one came up:

Saliency.h:12:14: error: ‘uint32_t’ was not declared in this scope

My solution was "#include <stdint.h>" in Saliency.h

Can't build with python

After installing all the necessary dependencies and fixing the makefile in issue #1
I get following error after using make shared_linux
I'm using;
Ubuntu 14.04
Python 2.7.11
Anaconda 4.0.0

In file included from CImgHandler.cpp:8:0:
CImgHandler.h:26:11: error: ‘string’ has not been declared
           string&    filename,
           ^
CImgHandler.h:11:14: error: ‘uint32_t’ was not declared in this scope
 #define UINT uint32_t
              ^
CImgHandler.h:27:18: note: in expansion of macro ‘UINT’
           vector<UINT>&  outBuff,
                  ^
CImgHandler.h:27:22: error: template argument 1 is invalid
           vector<UINT>&  outBuff,
                      ^
CImgHandler.h:27:22: error: template argument 2 is invalid
CImgHandler.h:11:14: error: ‘uint32_t’ was not declared in this scope
 #define UINT uint32_t
              ^
CImgHandler.h:32:18: note: in expansion of macro ‘UINT’
           vector<UINT>&  imgBuffer,
                  ^
CImgHandler.h:32:22: error: template argument 1 is invalid
           vector<UINT>&  imgBuffer,
                      ^
CImgHandler.h:32:22: error: template argument 2 is invalid
CImgHandler.h:35:11: error: ‘string’ has not been declared
           string&    outFolder,
           ^
CImgHandler.h:36:11: error: ‘string’ has not been declared
           string&    outFilename,
           ^
CImgHandler.h:37:11: error: ‘string’ has not been declared
           string&    suffix);
           ^
CImgHandler.cpp:36:6: error: prototype for ‘void CImgHandler::GetPictureBuffer(std::string&, std::vector<unsigned int>&, int&, int&)’ does not match any in class ‘CImgHandler’
 void CImgHandler::GetPictureBuffer(
      ^
In file included from CImgHandler.cpp:8:0:
CImgHandler.h:25:13: error: candidate is: void CImgHandler::GetPictureBuffer(int&, int&, int&, int&)
  void       GetPictureBuffer(
             ^
CImgHandler.cpp:65:6: error: prototype for ‘void CImgHandler::SavePicture(std::vector<unsigned int>&, int, int, std::string&, std::string&, std::string&)’ does not match any in class ‘CImgHandler’
 void CImgHandler::SavePicture(
      ^
In file included from CImgHandler.cpp:8:0:
CImgHandler.h:31:13: error: candidate is: void CImgHandler::SavePicture(int&, int, int, int&, int&, int&)
  void       SavePicture(
             ^
make: *** [CImgHandler.o] Error 1

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.