question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

client fails to compile

See original GitHub issue

I get the following when attempting to compile the client c++ version on a fresh install of ubuntu.

I downloaded https://github.com/triton-inference-server/client/archive/refs/heads/main.zip, unzipped, cd’d into that folder, then: mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=pwd/install -DTRITON_ENABLE_CC_HTTP=ON -DTRITON_ENABLE_CC_GRPC=ON -DTRITON_ENABLE_GPU=ON -DTRITON_ENABLE_EXAMPLES=ON -DTRITON_ENABLE_TESTS=ON … make

This failed several times and I was able to determine what “apt install xxx” it needed and rerun “make”. Finally it results in the following.

I assume this is some mixed up C++11 vs C++17 setting, but I have no clue how it might be fixed.

[ 42%] Building CXX object examples/CMakeFiles/image_client.dir/image_client.cc.o [ 43%] Linking CXX executable image_client /usr/bin/ld: /home/jtaves/client-main/build/third-party/grpc/lib/libgrpc.a(client_channel.cc.o): in function grpc_core::ClientChannel::LoadBalancedCall::Orphan()': client_channel.cc:(.text+0x5955): undefined reference to absl::lts_20220623::CancelledError(absl::lts_20220623::string_view)’ /usr/bin/ld: /home/jtaves/client-main/build/third-party/grpc/lib/libgrpc.a(client_channel.cc.o): in function grpc_core::ClientChannel::LoadBalancedCall::RecvTrailingMetadataReady(void*, absl::lts_20220623::Status)': client_channel.cc:(.text+0x5a80): undefined reference to absl::lts_20220623::Status::Status(absl::lts_20220623::StatusCode, absl::lts_20220623::string_view)’ /usr/bin/ld: client_channel.cc:(.text+0x5bf3): undefined reference to absl::lts_20220623::Status::Status(absl::lts_20220623::StatusCode, absl::lts_20220623::string_view)' /usr/bin/ld: /home/jtaves/client-main/build/third-party/grpc/lib/libgrpc.a(client_channel.cc.o): in function grpc_core::ClientChannel::LoadBalancedCall::Metadata::Add(absl::lts_20220623::string_view, absl::lts_20220623::string_view)::{lambda(absl::lts_20220623::string_view, grpc_core::Slice const&)#1}::operator()(absl::lts_20220623::string_view, grpc_core::Slice const&) const [clone .isra.0]‘: client_channel.cc:(.text.ZZN9grpc_core13ClientChannel16LoadBalancedCall8Metadata3AddEN4absl12lts_2022062311string_viewES5_ENKUlS5_RKNS_5SliceEE_clES5_S8.isra.0[_ZN4absl12lts_2022062319functional_internal12InvokeObjectIZN9grpc_core13ClientChannel16LoadBalancedCall8Metadata3AddENS0_11string_viewES7_EUlS7_RKNS3_5SliceEE_vJS7_SA_EEET0_NS1_7VoidPtrEDpNS1_8ForwardTIT1_E4typeE]+0x80): undefined reference to `absl::lts_20220623::strings_internal::CatPiecesabi:cxx11’

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
GuanLuocommented, Nov 17, 2022

the triton client is including the source for the whole triton project

the “sdk” package should only include the source code of the Triton clients (including perf analyzer which you can exclude from build).

You don’t have to use the Triton client, it is an out-of-box client to interact with Triton server via HTTP/GRPC, you can implement your own client following the Triton server protocols, the extensions are optional for client and the predict protocol is what should be implemented to perform inference.

0reactions
dyastremskycommented, Dec 6, 2022

Closing issue due to inactivity. If you would like to reopen this ticket for follow-up, please let us know.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Client fails to compile · Issue #32 · harlan-zw/nuxt-webpack ...
It's a caching issue that can be resolved by deleting the node_modules/.cache folder; It's a conflict with another nuxt module that you're using....
Read more >
Compiling Blazor client fails - Visual Studio Feedback
Trying to compile a blazor client side project (with core server and shared lib) fails but I don't understand how to fix this....
Read more >
Install client error. MSI: Setup was unable to compile the file ...
in ccmsetup founded next record: MSI: Setup was unable to compile the file LocationServices.mof. The error code is 80041001. Coudnt help me?
Read more >
758791 – www-client/chromium-87.0.4280.88 fails to compile
Try to emerge www-client/chromium-87.0.4280.88 Actual Results: It fails to compile Expected Results: A compiled version of chrome Portage ...
Read more >
Error when tried to compile client before connect to server
I've compiled and run server (./server 8000) and it's waiting for client to connect. When I tried to compile there an error on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found