2

我正在尝试构建在 github 中使用 rsocket 库获得的 YARPL 库。我按照自述文件中提到的说明进行操作。

# inside root ./yarpl
mkdir -p build
cd build
cmake ../ -DCMAKE_BUILD_TYPE=DEBUG
make -j
./yarpl-tests

但是在第三步中cmake ../ -DCMAKE_BUILD_TYPE=DEBUG,我得到了以下输出。

Compiler has atomic std::shared_ptr support
glog include_dir </usr/include> lib </usr/lib/x86_64-linux-gnu/libglog.so>
including /home/nsnagekar/fbthrift/thrift/lib/cpp2/transport/rsocket/yarpl
yarpl source dir: /home/nsnagekar/fbthrift/thrift/lib/cpp2/transport/rsocket/yarpl
-- Configuring done
CMake Error at CMakeLists.txt:170 (add_dependencies):
The dependency target "gmock" of target "yarpl-tests" does not exist.


-- Generating done
-- Build files have been written to: /home/nsnagekar/fbthrift/thrift/lib/cpp2/transport/rsocket/yarpl/build

现在,我已经安装了 gmock,但它仍然给我同样的错误。我该怎么办?

PS我正在使用Ubuntu 16.04

4

0 回答 0