1
$\begingroup$

When I bake a fluid simulation in FLIP Fluids(which a built from source using Visual Studio 16 2019),it shows the error

Cannot find fluid engine library: libblpyfluid.dll.

I really want to use flip fluids and mantaflow seems to be less powerful.

On https://blog.dodslaser.se/Building-and-Installing-the-Blender-FLIP-Fluids-Addon-from-Source/ I did try to change

if system == "Windows": libname = "libblpyfluid.dll" to

if system == "Windows": libname = "blpyfluid.dll")

Specs:
OS:Windows 10 insider build 18956
Blender version: blender 2.80
CPU: Intel(R) Core(TM) i7-4610M CPU @ 3.00GHz
GPU: using integrated graphics with PHDGD Skylake v2.9 custom driver(i tried it without it and same error)

wanting t build it to see if any limitatios are not in the build one(RLGUY could you update your answer for this?)

$\endgroup$
1
$\begingroup$

According to a note on the the GitHub repository, the Microsoft Visual Studio Compiler is not officially supported:

WARNING: Compilation using MSVC (Microsoft Visual Studio Compiler) is experimental and not officially supported. Building with MSVC may result in errors and performance issues.

When building the FLIP Fluids addon for Windows, the MinGW compiler should be used to avoid potential errors and to ensure the simulator runs correctly.

$\endgroup$
  • $\begingroup$ RLguy you still here? got ploblem when compiling in Mingw makeflies imgur.com/a/1DYY40Y $\endgroup$ – TNT Man Inc Sep 24 '19 at 11:15
  • $\begingroup$ At first glace it looks like your development environment might not be set up correctly with the installed MinGW compiler and GNU Make utility, or that CMake is unable to locate your MinGW installation or GNU Make installation. This seems like more of a programming related question rather than a Blender question and you might have better luck at finding a solution on the programming related stack exchanges. $\endgroup$ – RLGUY Sep 24 '19 at 18:31
  • $\begingroup$ ok yeah i did not install it properly and i also had to add C:\MinGW\bin to my Path(not PATH) system variables. but i still got the error,should i also build with Open_CL?(console error here:pastebin.com/F3NqFSkF) $\endgroup$ – TNT Man Inc Sep 29 '19 at 11:36
  • $\begingroup$ You had mentioned in the question that you modified the source to look for blpyfluid.dll instead of libblpyfluid.dll. I would suggest reverting back to the original source. When the addon is built in a supported compiler, it will generate the .dll as libblpyfluid.dll. $\endgroup$ – RLGUY Sep 29 '19 at 18:35
  • 1
    $\begingroup$ built it from cmd using mingw.no file in the lib folder $\endgroup$ – TNT Man Inc Oct 2 '19 at 12:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.