Forum: System Workbench for STM32

I need to Generate Code again to compile the project with STM32CubeIDE

I use STM32CubeIDE Version: 1.0.1 Build: 3139_20190612-1256 (UTC) to develop my application. The device is the Nculeo-F746ZG discovery board.
In my configurations on the project, I enabled the freeRTOS and LWIP. I don’t have any problems in at the beginning.
But, after I closed the project and close the STM32CubeIDE, I open the STM32CubeIDE with project again. It failed to compile.
I got errors as following.

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

18:28:03 **** Incremental Build of configuration Debug for project PosPrinterSimulator ****
make -j8 all
arm-none-eabi-gcc “../Src/main.c” -mcpu=cortex-m7 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSTM32F746xx -DDEBUG -c -I../Inc -I../Drivers/CMSIS/Include -I../Drivers/CMSIS/Device/ST/STM32F7xx/Include -I../Drivers/STM32F7xx_HAL_Driver/Inc -I../Drivers/STM32F7xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF”Src/main.d” -MT”Src/main.o” --specs=nano.specs -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -o “Src/main.o”
../Src/main.c:23:10: fatal error: cmsis_os.h: No such file or directory
#include “cmsis_os.h”
^~~~~~~~~~~~
compilation terminated.
make: *** Src/subdir.mk:51: Src/main.o Error 1
“make -j8 all” terminated with exit code 2. Build might be incomplete.

18:28:04 Build Failed. 2 errors, 0 warnings. (took 925ms)

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

After I generated code of project, I could compile the project without any problem.
Any idea to me to solve this problem?