cmake on WSL ubuntu 18.04 give FREETYPE error
I try install FREETYPE and the error persists.. After run 'cmake ..':
-- Build 64bit CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find Freetype (missing: FREETYPE_LIBRARY FREETYPE_INCLUDE_DIRS) Call Stack (most recent call first): /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-3.10/Modules/FindFreetype.cmake:157 (find_package_handle_standard_args) CMakeLists.txt:448 (find_package)
-- Configuring incomplete, errors occurred! See also "/mnt/c/oce/oce/build/CMakeFiles/CMakeOutput.log". See also "/mnt/c/oce/oce/build/CMakeFiles/CMakeError.log".
Check and make sure that you have the freetype sources installed
sudo apt-get install libfreetype6-dev
Hello , what should I do? I have already Installed an OpenSSL development package -- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY) (found version "3.1.0") CMake Error at Utilities/cmcurl/CMakeLists.txt:485 (message): Could not find OpenSSL. Install an OpenSSL development package or configure CMake with -DCMAKE_USE_OPENSSL=OFF to build without OpenSSL.
-- Configuring incomplete, errors occurred! See also "/mnt/c/Ubuntu_softwares/cmake-3.18.4/CMakeFiles/CMakeOutput.log". See also "/mnt/c/Ubuntu_softwares/cmake-3.18.4/CMakeFiles/CMakeError.log".
its cd .. not cd..