Hi willus,
Thank you for the great tool!
I was trying to compile the k2pdfopt v2.53 in Msys2 MinGW64 but I am very new to CMake and programming in Linux(-like) system. I have installed all the other dependent libs to /mingw64/ and, also compiled mupdf and installed it to /usr/local/include/mupdf for *.h files and /usr/local/lib since there seems no directly available mupdf package. when I was using vscode it told me that
----------------------------------
Code:
[cmake] -- Checking for module 'mupdf'
[cmake] -- Package 'mupdf', required by 'virtual:world', not found
----------------------------------
and then if I right-click on 'CMakeLists.txt' and select 'build all projects', vs code will give me quite a few errors, such like:
--------------
Code:
[build] C:/k2pdfopt_v2.53/k2pdfoptlib/k2ocr.c:760:13: error: static declaration of 'k2ocr_ocrwords_get_from_ocrlayer' follows non-static declaration
[build] C:/k2pdfopt_v2.53/k2pdfoptlib/k2ocr.c:607:9: note: previous implicit declaration of 'k2ocr_ocrwords_get_from_ocrlayer' was here
------------------------------------------
Do you have any suggestions on what I shall do?
instead--I know it's a greedy wish--but is it possible you could add more instructions into your readme_k2src.txt file for new people, if possible? I think this will be even greater.
Thanks a lot!