CMake Error at C:/Users/PS/.conda/envs/mfix-22.2.2/Library/share/cmake-3.31

hello everyone:
I installed the mfix-22.2.2 in anaconda-24.9.2 in win10 OS.
then, I test the tutorial case of “fluid_bed_dem_2d” with SMP, but error reported as below:

– Setting build type to ‘RelWithDebInfo’ as none was specified.
– MFIX build settings summary:
– Build type = RelWithDebInfo
– CMake version = 3.31.5
– Fortran compiler = gfortran
– Fortran flags =
– ENABLE_MPI = OFF
– ENABLE_OpenMP = 1
– ENABLE_CTEST = OFF
– ENABLE_COVERAGE = OFF
– The C compiler identification is GNU 5.3.0
– The Fortran compiler identification is unknown
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Check for working C compiler: C:/Users/PS/.conda/envs/mfix-22.2.2/Library/mingw-w64/bin/cc.exe - skipped
– Detecting C compile features
– Detecting C compile features - done
– Detecting Fortran compiler ABI info
– Detecting Fortran compiler ABI info - failed
– Check for working Fortran compiler: C:/Users/PS/.conda/envs/mfix-22.2.2/Library/mingw-w64/bin/gfortran.exe
– Check for working Fortran compiler: C:/Users/PS/.conda/envs/mfix-22.2.2/Library/mingw-w64/bin/gfortran.exe - broken
CMake Error at C:/Users/PS/.conda/envs/mfix-22.2.2/Library/share/cmake-3.31/Modules/CMakeTestFortranCompiler.cmake:59 (message):
The Fortran compiler

"C:/Users/PS/.conda/envs/mfix-22.2.2/Library/mingw-w64/bin/gfortran.exe"

is not able to compile a simple test program.

It fails with the following output:

Change Dir: 'D:/sc/02-download/fluid_bed_dem_2d/build/CMakeFiles/CMakeScratch/TryCompile-9pdzdy'

Run Build Command(s): C:/Users/PS/.conda/envs/mfix-22.2.2/Library/bin/cmake.exe -E env VERBOSE=1 C:/Users/PS/.conda/envs/mfix-22.2.2/Library/mingw-w64/bin/mingw32-make.exe -f Makefile cmTC_9599d/fast
C:/Users/PS/.conda/envs/mfix-22.2.2/Library/mingw-w64/bin/mingw32-make.exe  -f CMakeFiles\cmTC_9599d.dir\build.make CMakeFiles/cmTC_9599d.dir/build
mingw32-make.exe[1]: Entering directory 'D:/sc/02-download/fluid_bed_dem_2d/build/CMakeFiles/CMakeScratch/TryCompile-9pdzdy'
Building Fortran object CMakeFiles/cmTC_9599d.dir/testFortranCompiler.f.obj
C:\Users\PS\.conda\envs\mfix-22.2.2\Library\mingw-w64\bin\gfortran.exe    -c D:\sc\02-download\fluid_bed_dem_2d\build\CMakeFiles\CMakeScratch\TryCompile-9pdzdy\testFortranCompiler.f -o CMakeFiles\cmTC_9599d.dir\testFortranCompiler.f.obj
<built-in>: internal compiler error: Segmentation fault
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://sourceforge.net/projects/msys2> for instructions.
CMakeFiles\cmTC_9599d.dir\build.make:79: recipe for target 'CMakeFiles/cmTC_9599d.dir/testFortranCompiler.f.obj' failed
mingw32-make.exe[1]: *** [CMakeFiles/cmTC_9599d.dir/testFortranCompiler.f.obj] Error 1
mingw32-make.exe[1]: Leaving directory 'D:/sc/02-download/fluid_bed_dem_2d/build/CMakeFiles/CMakeScratch/TryCompile-9pdzdy'
Makefile:133: recipe for target 'cmTC_9599d/fast' failed
mingw32-make.exe: *** [cmTC_9599d/fast] Error 2

CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:20 (project)

– Configuring incomplete, errors occurred!

                 BUILD FAILED

==========================================================================

then i tried to update the gcc and gfortran as below:
(mfix-22.2.2) C:\Users\PS>conda install -c conda-forge gcc gfortran
but, it fail:
Could not solve for environment specs
The following packages are incompatible
├─ gcc is installable and it requires
│ └─ gcc_impl_win-64 [13.2.0.* |13.3.0.* |14.1.0.* |14.2.0.* ], which requires
│ ├─ libgcc >=14.2.0 , which requires
│ │ └─ msys2-conda-epoch <0.0a0 , which can be installed;
│ └─ libgomp [>=13.2.0 |>=13.3.0 |>=14.1.0 ], which requires
│ └─ msys2-conda-epoch <0.0a0 , which can be installed;
├─ gfortran is installable and it requires
│ ├─ gcc [13.2.0.* |13.3.0.* |14.1.0.* ], which can be installed (as previously explained);
│ └─ gfortran_impl_win-64 14.2.0.* , which requires
│ └─ libgcc >=14.2.0 , which can be installed (as previously explained);
├─ mfix-solver is installable with the potential options
│ ├─ mfix-solver 18.1.5 would require
│ │ └─ python >=3.6,<3.7.0a0 , which can be installed;
│ ├─ mfix-solver [19.1.4|19.2.2|…|21.1.4] would require
│ │ └─ python >=3.7,<3.8.0a0 , which can be installed;
│ ├─ mfix-solver [21.2|21.3.2|21.4] would require
│ │ └─ python >=3.8,<3.9.0a0 , which can be installed;
│ ├─ mfix-solver 22.1.1 would require
│ │ └─ python >=3.9,<3.10.0a0 , which can be installed;
│ └─ mfix-solver [24.1|24.1.1|…|99.9.9] would require
│ └─ python >=3.11,<3.12.0a0 , which can be installed;
├─ mfix-solver [ |22.2.2 ] is not installable because it requires
│ └─ m2w64-toolchain, which requires
│ └─ msys2-conda-epoch [20160418 |>=20160418 ], which conflicts with any installable versions previously reported;
└─ pin-1 is not installable because it requires
└─ python 3.10.* , which conflicts with any installable versions previously reported.
what should i do???
bug report file is uploaded below:
fluid_bed_dem_2d_2025-02-21T115628.995729.zip (148.3 KB)

Does MFiX 24.4.1 work?

yes,mfix-24.4 works,
but, due to some reasons, i have to use the mfix-22.2.2.
Is there any methods can solve the problem?