facebook / facebook/folly

use folly library failed

Open
#2,064 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
30.5k
Forks
5.9k
PR merge metrics
No merged PRs in 30d

Description

In file included from /usr/local/include/folly/executors/GlobalExecutor.h:29,
from /usr/local/include/folly/futures/Future-inl.h:32,
from /usr/local/include/folly/futures/Future.h:2711,
from /home/fengbolun/workspace/fengbl_test/src/folly/folly_test_1.cpp:16:
/usr/local/include/folly/portability/GFlags.h:128:19: error: ‘gflags’ does not name a type
128 | using FlagSaver = gflags::FlagSaver;

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure from /home/fengbolun/workspace/fengbl_test/src/folly/folly_test_1.cpp and inspect folly/portability/GFlags.h around line 128, along with the installed gflags configuration. Determine why gflags::FlagSaver is unavailable, then verify that the example compiles successfully with the supported dependency setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.