Andersbakken / rtags

A client/server indexer for c/c++/objc[++] with integration for Emacs based on clang.
http://www.rtags.net
GNU General Public License v3.0
1.83k stars 253 forks source link

rct.cmake missing #1390

Closed gevorgyana closed 4 years ago

gevorgyana commented 4 years ago
CMake Error at src/CMakeLists.txt:145 (include):
  include could not find load file:

    rct/rct.cmake

To Reproduce

  1. git clone https://github.com/Andersbakken/rtags.git
  2. mkdir build && cd build && cmake ..

Where do I get rct/rct.cmake from?

Environment:

cmake_output

gevorgyana commented 4 years ago

The problem is not related to libclang, but it is still there.

gevorgyana commented 4 years ago

It seems like that file comes from another project, which should be loaded as a git submodule, but for some reason it didn't work for me.

casch-at commented 4 years ago

You need to clone the submodules too. See the install section.

git clone --recursive...

On May 21, 2020 2:38:26 PM UTC, Artyom Gevorgyan notifications@github.com wrote:

Describe the bug I am on Ubuntu 18.04, libclang is installed, both user and dev packages. After cloning the repository and running cmake, configuration step failed with the following error:

-- The following REQUIRED packages have been found:

* __LibClang__

while also saying that

-- __Found LibClang__: /usr/lib/llvm-6.0/lib/libclang.so  
-- Performing Test LIBCLANG_COMPILES
-- Performing Test LIBCLANG_COMPILES - Success

To Reproduce

  1. git clone https://github.com/Andersbakken/rtags.git
  2. mkdir build && cd build && cmake ..

Expected behavior Check against LibClang is not supposed to fail, I guess, because apt search libclang | grep installed gives

libclang-6.0-dev/bionic,now 1:6.0-1ubuntu2 amd64 [installed]
libclang-common-6.0-dev/bionic,now 1:6.0-1ubuntu2 amd64
[installed,automatic]
libclang-dev/bionic-updates,now 1:6.0-41~exp5~ubuntu1 amd64 [installed]
libclang1-6.0/bionic,now 1:6.0-1ubuntu2 amd64 [installed,automatic]

Environment:

gevorgyana commented 4 years ago

Oh, sure...