dylu
dylu
/* * These are the types that are the same on all platforms, and that * have been defined by for ages. */ #define DLT_NULL 0 /* BSD loopback encapsulation...
40%] Building CXX object libco/CMakeFiles/example_cond.dir/example_cond.cpp.o [ 43%] Linking CXX executable example_cond /opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: libcolib.a(co_hook_sys_call.cpp.o): in function `co_gethostbyname_r(char const*, hostent*, char*, unsigned long, hostent**, int*)': co_hook_sys_call.cpp:(.text+0x1e39): undefined reference to `clsCoMutex::clsCoMutex()' /opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld: libcolib.a(co_hook_sys_call.cpp.o):...
In file included from /Users/dylu/Documents/tun2socks/connector/connector.cpp:1: In file included from /Users/dylu/Documents/tun2socks/./connector/connector.h:14: In file included from /Users/dylu/Documents/tun2socks/./wrapper/lwip.hpp:5: In file included from /Users/dylu/Documents/tun2socks/lwip/src/include/lwip/init.h:40: /Users/dylu/Documents/tun2socks/lwip/src/include/lwip/opt.h:51:10: fatal error: 'lwipopts.h' file not found #include "lwipopts.h" ^~~~~~~~~~~~...
CMake Error at lwip/CMakeLists.txt:20 (add_dependencies): The dependency target "lwipdocs" of target "dist" does not exist.
Ask you a question, how to compile this project and install those dependent software packages
能不能把工程搞成Cmake的,这样好跨平台
1>------ 已启动生成: 项目: lwipcore, 配置: Debug x64 ------ 1>init.c 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\corecrt.h(212,7): error C2220: 以下警告被视为错误 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\corecrt.h(212,7): warning C4668: 没有将“__cplusplus”定义为预处理器宏,用“0”替换“#if/#elif” 1>def.c 1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\corecrt.h(212,7): error C2220:...