Giter Site home page Giter Site logo

bmp2xbm's Issues

build error on 4.4.91-ti-r141 armv7l GNU/Linux

Hi,

Scanning dependencies of target bmp2xbm
[ 50%] Building CXX object CMakeFiles/bmp2xbm.dir/src/main.cpp.o
/root/x/bmp2xbm/src/main.cpp: In functionvoid parseCommands(const char*)’:
/root/x/bmp2xbm/src/main.cpp:18:29: error: ‘strcmpwas not declared in this scope
     if (strcmp(options, "-i") == 0 || strcmp(options, "--invert") == 0)
                             ^
/root/x/bmp2xbm/src/main.cpp: In functionvoid convertBmp(const char*)’:
/root/x/bmp2xbm/src/main.cpp:58:58: error: ‘memsetwas not declared in this scope
     memset(img, 0, height * (byteWidth * 8) * sizeof(int));
                                                          ^
/root/x/bmp2xbm/src/main.cpp: In functionint main(int, const char**)’:
/root/x/bmp2xbm/src/main.cpp:101:57: error: ‘strcmpwas not declared in this scope
     if (argc == 1 || (argc == 2 && (strcmp(argv[1], "-h") == 0 || strcmp(argv[1], "--help") == 0)))
                                                         ^
CMakeFiles/bmp2xbm.dir/build.make:62: recipe for target 'CMakeFiles/bmp2xbm.dir/src/main.cpp.o' failed
make[2]: *** [CMakeFiles/bmp2xbm.dir/src/main.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/bmp2xbm.dir/all' failed
make[1]: *** [CMakeFiles/bmp2xbm.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

had to add

#include <string.h>

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.