-
-
Notifications
You must be signed in to change notification settings - Fork 396
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
向项目添加openvdb失败 Could not install openvdb #4135
Comments
it works for me. you can check xmake-repo/packages/b/boost/xmake.lua Line 227 in f6c096e
|
I'm using Visual Studio 2022 Preview with MSVC v143 and Windows 11 SDK 10.0.22621.0. I installed C++ Clang tools for Windows (17.0.3 - x64/x86) in Visual Studio and manually added the installed clang-cl.exe to PATH. After that, xmake successfully installed boost1.84 when installing openvdb, but the compilation of openvdb failed:
|
Fixed with the following steps:
package:add("deps", package:version():ge("9.0.0") and "tbb <2021.0") Then it compiled. |
等 patch 后再试试 #4152 |
再试试 |
try again |
Still not working
|
我只是修了 boost 的问题,openvbd 我没修。。
应该是 openvbd 里面对 lz4 的依赖处理有问题 |
I only fixed the boost problem, but not openvbd. .
There should be a problem with lz4 dependency processing in openvbd |
这块要把级联依赖拆开才行,等我有时间看看 |
This requires taking apart the cascading dependencies. I’ll take a look at it when I have time. |
I worked out with forcing boost =1.78.0 in packages/o/openvdb/xmake.lua: --add_deps("boost >1.73", {configs = {regex = true, system = true, iostreams = true}})
add_deps("boost =1.78", {configs = {regex = true, system = true, iostreams = true}}) Otherwise it will automatically install boost 1.85.0, even boost 1.78 is already installed. Is there a way to allow it using boost 1.78? |
Thanks, done! |
使用workflow时遇到了同样的问题,更新到dev分支后解决 |
I encountered the same problem when using workflow, and solved it after updating to the dev branch. |
Xmake Version
2.9.2+dev.d8818c5b
Operating System Version and Architecture
Windows 10 Pro 10.0.19045
Describe Bug
Cannot add
openvdb
package to a project because the compilation ofboost 1.84
failed when installing openvdb.It's different with issue #4043 because adding
boost
itself to the project is fine. The problem is thatopenvdb
is not properly installed.Expected Behavior
Compile the project
Project Configuration
xmake.lua
main.cpp (under folder
src
)Additional Information and Error Logs
The text was updated successfully, but these errors were encountered: