Dear willus,
I have tried to compile v2.36 from your sources. However:
$ cmake .
-- The C compiler identification is GNU 6.2.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.8")
-- Found PNG: /usr/lib64/libpng.so (found version "1.6.26")
-- Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)
-- Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)
-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR JPEG_LIBRARIES)
-- Found ghostscript executable
-- Checking for module 'mupdf'
-- No package 'mupdf' found
-- Checking for module 'ddjvuapi'
-- No package 'ddjvuapi' found
-- Willuslib sources: ansi.c;array.c;bmp.c;bmpdjvu.c;bmpmupdf.c;dtcompre ss.c;filelist.c;fontdata.c;fontrender.c;gslpolyfit .c;linux.c;math.c;mem.c;ocr.c;ocrjocr.c;ocrtess.c; pdfwrite.c;point2d.c;render.c;strbuf.c;string.c;to ken.c;wfile.c;wgs.c;wgui.c;willusversion.c;win.c;w inbmp.c;wincomdlg.c;winmbox.c;winshell.c;wmupdf.c; wmupdfinfo.c;wpdf.c;wsys.c;wzfile.c
-- Summary --
General:
C-flags: ' -DUSE_CMAKE -Wall' (-DCMAKE_C_FLAGS="...")
Build type: (-DCMAKE_BUILD_TYPE="...")
Install:
Prefix: '/usr/local' (-DCMAKE_INSTALL_PREFIX=...)
Doc path: '' (-DDOC_PATH=...)
-- Configuring done
CMake Error at willuslib/CMakeLists.txt:27 (add_library):
Cannot find source file:
ocrjocr.c
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx
CMake Error: Cannot determine link language for target "willuslib".
CMake Error: CMake can not determine linker language for target: willuslib
-- Generating done
-- Build files have been written to: /home/tpasch/scm/k2pdfopt_v2.36
Is there something to overcome this problem?
Cheers,
aanno
|