Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not build project on Windows #330

Open
hnvmeta opened this issue Jun 12, 2021 · 0 comments
Open

Can not build project on Windows #330

hnvmeta opened this issue Jun 12, 2021 · 0 comments

Comments

@hnvmeta
Copy link

hnvmeta commented Jun 12, 2021

I installed Cygwin to build this project but I met this error:

jni/ebookdroid/mupdfdroidbridge.c:99:23: warning: initializing
'fz_locks_context *' (aka 'struct fz_locks_context_s *') with an
expression of type 'const fz_locks_context *' (aka 'const struct
fz_locks_context_s *') discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
fz_locks_context *locks = doc->ctx->locks;
^ ~~~~~~~~~~~~~~~
jni/ebookdroid/mupdfdroidbridge.c:686:10: error: no member named
'ebookdroid_nightmode' in 'struct fz_context_s'
ctx->ebookdroid_nightmode = nightmode;
~~~ ^
jni/ebookdroid/mupdfdroidbridge.c:688:15: error: no member named
'ebookdroid_nightmode' in 'struct fz_context_s'
doc->ctx->ebookdroid_nightmode = nightmode;
~~~~~~~~ ^
1 warning and 2 errors generated.
make: *** [/cygdrive/d/Programs/Android/SDK/ndk/22.1.7171670/build/core/build-binary.mk:476: obj/local/arm64-v8a/objs/ebookdroid/mupdfdroidbridge.o] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant