-
好像没有看到.gitmodules 文件。git submodule update init 没有拉取到子库。 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
自己解决了。 在third_party 手动拉取libevent 和babassl ,并编译。apt install 安装cunit. 其他步骤参照readme. |
Beta Was this translation helpful? Give feedback.
自己解决了。
/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 ..