Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake fails because all "deps" subfolders are empty #72

Closed
rfringuello89 opened this issue Dec 27, 2017 · 1 comment
Closed

cmake fails because all "deps" subfolders are empty #72

rfringuello89 opened this issue Dec 27, 2017 · 1 comment

Comments

@rfringuello89
Copy link

rfringuello89 commented Dec 27, 2017

It is not possible to build RetDec because all "deps" subfolders are empty.

Steps:

  • cd /opt/Programs/retdec/retdec/ (sources root)
  • mkdir build && cd build
  • cmake ../

Output:

-- The CXX compiler identification is GNU 6.3.1
-- 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
-- Setting build type to 'Release' as none was specified.
CMake Error at deps/CMakeLists.txt:1 (add_subdirectory):
The source directory

/opt/Programs/retdec/retdec/deps/capstone2llvmir

does not contain a CMakeLists.txt file.

CMake Error at deps/CMakeLists.txt:2 (add_subdirectory):
The source directory

/opt/Programs/retdec/retdec/deps/ctypes

does not contain a CMakeLists.txt file.

CMake Error at deps/CMakeLists.txt:3 (add_subdirectory):
The source directory

/opt/Programs/retdec/retdec/deps/demangler

does not contain a CMakeLists.txt file.

CMake Error at deps/CMakeLists.txt:4 (add_subdirectory):
The source directory

/opt/Programs/retdec/retdec/deps/fileformat

does not contain a CMakeLists.txt file.

CMake Error at deps/CMakeLists.txt:5 (add_subdirectory):
The source directory

/opt/Programs/retdec/retdec/deps/fnc-patterns

does not contain a CMakeLists.txt file.

CMake Error at deps/CMakeLists.txt:9 (add_subdirectory):
The source directory

/opt/Programs/retdec/retdec/deps/libdwarf

does not contain a CMakeLists.txt file.

CMake Error at deps/CMakeLists.txt:10 (add_subdirectory):
The source directory

/opt/Programs/retdec/retdec/deps/llvm

does not contain a CMakeLists.txt file.

CMake Error at deps/CMakeLists.txt:11 (add_subdirectory):
The source directory

/opt/Programs/retdec/retdec/deps/pdbparser

does not contain a CMakeLists.txt file.

CMake Error at deps/CMakeLists.txt:12 (add_subdirectory):
The source directory

/opt/Programs/retdec/retdec/deps/retdec-config

does not contain a CMakeLists.txt file.

CMake Error at deps/CMakeLists.txt:13 (add_subdirectory):
The source directory

/opt/Programs/retdec/retdec/deps/tl-cpputils

does not contain a CMakeLists.txt file.

-- Configuring incomplete, errors occurred!
See also "/opt/Programs/retdec/retdec/build/CMakeFiles/CMakeOutput.log".

Here CMake output in attachment:
CMakeOutput.log

@s3rvac
Copy link
Member

s3rvac commented Dec 27, 2017

Hi. As stated in Build and Installation, you need to clone the repository recursively to get the contents of all submodules, which contain the CMakeLists.txt files that you are currently missing:

git clone --recursive https://github.com/avast-tl/retdec

If you have already cloned the repository, you can just run

git submodule update --init --recursive

I am closing this as a duplicate of #4 and #68.

@s3rvac s3rvac changed the title [Linux] cmake fails cmake fails because all "deps" subfolders are empty Dec 27, 2017
@s3rvac s3rvac closed this as completed Dec 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants