Toggle navigation
首页
问答
文章
积分商城
专家
专区
更多专区...
文档中心
返回主站
搜索
提问
会员
中心
登录
注册
RT-Thread一般讨论
RTGUI编译链接出错,寻求帮助
发布于 2013-06-26 08:34:21 浏览:2979
订阅该版
链接出错: basic_system.obj : error LNK2019: unresolved external symbol _dfs_win32_init referenced in function _rt_basic_system_entry basic_system.obj : error LNK2019: unresolved external symbol _rt_win_sharedir_init referenced in function _rt_basic_system_entry executables\demo.exe : fatal error LNK1120: 2 unresolved externals scons: *** [executables\demo.exe] Error 1120 scons: building terminated because of errors. 版本: RTT:1.1.0 RTGUI:昨天刚从GIT下载的。 不知道这两个函数在哪个文件里,为什么链接没找到。 C:\mcu\RTGUI-master\build\components\dfs\src のディレクトリ 2013/06/25 23:42
. 2013/06/25 23:42
.. 2013/06/25 23:42 16,405 dfs.obj 2013/06/25 23:42 25,117 dfs_file.obj 2013/06/25 23:42 20,305 dfs_fs.obj 2013/06/25 23:42 21,849 dfs_posix.obj 4 個のファイル 83,676 バイト 2 個のディレクトリ 9,539,805,184 バイトの空き領域 C:\mcu\RTGUI-master\build\components>dir dfs\filesystems ドライブ C のボリューム ラベルがありません。 ボリューム シリアル番号は 2C3B-575A です C:\mcu\RTGUI-master\build\components\dfs\filesystems のディレクトリ 2013/06/25 23:31
. 2013/06/25 23:31
.. 2013/06/25 23:42
elmfat 0 個のファイル 0 バイト 3 個のディレクトリ 9,539,805,184 バイトの空き領域 C:\mcu\RTGUI-master\build\components>dir dfs\filesystems\elmfat ドライブ C のボリューム ラベルがありません。 ボリューム シリアル番号は 2C3B-575A です C:\mcu\RTGUI-master\build\components\dfs\filesystems\elmfat のディレクトリ 2013/06/25 23:42
. 2013/06/25 23:42
.. 2013/06/25 23:42 51,543 dfs_elm.obj 2013/06/25 23:42 78,357 ff.obj 2 個のファイル 129,900 バイト 2 個のディレクトリ 9,539,805,184 バイトの空き領域 link @c:\docume~1\mm\locals~1\temp\tmprhonwi.lnk Using tempfile c:\docume~1\mm\locals~1\temp\tmpfex5mu.lnk for command line: link /nologo /NODEFAULTLIB:LIBCMTD /DEBUG /SUBSYSTEM:CONSOLE /MACHINE:X86 /OUT:e xecutables\demo.exe "/LIBPATH:C:\mcu\RT-Thread 1.1.0\bsp\simulator\SDL\lib\x86" winmm.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib msvcrt.lib odbccp32.lib SDL.lib SDLmain.lib bu ild\build\components tgui\common\blit.obj build\build\components tgui\common\c olor.obj build\build\components tgui\common\calibration.obj build\build\compone nts tgui\common egion.obj build\build\components tgui\common tgui_object.obj build\build\components tgui\common tgui_system.obj build\build\components tg ui\common tgui_theme.obj build\build\components tgui\common tgui_xml.obj buil d\build\components tgui\common tgui_app.obj build\build\components tgui\commo n\dc.obj build\build\components tgui\common\dc_hw.obj build\build\components t gui\common\dc_buffer.obj build\build\components tgui\common\dc_client.obj build \build\components tgui\common\filerw.obj build\build\components tgui\common\im age.obj build\build\components tgui\common\image_xpm.obj build\build\components tgui\common\image_hdc.obj build\build\components tgui\common\image_bmp.obj bu ild\build\components tgui\common\image_png.obj build\build\components tgui\com mon\image_jpg.obj build\build\components tgui\common\image_container.obj build\ build\components tgui\common\font.obj build\build\components tgui\common\font_ bmp.obj build\build\components tgui\common\font_hz_file.obj build\build\compone nts tgui\common\font_hz_bmp.obj build\build\components tgui\common\asc12font.o bj build\build\components tgui\common\asc16font.obj build\build\components tgu i\common\hz12font.obj build\build\components tgui\common\hz16font.obj build\bui ld\components tgui\common\framebuffer_driver.obj build\build\components tgui\c ommon\pixel_driver.obj build\build\components tgui\common tgui_mv_model.obj bu ild\build\components tgui\server\driver.obj build\build\components tgui\server \mouse.obj build\build\components tgui\server\server.obj build\build\components tgui\server\topwin.obj build\build\components tgui\widgets\box.obj build\buil d\components tgui\widgets\button.obj build\build\components tgui\widgets\check box.obj build\build\components tgui\widgets\combobox.obj build\build\components tgui\widgets\iconbox.obj build\build\components tgui\widgets\label.obj build\ build\components tgui\widgets\textview.obj build\build\components tgui\widgets \listctrl.obj build\build\components tgui\widgets\menu.obj build\build\componen ts tgui\widgets\progressbar.obj build\build\components tgui\widgets adiobox.o bj build\build\components tgui\widgets\slider.obj build\build\components tgui\ widgets\scrollbar.obj build\build\components tgui\widgets\staticline.obj build\ build\components tgui\widgets\textbox.obj build\build\components tgui\widgets\ listbox.obj build\build\components tgui\widgets\title.obj build\build\component s tgui\widgets
otebook.obj build\build\components tgui\widgets\container.obj build\build\components tgui\widgets\list_view.obj build\build\components tgui\ widgets\filelist_view.obj build\build\components tgui\widgets\widget.obj build\ build\components tgui\widgets\window.obj build\build\components tgui\widgets\p anel.obj build\build\components tgui\widgets\groupbox.obj build\build\component s tgui\widgets\edit.obj build\build\components tgui\widgets\mv_view.obj build\ build\components tgui\widgets\plot.obj build\build\components tgui\widgets\plo t_curve.obj build\build\components tgui\widgets\digtube.obj build\build\compone nts tgui\widgets\digfont.obj build\src\clock.obj build\src\device.obj build\src \idle.obj build\src\ipc.obj build\src\irq.obj build\src\kservice.obj build\src\m em.obj build\src\object.obj build\src\scheduler.obj build\src\thread.obj build\s rc\timer.obj build\libcpu\sim\win32\cpu_port.obj build\components\dfs\src\dfs.ob j build\components\dfs\src\dfs_fs.obj build\components\dfs\src\dfs_file.obj buil d\components\dfs\src\dfs_posix.obj build\components\dfs\filesystems\elmfat\dfs_e lm.obj build\components\dfs\filesystems\elmfat\ff.obj build\components\drivers\s rc\completion.obj build\components\drivers\src\dataqueue.obj build\components\dr ivers\src\pipe.obj build\components\drivers\src ingbuffer.obj build\components\ finsh\cmd.obj build\components\finsh\finsh_compiler.obj build\components\finsh\f insh_error.obj build\components\finsh\finsh_heap.obj build\components\finsh\fins h_init.obj build\components\finsh\finsh_node.obj build\components\finsh\finsh_op s.obj build\components\finsh\finsh_parser.obj build\components\finsh\finsh_token .obj build\components\finsh\finsh_var.obj build\components\finsh\finsh_vm.obj bu ild\components\finsh\shell.obj build\components\finsh\symbol.obj build\component s\init\components.obj build\simulator\sim-com\basic_system.obj build\simulator\s im-com\platform.obj build\simulator\sim-com\startup.obj build\simulator\sim-drv\ board.obj build\simulator\sim-drv\sd_sim.obj build\simulator\sim-drv\sdl_fb.obj build\simulator\sim-drv\serial.obj build\simulator\sim-drv\usart_sim.obj build\d emo\application.obj build\demo\build\examples\demo_application.obj build\demo\bu ild\examples\demo_view.obj build\demo\build\examples\demo_xml.obj build\demo\bui ld\examples\demo_view_benchmark.obj build\demo\build\examples\demo_view_dc.obj b uild\demo\build\examples\demo_view_ttf.obj build\demo\build\examples\demo_view_d c_buffer.obj build\demo\build\examples\demo_view_animation.obj build\demo\build\ examples\demo_view_buffer_animation.obj build\demo\build\examples\demo_view_inst rument_panel.obj build\demo\build\examples\demo_view_window.obj build\demo\build \examples\demo_view_label.obj build\demo\build\examples\demo_view_button.obj bui ld\demo\build\examples\demo_view_checkbox.obj build\demo\build\examples\demo_vie w_progressbar.obj build\demo\build\examples\demo_view_scrollbar.obj build\demo\b uild\examples\demo_view_radiobox.obj build\demo\build\examples\demo_view_textbox .obj build\demo\build\examples\demo_view_listbox.obj build\demo\build\examples\d emo_view_menu.obj build\demo\build\examples\demo_view_listctrl.obj build\demo\bu ild\examples\demo_view_combobox.obj build\demo\build\examples\demo_view_slider.o bj build\demo\build\examples\demo_view_notebook.obj build\demo\build\examples\de mo_view_mywidget.obj build\demo\build\examples\demo_view_box.obj build\demo\buil d\examples\demo_view_edit.obj build\demo\build\examples\demo_view_bmp.obj build\ demo\build\examples\demo_plot.obj build\demo\build\examples\mywidget.obj build\d emo\build\examples\demo_view_digtube.obj
查看更多
7
个回答
默认排序
按发布时间排序
mostone
2013-06-26
这家伙很懒,什么也没写!
自己解决了。 STEP1:copy C:\mcu\RT-Thread 1.1.0\bsp\simulator\applications\dfs_win32.c to C:\mcu\RTGUI-master\sim-common SETP2: 重新运行 scons 分析:缺少的两个函数在源文件dfs_win32.c中,但编译的时候,没包含进来,链接找不到链接符号。所以把这个文件复制到RTGUI任意源代码目录下,让其被包含到编译路径中即可。 对scons不是很熟悉,不知道为什么下载的RTGUI,编译时会有这个问题,可能是我环境的原因,有知道的朋友指点一下。
grissiom
2013-06-26
这家伙很懒,什么也没写!
日文系统,碉堡了…… RTT 的版本有点低了~最新的 RTT 里 dfs_win32.c 在 bsp/simulator/drivers 里面~
bernard
2013-06-26
这家伙很懒,什么也没写!
rt_basic_system_entry 是什么?为什么它还会依赖到dfs_win32?是专门用于windows simulator的吗?
grissiom
2013-06-26
这家伙很懒,什么也没写!
是专门用于 simulator 的,其实就是 init。因为 RTGUI 的工程里默认打开了 DFS,所以依赖了……
prife
2013-07-03
这家伙很懒,什么也没写!
好的,我来检查这个问题。
grissiom
2013-07-03
这家伙很懒,什么也没写!
比较新的 RTT + RTGUI 应该没有这个问题了~
撰写答案
登录
注册新账号
关注者
0
被浏览
3k
关于作者
mostone
这家伙很懒,什么也没写!
提问
4
回答
9
被采纳
0
关注TA
发私信
相关问题
1
有关动态模块加载的一篇论文
2
最近的调程序总结
3
晕掉了,这么久都不见layer2的踪影啊
4
继续K9ii的历程
5
[GUI相关] FreeType 2
6
[GUI相关]嵌入式系统中文输入法的设计
7
20081101 RT-Thread开发者聚会总结
8
嵌入式系统基础
9
linux2.4.19在at91rm9200 上的寄存器设置
10
[转]基于嵌入式Linux的通用触摸屏校准程序
推荐文章
1
RT-Thread应用项目汇总
2
玩转RT-Thread系列教程
3
国产MCU移植系列教程汇总,欢迎查看!
4
机器人操作系统 (ROS2) 和 RT-Thread 通信
5
五分钟玩转RT-Thread新社区
6
【技术三千问】之《玩转ART-Pi》,看这篇就够了!干货汇总
7
关于STM32H7开发板上使用SDIO接口驱动SD卡挂载文件系统的问题总结
8
STM32的“GPU”——DMA2D实例详解
9
RT-Thread隐藏的宝藏之completion
10
【ART-PI】RT-Thread 开启RTC 与 Alarm组件
最新文章
1
TinyUSB Demo运行教程
2
RT-Thread学习大礼包一键带走!
3
freemodbus从机调试说明
4
【1024】瑞萨 RA 系列 BSP 制作与适配最新版本的 Keil 、 RSC、固件,较新的 FSP
5
基于 RT-Thread 星火一号开发板的俄罗斯方块
热门标签
RT-Thread Studio
串口
Env
LWIP
SPI
AT
Bootloader
Hardfault
CAN总线
ART-Pi
FinSH
USB
DMA
文件系统
RT-Thread
SCons
RT-Thread Nano
线程
MQTT
STM32
RTC
FAL
rt-smart
ESP8266
I2C_IIC
WIZnet_W5500
ota在线升级
UART
cubemx
PWM
flash
packages_软件包
freemodbus
BSP
潘多拉开发板_Pandora
定时器
ADC
GD32
flashDB
socket
中断
Debug
编译报错
msh
SFUD
keil_MDK
rt_mq_消息队列_msg_queue
ulog
C++_cpp
at_device
本月问答贡献
张世争
7
个答案
2
次被采纳
用户名由3_15位
10
个答案
1
次被采纳
KunYi
4
个答案
1
次被采纳
踩姑娘的小蘑菇
2
个答案
1
次被采纳
bernard
1
个答案
1
次被采纳
本月文章贡献
出出啊
1
篇文章
2
次点赞
小小李sunny
1
篇文章
1
次点赞
张世争
1
篇文章
4
次点赞
crystal266
2
篇文章
2
次点赞
whj467467222
2
篇文章
1
次点赞
回到
顶部
发布
问题
分享
好友
手机
浏览
扫码手机浏览
投诉
建议
回到
底部