Error when cross-compiling ccmToFoam on OpenFOAM-v2406
I am trying to cross-compile ccmToFoam for OpenFOAM-v2406 on OpenSUSE.
-
First of all, I downloaded the libccmio library and copied into the ThirdParty folder: path/ThirdParty-v2406/libccmio-2.6.1
-
After that, I run "./makeCCMIO". I had folders "include" and "lib64" in path/ThirdParty-v2406/platforms/linux64Mingw/libccmio-2.6.1/
-
Then, go into /OpenFOAM-v2406/src/conversion/ccm and run "./Allwmake". In path/OpenFOAM-v2406/platforms/linux64MingwDPInt32Opt/lib will have 3 new files: libccm.dll | libccm.def | libccm.dll.a
-
Finally, go into OpenFOAM-v2406/applications/utilities/mesh/conversion/ccm and run "./Allwmake". I hope to create ccmToFoam.exe in path/OpenFOAM-v2406/platforms/linux64MingwDPInt32Opt/bin but I had errors.
Most of the errors are in the form of:
"undefined reference to `Foam::ccm::reader::options::options()"
Does anyone have any ideas on how to overcome these errors?
Thank you in advanced!