Skip to content
This repository has been archived by the owner on Nov 28, 2024. It is now read-only.

在mac下,make遇错 #4

Open
luckypoem opened this issue Sep 22, 2019 · 4 comments
Open

在mac下,make遇错 #4

luckypoem opened this issue Sep 22, 2019 · 4 comments

Comments

@luckypoem
Copy link

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
Copy link
Author

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

@microcai
Copy link
Member

xcode 没安装全。

@luckypoem
Copy link
Author

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

@briteming
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants