Giter Site home page Giter Site logo

Errors building under cygwin64. about leanify HOT 4 CLOSED

jayxon avatar jayxon commented on May 29, 2024
Errors building under cygwin64.

from leanify.

Comments (4)

JayXon avatar JayXon commented on May 29, 2024

What's your gcc version? to_string is a C++11 function.

from leanify.

JayXon avatar JayXon commented on May 29, 2024

About to_string, It seems to be a compiler bug. Try to use MinGW-w64 instead.
http://stackoverflow.com/questions/12975341/to-string-is-not-a-member-of-std-says-so-g

from leanify.

neheb avatar neheb commented on May 29, 2024

for the first error, it should be stdio.h

MinGW-w64 works but I mostly want a cygwin compile in order to use cygwin-style paths.

Actually with MinGW-w64, -static needs to be added so that it can run. Otherwise you get:

/home/neheb/devstuff/Leanify/leanify.exe: error while loading shared libraries: libstdc++-6.dll: cannot open shared object file: No such file or directory

from leanify.

JayXon avatar JayXon commented on May 29, 2024

I have fixed the first error here 3113db9, cstdio is the same as stdio.h
If you are using MinGW-w64, you should add it's path to system PATH variable. -static will result in huge executable size, don't use it unless you need to run the executable on other computer.
If you want to use cygwin, report the bug to cygwin, I don't feel like using itoa() instead of to_string() just for cygwin.

from leanify.

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.