我正在尝试在Windows 7上编译Eclipse中的muPDF库。我正在关注these steps。
在此步骤
Build the native code libraries:
~/src/mupdf/platform/android $ ndk-build
我收到了这个错误。
Qadir Hussain@GENETECH042 ~/mupdf/platform/android (master)
$ ndk-build
"C:/Program Files (x86)/Git/bin/rm.exe": cannot unlink `NUL': Invalid argument
Android NDK: WARNING:jni/Android.mk:mupdfcore: LOCAL_LDLIBS is always ignored fo
r static libraries
0 [main] rm 4244 stdio_init: couldn't make stderr distinct from stdout
0 [main] rm 2876 stdio_init: couldn't make stderr distinct from stdout
0 [main] rm 4832 stdio_init: couldn't make stderr distinct from stdout
[armeabi-v7a] Compile thumb : mupdf <= mupdf.c
./obj/convert-dependencies.sh: line 6: syntax error: unexpected end of file
e:/android-ndk/android-ndk-r9d/build/core/build-binary.mk:391: recipe for target
'obj/local/armeabi-v7a/objs/mupdf/mupdf.o' failed
make: *** [obj/local/armeabi-v7a/objs/mupdf/mupdf.o] Error 2
make: *** Deleting file 'obj/local/armeabi-v7a/objs/mupdf/mupdf.o'
当我启动此命令时,它会在我的.platform / android目录中创建一个NUL文件,该文件没有扩展名,无法删除或重命名。