Comments (9)
from eternalterminal.
Hey, I think you are missing the gflags dependency.
Here's a list of the deps you need:
sudo apt-get install libboost-dev, libsodium-dev, libncurses5-dev, libprotobuf-dev, protobuf-compiler, cmake, libgoogle-glog-dev, libgflags-dev
You can find this out from launchpad: https://launchpadlibrarian.net/307528352/et_2.0.1-1ubuntu1.dsc
Let me know if installing the gflags dev package fixes your issue.
from eternalterminal.
True, I didn't have that installed. I get the same error though.
But I solved it by changing gflags
to google
as mentioned in this comment. Apparently it's been renamed in version 2.1 of gflags and I guess my version of Debian install 2.0 though it says 2.0-2.1, confusingly:
# apt-cache policy libgflags-dev
libgflags-dev:
Installed: 2.0-2.1
Candidate: 2.0-2.1
Version table:
*** 2.0-2.1 0
500 http://mirror.one.com/debian/ jessie/main i386 Packages
100 /var/lib/dpkg/status
I don't know if it's possible to make it compatible with both versions.
from eternalterminal.
from eternalterminal.
No, I get
TerminalClient.cpp:21:17: error: ‘gflags’ is not a namespace-name
using namespace gflags;
^
😟 .
from eternalterminal.
Yes, that worked!
Thanks
from eternalterminal.
from eternalterminal.
Sure: #16.
from eternalterminal.
Hmm, how about this: namespace google {} namespace gflags {} using namespace google; using namespace gflags;
…
On Thu, Mar 9, 2017, 1:57 PM Tuk Bredsdorff @.***> wrote: No, I get TerminalClient.cpp:21:17: error: ‘gflags’ is not a namespace-name using namespace gflags; ^ 😟 . — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#12 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AASuv_PHVA1dLd6LewkOL4LEcaF9wtCeks5rkHXlgaJpZM4MYZoX .
Thanks! I just have the same problem, and your solution worked. It's a namspace problem.
I think it is because when I install the gflags, I use the command "cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DBUILD_SHARED_LIBS=ON -DGFLAGS_NAMESPACE=google ../", and you can see the sentence "NAMESPACE=google". So when I use the function xxx in glags, I should use the namespace "google", such as the funtion "gflags::ParseCommandLineFlags(&argc, &argv, true);" I should write as "google::ParseCommandLineFlags(&argc, &argv, true);"
from eternalterminal.
Related Issues (20)
- Building et on AL2 HOT 11
- "Error handling new client: Failed a call to readAll" HOT 4
- Starting multiple sessions for the same host in parallel leads to crash HOT 3
- Why does 6.2.8 install header and cmake files? HOT 6
- `--ssh-option=ControlPath=...` does not create any filesystem objects
- `et -t` does not accept IP address HOT 3
- APT-KEY is deprecated, update instructions for install HOT 3
- Segfault starting etserver on raspberry pi zero HOT 3
- package for pkgx HOT 1
- GCP IAP proxy HOT 3
- Ubuntu mantic et package (et_6.2.8-mantic1_amd64.deb) broken (bad dep on libtinfo5) HOT 9
- Need a good way to kill off ET sessions HOT 5
- A way to prevent sourcing the shell's configs twice HOT 1
- et needs ssh's -t option to support running tmux with et HOT 2
- Overrided CTRL+C -> CTRL+B not working
- DynamicForward -D option doesn't work HOT 1
- Can use SCP or SSHFS with EternalTerminal? HOT 5
- Please release a new version for the cpp-httplib CVE-2023-26130 fix HOT 1
- Flow Control HOT 5
- deb repositories no longer contain files for debian buster/bullseye HOT 3
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 eternalterminal.