-
-
Notifications
You must be signed in to change notification settings - Fork 399
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
boost库默认配置存在问题 #5693
Comments
Title: There is a problem with the boost library |
boost 一些头文件库 ,依赖一些 buildable (非头文件库),目前 cmake 处理不了这种 asio(header-only) 和 data_time(buildable) 的依赖问题。 现在有几个选择:
|
Some boost header libraries depend on some buildable (non-header libraries). Currently, cmake cannot handle this dependency problem of asio (header-only) and data_time (buildable). There are several options now:
|
Xmake 版本
v2.9.6+dev.86936573d
操作系统版本和架构
windows 11
描述问题
写如下的代码
xmake.lua如下
编译会报错如下
可以看到是找不到
boost/date_time/posix_time/posix_time_types.hpp
,对于什么config都不带的boost库,是否应该保证启用的这些库都能正常使用呢,不然启用这个库不能使用也没用期待的结果
什么config都不带的情况下,加入了boost依赖,对于包含进去的库,应该都能正常使用
工程配置
已提供
附加信息和错误日志
已提供
The text was updated successfully, but these errors were encountered: