您尚未登录。

#1 Re: 全志 SOC » F1C100s在使用RThread时如何不经过RT bootloader直接运行app? » 2025-08-06 18:32:38

env下编译不成功,提示如下:
RT-Thread Env Tool for Windows (V1.3.5)
\ | /
- RT -     Thread Operating System
/ | \
2006 - 2022 Copyright by RT-Thread team

Administrator@PC-20200414XXFZ E:\RTT_Project\rt-thread-v4.0.1\bsp\allwinner_tina_prj_v1
$ scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets: build
CC build\applications\Apps\UartCursor.o
In file included from E:\RTT_Project\rt-thread-v4.0.1\include/libc/libc_signal.h:67,
                 from E:\RTT_Project\rt-thread-v4.0.1\include/rtlibc.h:21,
                 from E:\RTT_Project\rt-thread-v4.0.1\include/rtdef.h:1080,
                 from E:\RTT_Project\rt-thread-v4.0.1\include/rtthread.h:24,
                 from applications\Apps\UartCursor.c:2:
d:\programfiles\env-windows-v1.3.5\tools\gnu_gcc\arm_gcc\mingw\arm-none-eabi\include\sys\signal.h:42:7: error: redefinition of 'union sigval'
   42 | union sigval {
      |       ^~~~~~
In file included from E:\RTT_Project\rt-thread-v4.0.1\include/rtlibc.h:21,
                 from E:\RTT_Project\rt-thread-v4.0.1\include/rtdef.h:1080,
                 from E:\RTT_Project\rt-thread-v4.0.1\include/rtthread.h:24,
                 from applications\Apps\UartCursor.c:2:
E:\RTT_Project\rt-thread-v4.0.1\include/libc/libc_signal.h:27:7: note: originally defined here
   27 | union sigval
      |       ^~~~~~
In file included from E:\RTT_Project\rt-thread-v4.0.1\include/libc/libc_signal.h:67,
                 from E:\RTT_Project\rt-thread-v4.0.1\include/rtlibc.h:21,
                 from E:\RTT_Project\rt-thread-v4.0.1\include/rtdef.h:1080,
                 from E:\RTT_Project\rt-thread-v4.0.1\include/rtthread.h:24,
                 from applications\Apps\UartCursor.c:2:
d:\programfiles\env-windows-v1.3.5\tools\gnu_gcc\arm_gcc\mingw\arm-none-eabi\include\sys\signal.h:47:8: error: redefinition of 'struct sigevent'
   47 | struct sigevent {
      |        ^~~~~~~~
In file included from E:\RTT_Project\rt-thread-v4.0.1\include/rtlibc.h:21,
                 from E:\RTT_Project\rt-thread-v4.0.1\include/rtdef.h:1080,
                 from E:\RTT_Project\rt-thread-v4.0.1\include/rtthread.h:24,
                 from applications\Apps\UartCursor.c:2:
E:\RTT_Project\rt-thread-v4.0.1\include/libc/libc_signal.h:35:8: note: originally defined here
   35 | struct sigevent
      |        ^~~~~~~~
In file included from E:\RTT_Project\rt-thread-v4.0.1\include/libc/libc_signal.h:67,
                 from E:\RTT_Project\rt-thread-v4.0.1\include/rtlibc.h:21,
                 from E:\RTT_Project\rt-thread-v4.0.1\include/rtdef.h:1080,
                 from E:\RTT_Project\rt-thread-v4.0.1\include/rtthread.h:24,
                 from applications\Apps\UartCursor.c:2:
d:\programfiles\env-windows-v1.3.5\tools\gnu_gcc\arm_gcc\mingw\arm-none-eabi\include\sys\signal.h:72:3: error: conflicting types for 'siginfo_t'
   72 | } siginfo_t;
      |   ^~~~~~~~~
In file included from E:\RTT_Project\rt-thread-v4.0.1\include/rtlibc.h:21,
                 from E:\RTT_Project\rt-thread-v4.0.1\include/rtdef.h:1080,
                 from E:\RTT_Project\rt-thread-v4.0.1\include/rtthread.h:24,
                 from applications\Apps\UartCursor.c:2:
E:\RTT_Project\rt-thread-v4.0.1\include/libc/libc_signal.h:54:24: note: previous declaration of 'siginfo_t' was here
   54 | typedef struct siginfo siginfo_t;
      |                        ^~~~~~~~~
scons: *** [build\applications\Apps\UartCursor.o] Error 1
scons: building terminated because of errors.

Administrator@PC-20200414XXFZ E:\RTT_Project\rt-thread-v4.0.1\bsp\allwinner_tina_prj_v1
$

源码中的定义怎么和ENV环境中的变量冲突定义,这是怎么回事?有人知道吗?

#3 Re: 全志 SOC » 基于RTThread的F1C100s开发(带boot启动+硬件多图层+硬件游标+LVGL+SDIO) » 2025-07-09 18:39:45

DDER 说:

@koeijam
官方有 RT-Thread Studio 安装好后,自带编译器。创建工程,点点几下就配置好了的。
扩展包也是点选几下就下载好了,很方便

如何创建rt studio F1C100S 项目??

#8 Re: 计算机图形/GUI/RTOS/FileSystem/OpenGL/DirectX/SDL2 » LittleVGL VS2019 仿真安装教程 » 2020-04-18 00:35:09

vs studio 仿真 little vgl 折磨我一天了。一开始用VS STUIDO 2019,不大行,后来用2017,确实遇到UT8问题,没管它。谢谢楼主分享。

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn