Git Product home page Git Product logo

Comments (7)

kissanita avatar kissanita commented on May 8, 2024

This commit compiled well: f43ad22

from woff2.

bardware avatar bardware commented on May 8, 2024

I did a git pull today

$ git pull
remote: Counting objects: 43, done.
remote: Total 43 (delta 29), reused 29 (delta 29), pack-reused 14
Unpacking objects: 100% (43/43), done.
From https://github.com/google/woff2
   2855ee7..eeec219  master     -> origin/master
Fetching submodule brotli
remote: Counting objects: 223, done.
Receiving objects: 100% (223/223), 260.28 KiB | 0 bytes/s, done.
remote: Total 223 (delta 101), reused 101 (delta 101), pack-reused 122
Resolving deltas: 100% (145/145), completed with 44 local objects.
From https://github.com/google/brotli
   996ec28..5da4f65  master     -> origin/master
 * [new tag]         v0.1.0     -> v0.1.0
Updating 2855ee7..eeec219

and got the following when compiling in mingw64_shell in an msys2 environment.
Please advise/fix.

$ make all V=1
g++ -fno-omit-frame-pointer -no-canonical-prefixes -fno-tree-vrp -std=c++11 -I./brotli/dec/ -I./brotli/enc/ -I./src  -c -o src/woff2_dec.o src/woff2_dec.cc
src/woff2_dec.cc: In function 'bool woff2::ConvertWOFF2ToTTF(uint8_t*, size_t, const uint8_t*, size_t)':
src/woff2_dec.cc:939:49: error: expected ')' before 'PRIu64'
     fprintf(stderr, "offset fail; src_offset %" PRIu64 " length %lu "
                                                 ^
<builtin>: recipe for target 'src/woff2_dec.o' failed
make: *** [src/woff2_dec.o] Error 1

from woff2.

andresin87 avatar andresin87 commented on May 8, 2024

Same issue. Any ideas? How to fix?

from woff2.

andresin87 avatar andresin87 commented on May 8, 2024

OK! Just replace
%" PRIu64 "
for
%llu

It seems to be working fine for me.

from woff2.

anthrotype avatar anthrotype commented on May 8, 2024

You can maybe try this:
#38

from woff2.

rsheeter avatar rsheeter commented on May 8, 2024

Does #41 fix this?

from woff2.

bardware avatar bardware commented on May 8, 2024

I was checking out and compiling Lucas' repository the minute you were merging the pull request.

[bd:~/src/github/google/woff2] master ± git pull origin master
remote: Counting objects: 4, done.
remote: Total 4 (delta 2), reused 2 (delta 2), pack-reused 1
Entpacke Objekte: 100% (4/4), Fertig.
Von https://github.com/google/woff2
 * branch            master     -> FETCH_HEAD
   b2e7af9..db04488  master     -> origin/master
Aktualisiere b2e7af9..db04488
Fast-forward
 Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

It compiles fine! Thank you.

from woff2.

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.