Skip to content

Failed on cmake ninja command #62

Description

@LChen-99

I was trying to build it and run this command.
cd build
cmake -G Ninja
-DCMAKE_BUILD_TYPE=Release
..
ninja

but I got failed. I could not find the reason behind it
Below is the output:

FAILED: async_grpc.client_test
: && /usr/bin/c++ -O3 -DNDEBUG -rdynamic CMakeFiles/async_grpc.client_test.dir/async_grpc/client_test.cc.o -o async_grpc.client_test -Wl,-rpath,/usr/local/lib libasync_grpc.a gmock/libgmock_main.a -lpthread -lgrpc++ -lglog -lgflags /usr/local/lib/libprotobuf.so -lpthread -lgrpc++ && :
/usr/bin/ld: 找不到 -lgrpc++
collect2: error: ld returned 1 exit status

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions