-
-
Notifications
You must be signed in to change notification settings - Fork 415
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
安装包时发生错误,显示"versions.txt" #5971
Comments
不要去单独执行 xmake f -cvD
xmake -rvD 给下完整 logs |
然后
我系统里没装curlpp,它显示"找到system::curlpp" |
但是目前看 就是找到系统了,有可能是你系统里有库,但是没头文件。你可以 |
But currently, the system is found. It may be that there are libraries in your system, but no header files. You can force remote installation with |
添加system=false之后它确实从远程安装包了,然后可以编译+运行
顺带问一下,我怎么设置让每个工程使用单独的包安装路径,以免它们都用全局的安装路径(~/.xmake/packages) |
After adding system=false, it does install the package remotely, and then it can be compiled and run.
By the way, how can I set each project to use a separate package installation path so that they all use the global installation path (~/.xmake/packages) |
设置 package.install_locally policy |
(o゚v゚)ノ |
Xmake 版本
2.9.6
操作系统版本和架构
Linux lunadomo 5.15.167.4-microsoft-standard-WSL2 xmake-io/xmake#1 SMP Tue Nov 5 00:21:55 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
描述问题
添加了
add_requires("curlpp")
包, 执行xmake q时显示"versions.txt",而包并没有安装上去然后在编译过程出错
期待的结果
理论上它应当下载并安装curlpp包
工程配置
err-test-curlpp.zip
附加信息和错误日志
The text was updated successfully, but these errors were encountered: