Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Cmake issue under Ubuntu #71
Comments
|
Hi, |
Aorimn
added
the
documentation-related
label
Apr 13, 2016
dimitrisanagn
commented
Apr 13, 2016
|
I just retried it as below and still get similar errors.. Thanks again. root@ubuntu:/home/ubuntu/Downloads/dislocker-develop# cmake . CMake Error at cmake/FindPolarSSL.cmake:73 (list): CMake Error at cmake/FindPolarSSL.cmake:74 (list): CMake Error at cmake/FindPolarSSL.cmake:75 (list): -- Configuring incomplete, errors occurred! CMake Error at cmake/FindPolarSSL.cmake:73 (list): CMake Error at cmake/FindPolarSSL.cmake:74 (list): CMake Error at cmake/FindPolarSSL.cmake:75 (list): -- Configuring incomplete, errors occurred! |
|
It seems like polarssl development headers aren't installed. What's the output of |
ghost
commented
Apr 14, 2016
|
try these: |
dimitrisanagn
commented
Apr 14, 2016
|
aptitude search polarssl brings no results. i tried sudo apt-get install libpolarssl5 libpolarssl-dev libpolarssl-runtime libfuse-dev as suggested by SandPox and get the following: Reading package lists... Done |
|
You would have to activate the "universe" repository. |
dimitrisanagn
commented
Apr 14, 2016
|
Thank you. I made some progress finally. Activated universe and after running cmake . got the message that my Mbedtls is 2.0.0 and make might not work. And it didn't.. root@ubuntu:/home/ubuntu/Downloads/dislocker-develop# cmake . -- Configuring done You are in 'detached HEAD' state. You can look around, make experimental If you want to create a new branch to retain commits you create, you may git checkout -b HEAD is now at 4cb87f4... Prepare for 2.0.0 release
diff --git a/library/CMakeLists.txt b/library/CMakeLists.txt
root@ubuntu:/home/ubuntu/Downloads/dislocker-develop# make |
|
It doesn't seem like you applied the patch, and compiled/installed this mbedtls patched version. You might need to remove the previously installed polarssl version too. |
dimitrisanagn commentedApr 12, 2016
Hi,
I'm getting the below error when running "cmake ." in the root folder of dislocker. I run Ubuntu 15.10 and can't continue after this.
could you please help ? Not much knowledge in linux from my side I'm afraid..
thank you very much
root@ubuntu:/home/ubuntu/Downloads/dislocker-develop/src# cmake .
-- The C compiler identification is GNU 5.2.1
-- The CXX compiler identification is GNU 5.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
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning (dev) at CMakeLists.txt:21 (add_definitions):
Policy CMP0005 is not set: Preprocessor definition values are now escaped
automatically. Run "cmake --help-policy CMP0005" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at CMakeLists.txt:22 (add_definitions):
Policy CMP0005 is not set: Preprocessor definition values are now escaped
automatically. Run "cmake --help-policy CMP0005" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at CMakeLists.txt:23 (add_definitions):
Policy CMP0005 is not set: Preprocessor definition values are now escaped
automatically. Run "cmake --help-policy CMP0005" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at CMakeLists.txt:25 (add_definitions):
Policy CMP0005 is not set: Preprocessor definition values are now escaped
automatically. Run "cmake --help-policy CMP0005" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at CMakeLists.txt:30 (add_definitions):
Policy CMP0005 is not set: Preprocessor definition values are now escaped
automatically. Run "cmake --help-policy CMP0005" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at CMakeLists.txt:109 (find_package):
By not providing "FindPolarSSL.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "PolarSSL",
but CMake did not find one.
Could not find a package configuration file provided by "PolarSSL" with any
of the following names:
Add the installation prefix of "PolarSSL" to CMAKE_PREFIX_PATH or set
"PolarSSL_DIR" to a directory containing one of the above files. If
"PolarSSL" provides a separate development package or SDK, be sure it has
been installed.
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring incomplete, errors occurred!
See also "/home/ubuntu/Downloads/dislocker-develop/src/CMakeFiles/CMakeOutput.log".
CMakeOutput.log.txt