STM32F49BIT6使用RT Thread Studio 2.2.3 版本4.1.0系统,添加sdram和LTDC驱动后,RGB屏幕正常启动,添加LVGL库和对应的5个接口文件,debug后报下面错误:
make -j8 all
linking...
arm-none-eabi-gcc: error: CreateProcess: No such file or directory
make: *** [makefile:179: rtthread.elf] Error 1
"make -j8 all" terminated with exit code 2. Build might be incomplete.
后在“项目”->"解除命令行长度限制",包下面错误:
make -j8 all
process_begin: CreateProcess(NULL, project_linker.exe link.temp arm-none-eabi-gcc, ...) failed.
make (e=2): 系统找不到指定的文件。
make: *** [makefile:179: rtthread.elf] Error 2
"make -j8 all" terminated with exit code 2. Build might be incomplete.
怎么解决?
应该是这个的问题,但是现在又报其它的错误
./packages/LVGL-v8.2.0/src/misc/lv_printf.o: In function `rt_snprintf':
E:workspaceFK_F429M2FK-F429BIT6M2-LTDC-LVGLDebug/../packages/LVGL-v8.2.0/src/misc/lv_printf.c:866: multiple definition of `rt_snprintf'
./rt-thread/src/kservice.o:E:workspaceFK_F429M2FK-F429BIT6M2-LTDC-LVGLDebug/../rt-thread/src/kservice.c:1131: first defined here
collect2.exe: error: ld returned 1 exit status
make: * [makefile:109: rtthread.elf] Error 1
"make -j8 all" terminated with exit code 2. Build might be incomplete.
01:57:27 Build Failed. 3 errors, 1008 warnings. (took 17s.531ms)
如果使用little2RTT软件包,则一切正常