Comments (7)
lightning 依赖 openssl
和 libuv
,你可以尝试使用以下命令安装依赖:
brew install openssl
brew install libuv
from lightning.
运行了
brew install openssl
brew install libuv
2者安装成功。
但是运行上面的make时还是遇到同样的错误。
from lightning.
如果依赖已经安装成功,但是 make 仍然失败,可以再尝试在 CMakeLists.txt
的第 7 行位置加上以下两行:
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -I/usr/local/opt/openssl/include")
SET(CMAKE_LD_FLAGS "${CMAKE_LD_FLAGS} -L/usr/local/opt/openssl/lib")
P.S. 可以使用 brew --prefix openssl
查看 openssl 的安装位置。
from lightning.
谢谢你。现在可以翻#墙了。不过翻#墙速度好慢,很久都打不开youtube.com, 在哪里可以优化一下速度呢?
from lightning.
你可以 ping 一下你的 proxy 主机,看看 RTT 多少毫秒,看看网络是否稳定,如果有比较严重丢包,肯定会很慢的,而且也没有特别有效地优化方法。
目前 lightning 没有对各种网络情况做特别的优化。但优点是占用内存小,运行稳定(基本上不会有崩溃的情况)。
如果 RTT 比较大,但是没有丢包,可以通过 --window_size
参数把服务器端和客户端的 recv_buf/send_buf
调大一些试试。这样在较好的网络条件下可以有效提高吞吐量。
from lightning.
现在看youtube流畅了。可能是我的网络问题。你没考虑过推出windows下的客户端程序吗?以便惠及更多的人
from lightning.
目前没有打算支持 windows 客户端,但其实这里用的都是跨平台的库,支持 windows 要做的事情其实不多,有兴趣可以 fork。
from lightning.
Related Issues (3)
- 你这个翻墙术不太稳定啊 HOT 2
- 软件速度很快,但是经常连接被重置 HOT 4
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 lightning.