nPDF
nPDF copied to clipboard
binaries out of date
Can you please update the binaries for those of us who cannot compile this?
yes please someone do this.
Build from git master (abe29f54aef8bd8eca51a5c27adbf44f18f77d03): nPDF.zip
Needed two little changes to build:
diff --git a/Makefile b/Makefile
index 1102f56..0736467 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ MUPDF_VERBOSE ?= no
MUPDF_DIR := mupdf
MUPDF_INC := $(MUPDF_DIR)/include
MUPDF_OUT := $(MUPDF_DIR)/build/$(MUPDF_BUILD)
-MUPDF_XCFLAGS := -DNOCJK
+MUPDF_XCFLAGS := -DNOCJK -DCMS_NO_PTHREADS
CXX := nspire-g++
CXXFLAGS := -O$(OPTIMIZE) -Wall -Wextra -std=gnu++14 -marm -I $(MUPDF_INC)
diff --git a/main.cpp b/main.cpp
index 904f18b..f15d026 100644
--- a/main.cpp
+++ b/main.cpp
@@ -202,7 +202,7 @@ int main(int argc, char **argv) {
v->display();
}
}
- sleep(10);
+ msleep(10);
}
Screen::deinit();