msys2 / MINGW-packages

Package scripts for MinGW-w64 targets to build under MSYS2.
https://packages.msys2.org
BSD 3-Clause "New" or "Revised" License
2.25k stars 1.21k forks source link

Blender is missing a dependency #6737

Closed ghost closed 1 year ago

ghost commented 4 years ago

The mingw-w64-x86_64-blender package seems to depend on mingw-w64-x86_64-openvdb, but this isn't listed as a dependency and installed automatically. After I installed blender I got a DLL not found error for libopenvdb.dll, and installing mingw-w64-x86_64-openvdb fixed it.

lazka commented 4 years ago

PR welcome

ghost commented 4 years ago

I noticed that the line is commented out with the text # there are missing export symbols in openvdb DLL, but I'm not familiar with this stuff and I have no idea what that means.

revelator commented 4 years ago

Means some nessesary function names are not exported correctly to the library so a blender build might keel over because it cannot find them. One way to get around missing exports would be to add -Wl,--export all-symbols to the linker flags, there was another package which had this problem namely mlpack which was caused by lack of that specific functionality in cmake (worked in msvc not so much with gcc).

MehdiChinoune commented 1 year ago

fixed, blender now builds with OpenVDB.