GithubHelp home page GithubHelp logo

Comments (9)

sammycage avatar sammycage commented on August 23, 2024
add_subdirectory(${EXTERNAL_DIR}/lunasvg)
target_link_libraries(main lunasvg)

Lemme known if it works 😃

from lunasvg.

lwyj123 avatar lwyj123 commented on August 23, 2024
add_subdirectory(${EXTERNAL_DIR}/lunasvg)
target_link_libraries(main lunasvg)

Lemme known if it works 😃

Thanks for your answer.

If I use this way, I need to build and install the package firstly.

cd lunasvg
mkdir build
cd build
make -j 2
make install

But the other package I used before, I don't need to do that things manually. is the command mentioned above necessary?

from lunasvg.

sammycage avatar sammycage commented on August 23, 2024

No.. You don't need to build lunasvg separately anymore. The main CMakeList.txt will build it for you.

from lunasvg.

lwyj123 avatar lwyj123 commented on August 23, 2024

OK, I used this method before but it does't work, I will check this method later again.

from lunasvg.

lwyj123 avatar lwyj123 commented on August 23, 2024

@sammycage I just got this error

image

And I need to run make install myself

image

from lunasvg.

sammycage avatar sammycage commented on August 23, 2024

#include <svgdocument.h> not #include <lunasvg/svgdocument.h>

from lunasvg.

lwyj123 avatar lwyj123 commented on August 23, 2024

@sammycage not works.
image

And I get the include code from #18, will the usage be different?

from lunasvg.

lwyj123 avatar lwyj123 commented on August 23, 2024

Oh, I just updated the submodule, It works. Seems the update 35cf0a2 change the behavior.

from lunasvg.

lwyj123 avatar lwyj123 commented on August 23, 2024

Could you update the documents for later users if you have the time?

from lunasvg.

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.