Coder Social home page Coder Social logo

Comments (5)

moteus avatar moteus commented on May 20, 2024

Please try current master

from lua-curlv3.

zhaozg avatar zhaozg commented on May 20, 2024

better, but need fix.

src/lceasy.c: In function 'lcurl_read_callback':
src/lceasy.c:509: warning: incompatible implicit declaration of built-in function 'memcpy'
src/lceasy.c:513: warning: incompatible implicit declaration of built-in function 'memcpy'
src/lceasy.c:541: warning: incompatible implicit declaration of built-in function 'memcpy'
src/lceasy.c: In function 'lcurl_easy_getinfo':
src/lceasy.c:680: error: 'CURLE_UNKNOWN_OPTION' undeclared (first use in this function)
src/lceasy.c:680: error: (Each undeclared identifier is reported only once
src/lceasy.c:680: error: for each function it appears in.)

Error: Build error: Failed compiling object src/lceasy.o

from lua-curlv3.

moteus avatar moteus commented on May 20, 2024

Please try new one.

from lua-curlv3.

zhaozg avatar zhaozg commented on May 20, 2024

Hi,
Because you has no linux, so I think I can solve this, then I'll make a push request.
Please wait a moment.

In file included from src/lcerror.c:30:
src/lcerr_easy.h: In function 'lcurl_err_easy_mnemo':
src/lcerr_easy.h:5: error: 'CURLE_NOT_BUILT_IN' undeclared (first use in this function)
src/lcerr_easy.h:5: error: (Each undeclared identifier is reported only once
src/lcerr_easy.h:5: error: for each function it appears in.)
src/lcerr_easy.h:93: error: 'CURLE_FTP_PRET_FAILED' undeclared (first use in this function)
src/lcerr_easy.h:94: error: 'CURLE_RTSP_CSEQ_ERROR' undeclared (first use in this function)
src/lcerr_easy.h:95: error: 'CURLE_RTSP_SESSION_ERROR' undeclared (first use in this function)
src/lcerr_easy.h:96: error: 'CURLE_FTP_BAD_FILE_LIST' undeclared (first use in this function)
src/lcerr_easy.h:97: error: 'CURLE_CHUNK_FAILED' undeclared (first use in this function)
In file included from src/lcerror.c:211:
src/lcerr_easy.h: At top level:
src/lcerr_easy.h:5: error: 'CURLE_NOT_BUILT_IN' undeclared here (not in a function)
src/lcerr_easy.h:93: error: 'CURLE_FTP_PRET_FAILED' undeclared here (not in a function)
src/lcerr_easy.h:94: error: 'CURLE_RTSP_CSEQ_ERROR' undeclared here (not in a function)
src/lcerr_easy.h:95: error: 'CURLE_RTSP_SESSION_ERROR' undeclared here (not in a function)
src/lcerr_easy.h:96: error: 'CURLE_FTP_BAD_FILE_LIST' undeclared here (not in a function)
src/lcerr_easy.h:97: error: 'CURLE_CHUNK_FAILED' undeclared here (not in a function)

from lua-curlv3.

moteus avatar moteus commented on May 20, 2024

Thanks.
One note. Doc and headers may do not mention about curl version for some constants.
So just check out vesions in github repo.
Current version works with curl 7.22.0

from lua-curlv3.

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.