LVGL模拟器在Clion下的实现(win11+mingw64_gcc12+sdl2)

硬件开发评论250字数 546阅读1分49秒阅读模式

本文默认你已经安装了clion、Git、TortoiseGit(可选)

安装最新版MinGW-W64(ver:10;gcc_ver:12.2.0)

现在市面上的mingw安装教程的gcc版本大多停留在8.1.0版本,而非最新的12+版本,建议安装最新版。

新版本下载连接:https://github.com/niXman/mingw-builds-binaries/releases

安装方法及配置和旧版一样,如果不会请自行搜索引擎搜索,或看本文的演示视频,这里不做文字赘述。

安装SDL2库

库下载连接:https://www.libsdl.org/download-2.0.php

  1. 下载“SDL2-devel-2.24.0-mingw.tar.gz
  2. 将“SDL2-2.24.0\x86_64-w64-mingw32”文件夹下的所有内容复制到“mingw64”根文件夹

克隆“lv_port_pc_eclipse”项目

  1. 克隆“https://github.com/lvgl/lv_port_pc_eclipse”项目
  2. 更新项目子模块

用clion打开项目及故障排除

 


Warning: file_exists(): open_basedir restriction in effect. File(/www/wwwroot/www.yxjdzl.com/wp-content/uploads/2024/02) is not within the allowed path(s): (/www/wwwroot/yxjdzl.com/:/tmp/) in /www/wwwroot/yxjdzl.com/wp-includes/functions.php on line 2036

Warning: is_dir(): open_basedir restriction in effect. File(/www/wwwroot/www.yxjdzl.com/wp-content/uploads/2024) is not within the allowed path(s): (/www/wwwroot/yxjdzl.com/:/tmp/) in /www/wwwroot/yxjdzl.com/wp-includes/functions.php on line 2047

Warning: is_dir(): open_basedir restriction in effect. File(/www/wwwroot/www.yxjdzl.com/wp-content/uploads) is not within the allowed path(s): (/www/wwwroot/yxjdzl.com/:/tmp/) in /www/wwwroot/yxjdzl.com/wp-includes/functions.php on line 2047

Warning: is_dir(): open_basedir restriction in effect. File(/www/wwwroot/www.yxjdzl.com/wp-content) is not within the allowed path(s): (/www/wwwroot/yxjdzl.com/:/tmp/) in /www/wwwroot/yxjdzl.com/wp-includes/functions.php on line 2047

Warning: is_dir(): open_basedir restriction in effect. File(/www/wwwroot/www.yxjdzl.com) is not within the allowed path(s): (/www/wwwroot/yxjdzl.com/:/tmp/) in /www/wwwroot/yxjdzl.com/wp-includes/functions.php on line 2047

Warning: is_dir(): open_basedir restriction in effect. File(/www/wwwroot) is not within the allowed path(s): (/www/wwwroot/yxjdzl.com/:/tmp/) in /www/wwwroot/yxjdzl.com/wp-includes/functions.php on line 2047

Warning: is_dir(): open_basedir restriction in effect. File(/www) is not within the allowed path(s): (/www/wwwroot/yxjdzl.com/:/tmp/) in /www/wwwroot/yxjdzl.com/wp-includes/functions.php on line 2047

Warning: is_dir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/www/wwwroot/yxjdzl.com/:/tmp/) in /www/wwwroot/yxjdzl.com/wp-includes/functions.php on line 2047

Warning: is_dir(): open_basedir restriction in effect. File(/www/wwwroot/www.yxjdzl.com/wp-content/uploads/avatar) is not within the allowed path(s): (/www/wwwroot/yxjdzl.com/:/tmp/) in /www/wwwroot/yxjdzl.com/wp-content/themes/begin/inc/avatar-cache.php on line 7

Warning: file_exists(): open_basedir restriction in effect. File(/www/wwwroot/www.yxjdzl.com/wp-content/uploads/avatar) is not within the allowed path(s): (/www/wwwroot/yxjdzl.com/:/tmp/) in /www/wwwroot/yxjdzl.com/wp-includes/functions.php on line 2036

Warning: is_dir(): open_basedir restriction in effect. File(/www/wwwroot/www.yxjdzl.com/wp-content/uploads) is not within the allowed path(s): (/www/wwwroot/yxjdzl.com/:/tmp/) in /www/wwwroot/yxjdzl.com/wp-includes/functions.php on line 2047

Warning: is_dir(): open_basedir restriction in effect. File(/www/wwwroot/www.yxjdzl.com/wp-content) is not within the allowed path(s): (/www/wwwroot/yxjdzl.com/:/tmp/) in /www/wwwroot/yxjdzl.com/wp-includes/functions.php on line 2047

Warning: is_dir(): open_basedir restriction in effect. File(/www/wwwroot/www.yxjdzl.com) is not within the allowed path(s): (/www/wwwroot/yxjdzl.com/:/tmp/) in /www/wwwroot/yxjdzl.com/wp-includes/functions.php on line 2047

Warning: is_dir(): open_basedir restriction in effect. File(/www/wwwroot) is not within the allowed path(s): (/www/wwwroot/yxjdzl.com/:/tmp/) in /www/wwwroot/yxjdzl.com/wp-includes/functions.php on line 2047

Warning: is_dir(): open_basedir restriction in effect. File(/www) is not within the allowed path(s): (/www/wwwroot/yxjdzl.com/:/tmp/) in /www/wwwroot/yxjdzl.com/wp-includes/functions.php on line 2047

Warning: is_dir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/www/wwwroot/yxjdzl.com/:/tmp/) in /www/wwwroot/yxjdzl.com/wp-includes/functions.php on line 2047

Warning: is_file(): open_basedir restriction in effect. File(/www/wwwroot/www.yxjdzl.com/wp-content/uploads/avatar/b32f9e95aaf5f958e5327dc1538e4e1c96.png) is not within the allowed path(s): (/www/wwwroot/yxjdzl.com/:/tmp/) in /www/wwwroot/yxjdzl.com/wp-content/themes/begin/inc/avatar-cache.php on line 21

Warning: is_file(): open_basedir restriction in effect. File(/www/wwwroot/www.yxjdzl.com/wp-content/uploads/avatar/b32f9e95aaf5f958e5327dc1538e4e1c-d.png) is not within the allowed path(s): (/www/wwwroot/yxjdzl.com/:/tmp/) in /www/wwwroot/yxjdzl.com/wp-content/themes/begin/inc/avatar-cache.php on line 22

Warning: fopen(): open_basedir restriction in effect. File(/www/wwwroot/www.yxjdzl.com/wp-content/uploads/avatar/b32f9e95aaf5f958e5327dc1538e4e1c-d.png) is not within the allowed path(s): (/www/wwwroot/yxjdzl.com/:/tmp/) in /www/wwwroot/yxjdzl.com/wp-content/themes/begin/inc/avatar-cache.php on line 26

Warning: fopen(/www/wwwroot/www.yxjdzl.com/wp-content/uploads/avatar/b32f9e95aaf5f958e5327dc1538e4e1c-d.png): failed to open stream: Operation not permitted in /www/wwwroot/yxjdzl.com/wp-content/themes/begin/inc/avatar-cache.php on line 26

Warning: fclose() expects parameter 1 to be resource, bool given in /www/wwwroot/yxjdzl.com/wp-content/themes/begin/inc/avatar-cache.php on line 27
管理员
  • 本文由 发表于 2022年9月30日 10:54:52
  • 除非特殊声明,本站文章均为原创,转载请务必保留本文链接
自制美的变频空调检测仪二代 硬件开发

自制美的变频空调检测仪二代

检测仪简介 256*160大分辨率,适配外壳为125mm*80mm*32mm 支持5V i2c检测口和LNS检测口,修板子除通讯故障外均建议用i2c接口 自动判断当前插入的接口(5V i2c还是LNS...
匿名

发表评论

匿名网友 填写信息

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定