avpn icon indicating copy to clipboard operation
avpn copied to clipboard

在mac下,make遇错

Open luckypoem opened this issue 4 years ago • 4 comments

hi。

我运行make,显示: ... [ 67%] Built target fmt Scanning dependencies of target vpncore [ 67%] Linking CXX static library libvpncore.a ar: no archive members specified usage: ar -d [-TLsv] archive file ... ar -m [-TLsv] archive file ... ar -m [-abiTLsv] position archive file ... ar -p [-TLsv] archive [file ...] ar -q [-cTLsv] archive file ... ar -r [-cuTLsv] archive file ... ar -r [-abciuTLsv] position archive file ... ar -t [-TLsv] archive [file ...] ar -x [-ouTLsv] archive [file ...] make[2]: *** [vpncore/libvpncore.a] Error 1 make[1]: *** [vpncore/CMakeFiles/vpncore.dir/all] Error 2 make: *** [all] Error 2 yudeMacBook-Air:avpn-master brite$ ls CMakeCache.txt README.md third_party CMakeFiles avpn tun2socks.service CMakeLists.txt bin tun2socks.service.in LICENSE cmake vpncore Makefile cmake_install.cmake yudeMacBook-Air:avpn-master brite$ ls bin yudeMacBook-Air:avpn-master brite$

如何解决?

luckypoem avatar Sep 22 '19 08:09 luckypoem

搜索到这个:https://stackoverflow.com/questions/19829281/cmake-os-x-failure-ar-no-archive-members-specific?rq=1 ,没看懂,作者指点一下?

luckypoem avatar Sep 22 '19 10:09 luckypoem

xcode 没安装全。

microcai avatar Sep 23 '19 01:09 microcai

@microcai 你好。可提供mac上的可执行文件下载吗

luckypoem avatar Sep 23 '19 03:09 luckypoem

@microcai 你说“xcode 没安装全。”, 怎样才算xcode安装全了?

briteming avatar Dec 15 '19 14:12 briteming