Giter VIP home page Giter VIP logo

Comments (6)

poire-z avatar poire-z commented on May 28, 2024 1

export LANG=C before compiling if you want me to understand the compiler error message :) and get better help from Google when pasting them.

from koreader-base.

poire-z avatar poire-z commented on May 28, 2024 1

^ bumped (rather than an addtional patch on our side).

from koreader-base.

NiLuJe avatar NiLuJe commented on May 28, 2024

The first bit looks like its simply missing a <cstdint> include (which makes sense, that's where <stdint.h> is in C++ ;o).

from koreader-base.

yparitcher avatar yparitcher commented on May 28, 2024

The first bit looks like its simply missing a <cstdint> include (which makes sense, that's where <stdint.h> is in C++ ;o).

👍
This is fixed on lunasvg master, I tried bumping it, but the patch does not apply cleanly.
@poire-z
Can you take a look

from koreader-base.

benoit-pierre avatar benoit-pierre commented on May 28, 2024

You need this patch:

diff --git a/include/lunasvg.h b/include/lunasvg.h
index 5f293f59..abc64799 100644
--- a/include/lunasvg.h
+++ b/include/lunasvg.h
@@ -26,6 +26,7 @@
 #include "xlunasvg.h"
 #include <memory>
 #include <string>
+#include <cstdint>
 
 #if defined(_MSC_VER) && defined(LUNASVG_SHARED)
 #ifdef LUNASVG_EXPORT
diff --git a/source/property.h b/source/property.h
index 0fa3895f..82cdd09f 100644
--- a/source/property.h
+++ b/source/property.h
@@ -4,6 +4,7 @@
 #include <vector>
 #include <string>
 #include <array>
+#include <cstdint>
 
 namespace lunasvg {
 

from koreader-base.

Frenzie avatar Frenzie commented on May 28, 2024

Usually better. ;-)

from koreader-base.

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.