Fatal Application Error:#1141

      本来罗塞塔从前几天就安装好了,学习了一次就没有学习,这两天也没有打开看,今天要学习罗塞塔的时候突然学习不了了,出现一串英文什么鬼,当时就给我蒙了。出现的错误如图。

解决办法

1.右键罗塞塔,单击属性,如图所示。在“以兼容模式运行这个程序”和“以管理员身份运行此程序”的方框里打上“√”。

3.按Windows+R,打开运行命令对话框。

4.在命令框中输入:"services.msc"

5.在打开之后会出现服务(本地)的对话框,在对话框中找到名称为“RosettaStoneDaemon”的一栏。然后单击右键,会出现启动项,点击启动就OK。

         最后可以打开罗塞塔看看了,就可以学习了。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 7
    评论
1.基于Igh-master1.5.2的多种Ethercat IO 模块及伺服电机的操作例子 2.基于Ethercat-Ighmaster二次开发库简化你的开发流程 所有源码及文档托管在码云平台,附件中有代码仓库地址 3.含有IghMaster1.5.2最新版本代码,编译脚本及安装到 最新的代码托管在: https://gitee.com/wllw7176/MyEthercat-IGH-1.5.2.git EtherCAT 1.5.2 编译及使用说明 1.交叉编译源码 源码中有内核模块编译,指令定模块目录 根据实际情况修改build_ethercat-1.5.2.sh中以下几个变量: output_dir='output' #编译输出目录 module_install_dir='module_install' #内核模块安装目录 kernel_source_dir='/mnt/fs_ext/imx6/linux-3.0.35' #内核源码目录 lib_modules_kernel_promt='3.0.35-2666-gbdde708' #内核版本号 host=arm-fsl-linux-gnueabi #交叉编译链前缀 注意要先编译内核,然后编译Ethrecat因为Ethercat依赖于内核通用网卡模块 以root用户运行./build_ethercat-1.5.2.sh #编译具体根据提示选择y/n就可以了 ---------------------------------------------------------------------------------------------------------------------------------------------- 手动安装Ethercat到ARM开发板: 2.内核模块安装 2.1 将output文件下通lib_modules_kernel_promt='3.0.35-2666-gbdde708'(build_ethercat-1.5.2.sh 中定义)放入开发板/lib/modules下 2.2 开发板中执行"depmod"命令 3. output里面的其它文件放入开发板对应位置 4. 设置参数 修改/etc/sysconfig/ethercat MASTER0_DEVICE="e4:f3:f5:c6:41:b6" #与ethercat绑定的Mac地址 DEVICE_MODULES="generic" #通用网卡就填generic,其余支持网卡换成模块名字就行 5.添加udev规则 echo KERNEL==\"EtherCAT[0-9]*\", MODE=\"0664\" > /etc/udev/rules.d/99-EtherCAT.rules 6. 启动服务 /etc/init.d/ethercat restart 出现以下信息表明移植成功 Shutting down EtherCAT master 1.5.2 done Starting EtherCAT master 1.5.2 ec_generic: Binding socket to interface 3 (eth0). done 7. 应用层测试 root@linaro-ubuntu-desktop:~# ethercat Please specify a command! Usage: ethercat [OPTIONS] [ARGUMENTS] Commands (can be abbreviated): alias Write alias addresses. config Show slave configurations. cstruct Generate slave PDO information in C language. data Output binary domain process data. debug Set the master's debug level. domains Show configured domains. download Write an SDO entry to a slave. eoe Display Ethernet over EtherCAT statictics. foe_read Read a file from a slave via FoE. foe_write Store a file on a slave via FoE. graph Output the bus topology as a graph. master Show master and Ethernet device information. pdos List Sync managers, PDO assignment and mapping. reg_read Output a slave's register contents. reg_write Write data to a slave's registers. rescan Rescan the bus. sdos List SDO dictionaries. sii_read Output a slave's SII contents. sii_write Write SII contents to a slave. slaves Display slaves on the bus. soe_read Read an SoE IDN from a slave. soe_write Write an SoE IDN to a slave. states Request application-layer states. upload Read an SDO entry from a slave. version Show version information. xml Generate slave information XML. Global options: --master -m Comma separated list of masters to select, ranges are allowed. Examples: '1,3', '5-7,9', '-3'. Default: '-' (all). --force -f Force a command. --quiet -q Output less information. --verbose -v Output more information. --help -h Show this help. Numerical values can be specified either with decimal (no prefix), octal (prefix '0') or hexadecimal (prefix '0x') base. Call 'ethercat --help' for command-specific help. 以上内容为基本的使用,进一步使用要结合ethercat说明文档和电机说明。 ---------------------------------------------------------------------------------------------------------------------------------------------- 自动安装Ethercat到ARM开发板: 将output目录复制到开发板然后运行output目录下install_to_arm.sh脚本 执行6,7步骤测试自动安装是否成功 ---------------------------------------------------------------------------------------------------------------------------------------------- 问题汇总: (1)Starting EtherCAT master 1.5.2 EtherCAT ERROR: MAC address may not be empty. FATAL: Error inserting ec_master (/lib/modules/3.0.35-2666-gbdde708-gbdbf2583/mnt/hgfs/win_linux_share/linux/download/ethercat-1.5.2/module_install/master/ec_master.ko): Invalid argument failed Mac地址为空,将对应的mac地址MASTER0_DEVICE="e4:f3:f5:c6:41:b6" (2)编译Ethercat 一定要保证所用编译器与内核与硬件平台一致,否则会出现内核模块不能使用或者其它未知问题 (3)内核源码要先编译通过,否则Ethercat模块将不能编译通过,因为Ethercat模块依赖于内核本身驱动模块。
引用\[1\]:glibconfig.h没有这样的文件或目录(glibconfig.h no such file or directory)(转,侵-->联-->删)我刚在Raspbian(Debian版本)上安装了glib。我想使用glib读取一个配置文件。我正在尝试在Codeblocks中编写一个C应用程序,并使用头文件#include <glib.h>。但是在gtypes.h中出现了一个错误,致命错误:glibconfig.h没有这样的文件或目录。我在项目->构建选项->编译器设置->其他选项中添加了-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include这个路径,正如我在教程中所读到的。我还需要声明-L/usr/lib -lm -lglib-2.0,如果是的话,我应该在Codeblocks中如何声明呢? 解决办法:使用pkg-config。将foo.c替换为您要编译的文件,然后使用以下命令进行编译:gcc `pkg-config --cflags glib-2.0` foo.c `pkg-config --libs glib-2.0`。这将自动包含所需的头文件和库文件。\[1\] 引用\[3\]:\[root@ser6-51 kernels\]# ls -ltr total 4 lrwxrwxrwx 1 root root 34 Aug 26 10:49 2.6.32-431.el6.x86_64 -> /lib/modules/2.6.32-431.el6.x86_64 drwxr-xr-x 2 root root 4096 Aug 26 11:51 2.6.32-573.3.1.el6.x86_64 问题:application\modbus_fun.h(3): error: #5: cannot open source input file "system.h": No such file or directory 回答: 根据您提供的信息,您在编译时遇到了一个错误,错误信息是"application\modbus_fun.h(3): error: #5: cannot open source input file "system.h": No such file or directory"。这个错误表明编译器无法找到名为"system.h"的源文件。您需要确保在编译时正确设置了包含文件的路径。您可以在编译选项中添加"-I"参数,后面跟着包含文件的路径。例如,如果"system.h"位于当前目录下的"include"文件夹中,您可以使用以下命令进行编译:gcc -I./include foo.c。这将告诉编译器在编译时搜索"include"文件夹以找到"system.h"文件。请根据您的实际情况进行相应的调整。 #### 引用[.reference_title] - *1* [fatal error: glibconfig.h: no such file or directory](https://blog.csdn.net/int_t/article/details/120175762)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item] - *2* [Keil MDK5解决error: L6002U: Could not open file …\obj\main.o: No such file or directory](https://blog.csdn.net/weixin_44097539/article/details/124798550)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item] - *3* [libipvs.h:14:23: error: net/ip_vs.h: No such file or directory](https://blog.csdn.net/YABIGNSHI/article/details/48001823)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 7
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值