Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants