FindIce not finding Slice
in my CmakeLists.txt i have the following line:
find_package(Ice REQUIRED COMPONENTS Ice IceBox IceSSL Slice)
Im getting the following error :
-- The C compiler identification is Clang 6.0.0 -- The CXX compiler identification is Clang 6.0.0 -- Check for working C compiler: /usr/bin/clang -- Check for working C compiler: /usr/bin/clang -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/clang++ -- Check for working CXX compiler: /usr/bin/clang++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done rmg-buildenv configuration: CMAKE_SYSTEM_NAME=Linux LOCAL_BIN_DIR=/usr/local/bin -- Performing Test CLANG -- Performing Test CLANG - Success -- Ice version: 3.7.1 -- Found the following Ice libraries: -- Ice (required) -- IceBox (required) -- IceSSL (required) -- The following Ice libraries were not found: -- Slice (required) CMake Error at /home/miguel/clion-2018.1.3/bin/cmake/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Failed to find all Ice components (missing: _Ice_REQUIRED_LIBS_FOUND) (found version "3.7.1")
My uname -a output :
miguel@miguel-ThinkPad-T460s:~$ uname -a Linux miguel-ThinkPad-T460s 4.15.0-22-generic #24-Ubuntu SMP Wed May 16 12:15:17 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Installed with apt :
miguel@miguel-ThinkPad-T460s:~$ sudo apt install zeroc-ice-slice Leyendo lista de paquetes... Hecho Creando árbol de dependencias Leyendo la información de estado... Hecho zeroc-ice-slice ya está en su versión más reciente (3.7.1-1). 0 actualizados, 0 nuevos se instalarán, 0 para eliminar y 0 no actualizados.
Please let me know if you need more information to replicate the problem Thanks in Advance