Hi developers. I’m using the MFIX program well, but there was an error when I was trying to build solver. Please let me know how I can fix this error. I’ve also entered codes like cd %CONDA_PREFIX% , mkdir bin, copy scripts\mfix solver*.* bin and tried it, but it didn’t work out.
CMake Error: Target DependInfo.cmake file not found
Building Fortran object model/CMakeFiles/mfixcore.dir/DGTSV.f.obj
Building Fortran object model/CMakeFiles/mfixcore.dir/GhdTheory/adjust_eps_ghd.f.obj
Building Fortran object model/CMakeFiles/mfixcore.dir/GhdTheory/bulk_viscosity.f.obj
Building Fortran object model/CMakeFiles/mfixcore.dir/GhdTheory/calc_d_ghd.f.obj
, .
, .
, .
model\CMakeFiles\mfixcore.dir\build.make:74: recipe for target ‘model/CMakeFiles/mfixcore.dir/DGTSV.f.obj’ failed
mingw32-make.exe[2]: *** [model/CMakeFiles/mfixcore.dir/DGTSV.f.obj] Error 1
mingw32-make.exe[2]: *** Waiting for unfinished jobs…
model\CMakeFiles\mfixcore.dir\build.make:88: recipe for target ‘model/CMakeFiles/mfixcore.dir/GhdTheory/adjust_eps_ghd.f.obj’ failed
mingw32-make.exe[2]: *** [model/CMakeFiles/mfixcore.dir/GhdTheory/adjust_eps_ghd.f.obj] Error 1
model\CMakeFiles\mfixcore.dir\build.make:102: recipe for target ‘model/CMakeFiles/mfixcore.dir/GhdTheory/bulk_viscosity.f.obj’ failed
mingw32-make.exe[2]: *** [model/CMakeFiles/mfixcore.dir/GhdTheory/bulk_viscosity.f.obj] Error 1
, .
model\CMakeFiles\mfixcore.dir\build.make:116: recipe for target ‘model/CMakeFiles/mfixcore.dir/GhdTheory/calc_d_ghd.f.obj’ failed
mingw32-make.exe[2]: *** [model/CMakeFiles/mfixcore.dir/GhdTheory/calc_d_ghd.f.obj] Error 1
CMakeFiles\Makefile2:180: recipe for target ‘model/CMakeFiles/mfixcore.dir/all’ failed
mingw32-make.exe[1]: *** [model/CMakeFiles/mfixcore.dir/all] Error 2
Makefile:134: recipe for target ‘all’ failed
mingw32-make.exe: *** [all] Error 2
BUILD FAILED
Please go to the main MFiX menu, select “Submit bug report”, and attach the resulting ZIP file here.
– Charles
Thank you.
Looking at build.log
in the bug report I see
-- Build files have been written to: C:/Users/lg/OneDrive/ /silane_pyrolysis_tfm_2d/build
I don’t know why that space is in there but that might be part of the problem - although in a perfect world, all software would support filenames and pathnames containing spaces, sometimes this is a problem… (our world is far from perfect, in case you haven’t noticed). It also looks like this space may be inadvertent since it occurs as a subfolder name - did you really mean to do that?
Can you see if you can figure out where that space is coming from in the file name. If I build in a directory without space in the name it works for me.
If that doesn’t help, can you try the build again with “Verbose build output” enabled in the build popup and post the build.log
file here?
Thanks,
- Charles