Getting LVGL Symulator does not work

I ma running win11 and have CodeBlockes 20.03 with MinWG installed. I have followed the instructions at the following link: GitHub - lvgl/lv_port_win_codeblocks: Windows PC simulator project for LVGL embedded GUI Library. I get the following message in the Build Log:
G:\My Drive\Bruce Morris\Ventilation Monitor\ESP_Ventilator\lv_sim_codeblocks_win\main.c:56:5: warning: implicit declaration of function ‘lv_demo_widgets’; did you mean ‘lv_clamp_width’? [-Wimplicit-function-declaration]
G:\My Drive\Bruce Morris\Ventilation Monitor\ESP_Ventilator\lv_sim_codeblocks_win\main.c: At top level:
G:\My Drive\Bruce Morris\Ventilation Monitor\ESP_Ventilator\lv_sim_codeblocks_win\main.c:30:13: warning: ‘hal_init’ declared ‘static’ but never defined [-Wunused-function]
static void hal_init(void);
G:\My Drive\Bruce Morris\Ventilation Monitor\ESP_Ventilator\lv_sim_codeblocks_win\main.c:31:12: warning: ‘tick_thread’ declared ‘static’ but never defined [-Wunused-function]
static int tick_thread(void *data);
Output file is bin\Debug\LittlevGL.exe with size 8.62 MB
Process terminated with status 0 (4 minute(s), 44 second(s))
0 error(s), 10 warning(s) (4 minute(s), 44 second(s))

-------------- Run: Debug in LittlevGL (compiler: GNU GCC Compiler)---------------

Checking for existence: G:\My Drive\Bruce Morris\Ventilation Monitor\ESP_Ventilator\lv_sim_codeblocks_win\bin\Debug\LittlevGL.exe
Set variable: PATH=.;C:\Program Files\CodeBlocks\MinGW\bin;C:\Program Files\CodeBlocks\MinGW;C:\Program Files\Microsoft\jdk-\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\PuTTY;C:\Program Files\Git\cmd;C:\Program Files (x86)\STMicroelectronics\STM32 ST-LINK Utility\ST-LINK Utility;C:\Users\bm240\AppData\Programs\Python\Python39;C:\Users\bm240\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\Scripts;;C:\Program Files\dotnet;C:\Users\bm240\AppData\Local\Microsoft\WindowsApps;\ C\Python39\Scripts;C:\Users\bm240.dotnet\tools
Executing: “G:\My Drive\Bruce Morris\Ventilation Monitor\ESP_Ventilator\lv_sim_codeblocks_win\bin\Debug\LittlevGL.exe” (in G:\My Drive\Bruce Morris\Ventilation Monitor\ESP_Ventilator\lv_sim_codeblocks_win.)

And it displays a demo: What am I doing wrong?

Sorry, I’m not sure whether I understand you correctly:
You downloaded the LVGL simulator, compile it, and let it run.
And now you are wondering about seeing the LVGL demo?

Yes All I get is the LVGL demo. If I close the demo or the CMD box behind it I am back with the CodeBlocks prompt. If I hit RUN once again all I get is the demo. How do I get from here to start building a screen.

That’s exactely what the simulator is good for.
Instead of showing a blank (black) screen, the simulator shows the demo.

Take a look at the file main.c. You will find this code:

int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR szCmdLine, int nCmdShow)
    /*Initialize LittlevGL*/

    /*Initialize the HAL for LittlevGL*/
    lv_win32_init(hInstance, SW_SHOWNORMAL, 800, 480, NULL);

    /*Output prompt information to the console, you can also use printf() to print directly*/
    LV_LOG_USER("LVGL initialization completed!");

    /*Run the demo*/

    while(!lv_win32_quit_signal) {
        /* Periodically call the lv_task handler.
         * It could be done in a timer interrupt or an OS task too.*/
        usleep(10000);       /*Just to let the system breath*/
    return 0;

The function call lv_demo_widgets(); does call the lvgl demo.
You can comment it out and replace it with your own lvgl code.