您尚未登录。

楼主 #1 2018-10-17 11:07:07

gzbkey
会员
注册时间: 2018-10-17
已发帖子: 6
积分: 6

使用qt编译littlevgl出现错误,求教

按照晕哥的教程 https://whycan.cn/t_714.html
win7-64、qt5.11.2、mingw32 5.3.0、SDL2-2.0.8

出现大量类似以下错误提示

process_begin: CreateProcess(NULL, pwd, ...) failed.
mingw32-make: Makefile:95: pipe: No error

In file included from lvgl/lv_misc/lv_task.h:25:0,
                 from lvgl/lvgl.h:19,
                 from main.c:14:
lvgl/lv_misc/lv_mem.h:37:6: warning: "__x86_64__" is not defined [-Wundef]
# if __x86_64__ || __ppc64__
      ^

应改怎么处理???

离线

楼主 #3 2018-10-17 11:24:57

gzbkey
会员
注册时间: 2018-10-17
已发帖子: 6
积分: 6

Re: 使用qt编译littlevgl出现错误,求教

qtcreator_ctrlc_stub.exe  D:\Qt\Qt5.11.2\Tools\QtCreator\bin\qtcreator_ctrlc_stub.exe  D:\Qt\Qt5.11.2\Tools\mingw530_32\bin\mingw32-make.exe all

mingw32-make.exe          D:\Qt\Qt5.11.2\Tools\mingw530_32\bin\mingw32-make.exe all
gcc.exe                   gcc -o demo main.o lv_group.o lv_indev.o lv_obj.o lv_refr.o lv_style.o lv_vdb.o lv_hal_disp.o lv_hal_indev.o lv_hal_tick.o lv_arc.o lv_bar.o lv_cb.o lv_ddlist.o lv_kb.o lv_line.o lv_mbox.o lv_preload.o lv_roller.o lv_tabview.o lv_btn.o lv_calendar.o lv_chart.o lv_gauge.o lv_label.o lv_list.o lv_slider.o lv_ta.o lv_btnm.o lv_cont.o lv_img.o lv_led.o lv_lmeter.o lv_page.o lv_sw.o lv_win.o lv_font_builtin.o lv_font_dejavu_10.o lv_font_dejavu_20.o lv_font_dejavu_30.o lv_font_dejavu_40.o lv_font_dejavu_10_cyrillic.o lv_font_dejavu_20_cyrillic.o lv_font_dejavu_30_cyrillic.o lv_font_dejavu_40_cyrillic.o lv_font_dejavu_10_latin_sup.o lv_font_dejavu_20_latin_sup.o lv_font_dejavu_30_latin_sup.o lv_font_dejavu_40_latin_sup.o lv_font_symbol_10.o lv_font_symbol_20.o lv_font_symbol_30.o lv_font_symbol_40.o lv_font.o lv_circ.o lv_area.o lv_task.o lv_fs.o lv_anim.o lv_mem.o lv_ll.o lv_color.o lv_txt.o lv_ufs.o lv_math.o lv_log.o lv_theme_alien.o lv_theme.o lv_theme_default.o lv_theme_night.o lv_theme_templ.o lv_theme_zen.o lv_theme_material.o lv_theme_nemo.o lv_theme_mono.o lv_draw_vbasic.o lv_draw_rbasic.o lv_draw.o lv_draw_rect.o lv_draw_label.o lv_draw_line.o lv_draw_img.o lv_draw_arc.o lv_draw_triangle.o fbdev.o monitor.o R61581.o SSD1963.o ST7565.o FT5406EE8.o keyboard.o mouse.o encoder.o evdev.o XPT2046.o lv_test_obj.o lv_test_stress.o lv_test_theme.o lv_test_group.o lv_test_bar.o lv_test_btn.o lv_test_btnm.o lv_test_cb.o lv_test_chart.o lv_test_cont.o lv_test_ddlist.o lv_test_gauge.o lv_test_img.o img_flower_icon.o lv_test_kb.o lv_test_label.o lv_test_led.o lv_test_line.o lv_test_list.o lv_test_lmeter.o lv_test_mbox.o lv_test_page.o lv_test_roller.o lv_test_slider.o lv_test_sw.o lv_test_ta.o lv_test_tabview.o lv_test_win.o benchmark.o benchmark_bg.o demo.o img_bubble_pattern.o sysmon.o terminal.o tpcal.o lv_tutorial_hello_world.o lv_tutorial_objects.o lv_tutorial_styles.o lv_tutorial_themes.o lv_tutorial_antialiasing.o apple_icon_alpha.o apple_icon_chroma.o lv_tutorial_images.o red_flower.o lv_tutorial_fonts.o arial_ascii_20.o arial_cyrillic_20.o arial_math_20.o lv_tutorial_animations.o lv_tutorial_responsive.o mouse_cursor_icon.o -lSDL2 -lm -lmingw32 -lSDL2main -lSDL2 -mwindows  8188

离线

楼主 #5 2018-10-17 15:53:45

gzbkey
会员
注册时间: 2018-10-17
已发帖子: 6
积分: 6

Re: 使用qt编译littlevgl出现错误,求教

F:\pc_simulator>mingw32-make
gcc -o demo main.o  lv_group.o lv_indev.o lv_obj.o lv_refr.o lv_style.o lv_vdb.o
lv_hal_disp.o lv_hal_indev.o lv_hal_tick.o lv_arc.o lv_bar.o lv_cb.o lv_ddlist.
o lv_kb.o lv_line.o lv_mbox.o lv_preload.o lv_roller.o lv_tabview.o lv_btn.o lv_
calendar.o lv_chart.o lv_gauge.o lv_label.o lv_list.o lv_slider.o lv_ta.o lv_btn
m.o lv_cont.o lv_img.o lv_led.o lv_lmeter.o lv_page.o lv_sw.o lv_win.o lv_font_b
uiltin.o lv_font_dejavu_10.o lv_font_dejavu_20.o lv_font_dejavu_30.o lv_font_dej
avu_40.o lv_font_dejavu_10_cyrillic.o lv_font_dejavu_20_cyrillic.o lv_font_dejav
u_30_cyrillic.o lv_font_dejavu_40_cyrillic.o lv_font_dejavu_10_latin_sup.o lv_fo
nt_dejavu_20_latin_sup.o lv_font_dejavu_30_latin_sup.o lv_font_dejavu_40_latin_s
up.o lv_font_symbol_10.o lv_font_symbol_20.o lv_font_symbol_30.o lv_font_symbol_
40.o lv_font.o lv_circ.o lv_area.o lv_task.o lv_fs.o lv_anim.o lv_mem.o lv_ll.o
lv_color.o lv_txt.o lv_ufs.o lv_math.o lv_log.o lv_theme_alien.o lv_theme.o lv_t
heme_default.o lv_theme_night.o lv_theme_templ.o lv_theme_zen.o lv_theme_materia
l.o lv_theme_nemo.o lv_theme_mono.o lv_draw_vbasic.o lv_draw_rbasic.o lv_draw.o
lv_draw_rect.o lv_draw_label.o lv_draw_line.o lv_draw_img.o lv_draw_arc.o lv_dra
w_triangle.o fbdev.o monitor.o R61581.o SSD1963.o ST7565.o FT5406EE8.o keyboard.
o mouse.o encoder.o evdev.o XPT2046.o lv_test_obj.o lv_test_stress.o lv_test_the
me.o lv_test_group.o lv_test_bar.o lv_test_btn.o lv_test_btnm.o lv_test_cb.o lv_
test_chart.o lv_test_cont.o lv_test_ddlist.o lv_test_gauge.o lv_test_img.o img_f
lower_icon.o lv_test_kb.o lv_test_label.o lv_test_led.o lv_test_line.o lv_test_l
ist.o lv_test_lmeter.o lv_test_mbox.o lv_test_page.o lv_test_roller.o lv_test_sl
ider.o lv_test_sw.o lv_test_ta.o lv_test_tabview.o lv_test_win.o benchmark.o ben
chmark_bg.o demo.o img_bubble_pattern.o sysmon.o terminal.o tpcal.o lv_tutorial_
hello_world.o lv_tutorial_objects.o lv_tutorial_styles.o lv_tutorial_themes.o lv
_tutorial_antialiasing.o apple_icon_alpha.o apple_icon_chroma.o lv_tutorial_imag
es.o red_flower.o lv_tutorial_fonts.o arial_ascii_20.o arial_cyrillic_20.o arial
_math_20.o lv_tutorial_animations.o lv_tutorial_responsive.o mouse_cursor_icon.o
-lSDL2 -lm -lmingw32 -lSDL2main -lSDL2 -mwindows
D:/Qt/Qt5.11.2/Tools/mingw530_32/bin/../lib/gcc/i686-w64-mingw32/5.3.0/../../../
../i686-w64-mingw32/bin/ld.exe: cannot open output file demo.exe: Permission den
ied
collect2.exe: error: ld returned 1 exit status
Makefile:99: recipe for target 'default' failed
mingw32-make: *** [default] Error 1

离线

楼主 #6 2018-10-17 15:55:23

gzbkey
会员
注册时间: 2018-10-17
已发帖子: 6
积分: 6

Re: 使用qt编译littlevgl出现错误,求教

有时候又会出现这种提示
error: Makefile:95: pipe: No such file or directory

离线

楼主 #11 2018-10-18 09:13:26

gzbkey
会员
注册时间: 2018-10-17
已发帖子: 6
积分: 6

Re: 使用qt编译littlevgl出现错误,求教

晕哥 说:

D:/Qt/Qt5.11.2/Tools/mingw530_32/bin/../lib/gcc/i686-w64-mingw32/5.3.0/../../../
../i686-w64-mingw32/bin/ld.exe: cannot open output file demo.exe: Permission denied

这个目录F:\pc_simulator没有权限写文件吗? 路径有没有空格什么的?

没有空格,都有读写权限,看来我只好放弃这个方式。还是直接刷到板子上去吧

离线

页脚

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

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