# How to build FMUSimulator and FMILibrary CMake GUI for generating Visual Studio project files from FMILibrary sources Remember to manually delete CMakeCache and CMakeFiles from FMILibrary/build/expatex/-folder NOTE: When building the libfmilib_shared.so, we need to replace fmi_util.c file under "/src/Util/src/FMI/fmi_util.c" with contents of fmi_util.c.txt, located under /native/FMUSimulator/fmi_util.c.txt. The Dockerfile already does this so if you build the libfmilib_shared.so with that, then you needn't worry about this.