PC simulator project for LittlevGL embedded GUI Library for Windows in Codeblocks
This requires the MinGW version of Code::blocks 20.03 or newer to be installed.
- Download and install Git
- Download CodeBlocks in latest version. It is strongly recommended to use the version which includes MinGW, as otherwise you will have to install and configure it separately, and there have been issues reported with missing header files when a standalone MinGW installation is used.
- If the version of Code::blocks <= 20.03, then MinGW need upgrade.
- Clone this repository:
- Open Command prompt (Win key + R -> cmd -> Enter) or PowerShell (Win key + R -> powershell -> Enter) or Git bash (if you want different folder than C:/Users/username you have to navigate to it) and type:
git clone --recurse-submodules https://github.com/lvgl/lv_port_win_codeblocks.git
- Open Command prompt (Win key + R -> cmd -> Enter) or PowerShell (Win key + R -> powershell -> Enter) or Git bash (if you want different folder than C:/Users/username you have to navigate to it) and type:
- Open CodeBlocks and first set use flat objcts.
- And then select Open an existing project. Navigate to the lv_sim_codeblocks_win folder and select lvgl.cbp.
- Click on Build and Run or press F9.
- If everything goes well, you should see your simulator running.