Coder Social home page Coder Social logo

Comments (4)

dg0yt avatar dg0yt commented on September 27, 2024

Hm, skia svg lives in "modules", but I see little indication of our port building/installing this module in vcpkg CI for x64-windows.

In fact, it seems to be off by default in shared library linkage,
https://github.com/google/skia/blob/ad3c9f203f4e65d0070b1257f40479563e416c46/gn/skia.gni#L27
I don't know if it would work as a DLL.

from vcpkg.

cosmin42 avatar cosmin42 commented on September 27, 2024

The same issue is occurring when using the static triplet x64-windows-static.

I noticed that the source file for the said symbol can be found under a cleaning folder along with the whole component, it just seems to be discarded and not used in the final lib.

vcpkg/buildtrees/skia/src/1c27019d33-728a6df320.clean/modules/svg ((2024.04.26))
$ ls
BUILD.gn  include/  src/  svg.gni  tests/  utils/

from vcpkg.

dg0yt avatar dg0yt commented on September 27, 2024

That's not a "cleaning" folder, but the clean source dir, recreated before each build. (A different dir is used for --editable mode which reuse am existing (possibly edited) source dir.

And "modules" is the part which tells us that it is not expected to be in the main lib/target. You may need to link another lib/target. The static build has a svg.lib, and there should be a corresponding cmake config/target.

from vcpkg.

cosmin42 avatar cosmin42 commented on September 27, 2024

Actually sk_sp<SkSVGDOM> make(SkStream&) const; seems to be working along with the -static triplet, I should have clean up the build. Thanks!

from vcpkg.

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.