Skip to content

ubuntu 编译失败。拉取子模块失败。好像没有看到submodule 的文件。 #424

Answered by xjshiMax
xjshiMax asked this question in Q&A
Discussion options

You must be logged in to vote

自己解决了。
/xjshi/xquic/third_party( v1.7.0)$ ll
drwxrwxr-x 7 dusun dusun 4096 May 13 09:15 ./
drwxrwxr-x 15 dusun dusun 4096 May 11 17:35 ../
drwxrwxr-x 22 dusun dusun 4096 May 13 09:15 babassl/
drwxrwxr-x 21 dusun dusun 4096 May 11 16:08 libevent/

在third_party 手动拉取libevent 和babassl ,并编译。apt install 安装cunit.
sudo apt-get install libcunit1-dev

其他步骤参照readme.
编译:
cmake -DGCOV=on -DCMAKE_BUILD_TYPE=Debug -DXQC_ENABLE_TESTING=1 -DXQC_SUPPORT_SENDMMSG_BUILD=1 -DXQC_ENABLE_EVENT_LOG=1 -DXQC_ENABLE_BBR2=1 -DXQC_ENABLE_RENO=1 -DSSL_TYPE=${SSL_TYPE_STR} -DSSL_PATH=${SSL_PATH_STR} -DLIBEVENT_DIR=/home/xjshi/xquic/third_party/libevent ..

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by xjshiMax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant