Coder Social home page Coder Social logo

Compile with libcurl support about mvdsv HOT 2 OPEN

qw-group avatar qw-group commented on July 18, 2024
Compile with libcurl support

from mvdsv.

Comments (2)

fzwoch avatar fzwoch commented on July 18, 2024

On Linux this should be as easy as just installing some of the libcurl-dev providers. On Windows it may need some meson.build adjustments unless you manage to use pkg-config there too.

from mvdsv.

fzwoch avatar fzwoch commented on July 18, 2024

Found in travis file:

  # ensure we do not have curl dev libs, otherwise it caused cross compilations to fail	
  - sudo apt-get -y remove libcurl.*-dev libpcre*-dev

While i tried to build for ARM on my machine:

The Meson build system
Version: 0.55.3
Source dir: /home/fzwoch/code/mvdsv
Build dir: /home/fzwoch/code/mvdsv/xxx
Build type: cross build
Project name: mvdsv
Project version: undefined
C compiler for the build machine: cc (gcc 10.2.0 "cc (Debian 10.2.0-15) 10.2.0")
C linker for the build machine: cc ld.bfd 2.35.1
C compiler for the host machine: arm-linux-gnueabihf-gcc (gcc 10.2.0 "arm-linux-gnueabihf-gcc (Debian 10.2.0-9) 10.2.0")
C linker for the host machine: arm-linux-gnueabihf-gcc ld.bfd 2.35.1
Build machine cpu family: x86_64
Build machine cpu: x86_64
Host machine cpu family: arm
Host machine cpu: armv7hl
Target machine cpu family: arm
Target machine cpu: armv7hl
Run-time dependency threads found: YES
Did not find pkg-config by name 'arm-linux-gnueabihf-pkg-config'
Found Pkg-config: NO
Found CMake: NO
Run-time dependency libpcre found: NO (tried pkgconfig and cmake)
Run-time dependency libcurl found: NO (tried pkgconfig and cmake)
Library m found: YES
Library dl found: YES
Build targets in project: 1

Found ninja-1.10.1 at /usr/bin/ninja

So it correctly detects that no cross-compile pkg-config is found and skips that feature on these platforms. So it does not use the system installed ones.

from mvdsv.

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.