CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Error when attempting to compile new solver (https://www.cfd-online.com/Forums/openfoam-solving/255552-error-when-attempting-compile-new-solver.html)

flyingelephant137 April 16, 2024 12:47

Error when attempting to compile new solver
 
Hi, I am using openfoam on docker in macos. I am using the icoFoam solver and added several libraries to make the simulations more efficient. I added libraries such as "CourantNo.H" and "setDeltaT.H". Then I attempted to compile the solver with wmake, but am getting a ton of errors.

Multiple errors of the same kind:

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/locale:1801:64: error: reference to unresolved using declaration. ios_base::iostate& __err, tm* __tm) const;
.................................................. ....^

I am not sure whether this is an openfoam error, or an environmental error. Someone please help!


All times are GMT -4. The time now is 14:41.