Hello,
i'm kind of new to programming and have problems with the installation of Freeling 4.2 with Java API. I followed the steps from manual, but have no clue how to solve this:
C:\FreeLing-4.2\build>cmake .. -DCMAKE_INSTALL_PREFIX=C:\FreeLing\FreeLing-4.2\freeling -DZLIB_ROOT=C:\FreeLing\FreeLing-4.2\dependencies\zlib -DBOOST_ROOT=C:\FreeLing\FreeLing-4.2\dependencies\boost -DICU_ROOT=C:\FreeLing\FreeLing-4.2\dependencies\icu -G "NMake Makefiles" -DJAVA_API=ON -DSWIG_DIR=C:\swigwin-4.0.2 -DSWIG_EXECUTABLE=C:\swigwin-4.0.2\swig.exe
-- The C compiler identification is MSVC 19.0.24215.1
-- The CXX compiler identification is MSVC 19.0.24215.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning (dev) at CMakeLists.txt:39 (find_package):
Policy CMP0074 is not set: find_package uses _ROOT variables.
Run "cmake --help-policy CMP0074" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
CMake variable ZLIB_ROOT is set to:
C:\FreeLing\FreeLing-4.2\dependencies\zlib
For compatibility, CMake is ignoring the variable.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find ZLIB (missing: ZLIB_LIBRARY) (found version "1.2.11")
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
C:/Program Files/CMake/share/cmake-3.21/Modules/FindZLIB.cmake:120 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:39 (find_package)
-- Configuring incomplete, errors occurred!
See also "C:/FreeLing-4.2/build/CMakeFiles/CMakeOutput.log".
Can someone help me, please?
OR
In another Forums Post (https://nlp.lsi.upc.edu/freeling/node/690) Lluis noted, that there is a precompiled Package with Python API, is there a precompiled package with Java API?
Thanks a lot
David