使用wsl来做CS144实验,可能会在编译的时候遇到以下问题,很明显是找不到LIBPCAP,参考链接
使用sudo apt-get install libpcap-dev
命令下载该库即可。
CMake Error: The following variables are used in this project, but they are set to NOTFOUND
Please set them or make sure they are set and tested correctly in the CMake files:LIBPCAP