Comments (2)
While using cmake to use mvfst in my project, I get the following error during making:
ld: library not found for -lgflags_shared
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I am not able to work around it.
Following is my CMakeLists.txt
cmake_minimum_required(VERSION 3.15)
project(testing)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_MODULE_PATH
"${CMAKE_CURRENT_SOURCE_DIR}/cmake"
${CMAKE_MODULE_PATH})
find_package(mvfst REQUIRED)
add_executable(${PROJECT_NAME} hello.cpp)
target_link_libraries(${PROJECT_NAME} mvfst::mvfst_client)
from mvfst.
turns out i just had to include some find_package commands in my CMakeLists.txt
Here are all of my find_package commands in case some newbie like me would wanna know:
find_package(fizz CONFIG REQUIRED)
find_package(folly CONFIG REQUIRED)
find_package(gflags CONFIG REQUIRED)
find_package(gtest CONFIG REQUIRED)
find_package(mvfst REQUIRED)
from mvfst.
Related Issues (20)
- CCA BBR version of tperf HOT 1
- ctest failed HOT 7
- Build error on Ubuntu 18.04 by Getdeps.py HOT 4
- The calculation of the sendRate in bbr's bandwidthsampler HOT 1
- Applying mvfst to live streaming HOT 1
- Provide tagged releases? HOT 3
- Compilation fails: error: static assertion failed due to requirement 'formattable': Cannot format an argument. To make type T formattable provide a formatter<T> specialization HOT 3
- cmake ubuntu20.4 error HOT 1
- Can a single client connection use reliable and unreliable packets? HOT 1
- Inquiry regarding "maxReceiveTimestampsPerAckStored" parameter in QUIC protocol
- Does mvfst support RFC 9221? HOT 1
- Datagrams Priorities HOT 2
- Mvfst server does not close the connection when the client sends NEW_CONNECTION_ID frames that exceed the server's active_connection_id_limit.
- [macOS] Build fails if dynamic libs are on: `Undefined symbols: quic::getAckState(quic::QuicConnectionStateBase&, quic::PacketNumberSpace)` HOT 8
- [tperf] socket write error on wireless networks HOT 4
- Build fails on Ubuntu220.4 HOT 3
- Build failed on centOS7 HOT 1
- Getting `error: ‘XDP_RING_NEED_WAKEUP’ was not declared in this scope` HOT 2
- [tperf] Crash when client connects to Server (Debain 12)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mvfst.