You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've followed all the steps to build the library, and I get the following errors that seems to be related to a missing function definition or something.
Not sure if I'm missing something on my side.
Thanks
> Task :lib:compileReleaseJavaWithJavac FAILED
/home/rami/mupdf-android-viewer/lib/src/main/java/com/artifex/mupdf/viewer/MuPDFCore.java:72: error: cannot find symbol
long mark = doc.makeBookmark(doc.locationFromPageNumber(oldPage));
^
symbol: method locationFromPageNumber(int)
location: variable doc of type Document
/home/rami/mupdf-android-viewer/lib/src/main/java/com/artifex/mupdf/viewer/MuPDFCore.java:82: error: cannot find symbol
return doc.pageNumberFromLocation(doc.findBookmark(mark));
^
symbol: method pageNumberFromLocation(int)
location: variable doc of type Document
/home/rami/mupdf-android-viewer/lib/src/main/java/com/artifex/mupdf/viewer/MuPDFCore.java:162: error: cannot find symbol
return doc.pageNumberFromLocation(doc.resolveLink(link));
^
symbol: method resolveLink(Link)
location: variable doc of type Document
/home/rami/mupdf-android-viewer/lib/src/main/java/com/artifex/mupdf/viewer/MuPDFCore.java:184: error: cannot find symbol
int page = doc.pageNumberFromLocation(doc.resolveLink(node));
^
symbol: method resolveLink(Outline)
location: variable doc of type Document
/home/rami/mupdf-android-viewer/lib/src/main/java/com/artifex/mupdf/viewer/PageView.java:493: error: cannot find symbol
if (link.isExternal()) {
^
symbol: method isExternal()
location: variable link of type Link
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
5 errors
FAILURE: Build failed with an exception.
The text was updated successfully, but these errors were encountered:
Have you checked out and made sure all the submodules are at the correct version?
If you are using the Maven repositories for the submodules, you must use a tagged version of the main repository since the current master may use changes in submodules that haven't been released yet.
I've followed all the steps to build the library, and I get the following errors that seems to be related to a missing function definition or something.
Not sure if I'm missing something on my side.
Thanks
The text was updated successfully, but these errors were encountered: