传奇外传挖矿外挂 本站提供传奇世界私服,找老传奇外传sf,传奇世界私发服,网通传世私发布网服!
【原创】关于STLLockit的问题 - 51WinCE-CSDN分站 - 博客频道 - CSDN.NETUbuntu下Eclipse搭建ARM开发环境
文章作者:传奇外传挖矿外挂 文章来源:http://LUOXIN-SH.COM/ 更新时间:2012-02-22 

运行的结果:

如果能正确看到上面的信息,说明你的编译工具已经安装正确。


解决办法是在程序中定义一下lockit函数,具体如下:


(3)重新启动Ubuntu系统(注销当前用户,重新登录也可以)




在VS2005的环境下调试STL的map类,出现了以下的问题

PC 电脑上
安装NFS可以用
#sudo dpkg --clear-avail && sudo apt-get update
#sudo apt-get install nfs-common nfs-kernel-server portmap

再次点击 Build Project


# gedit /etc/environment

(2)修改环境变量

(5)设置 刚刚新建的ARM配置信息

(4)检测 arm-linux-gcc 编译工具是否正确安装

第四步:将刚刚编译好的程序下载到开发板上,例如6410开发板上。

然后进入 Test1征途私服下的ARM征途私服,执行程序

向该配置文件加入::/usr/local/arm/4.3.2/bin






至此我们的第1个测试程序已经成功了!

详细步骤请参考:

(6)测试arm-linux-gcc编译

(1)打开Eclipse,并新建一个C/C++工程


查看编译结果,提示Build Finished,没有任何错误。


今天在帮Norains 兄实验map的时候遇到一个问题



# tar -xvzf arm-linux-gcc-4.3.2.tgz -C /

然后挂接NFS破天一剑sf

第三步:配置Eclipse

用telnet 192.168.0.XX 先登录上开发板






(2)设置刚刚新建的工程属性,鼠标右键点击【Test1】项目

例如:mount -t nfs -o nolock 192.168.0.176:/home /mnt/disk/nfs

1>maptest.obj : error LNK2019: 无法解析的外部符号 "public: __cdecl std::_Lockit::~_Lockit(void)" (??1_Lockit@std@@QAA@XZ),该符号在函数 "protected: static struct std::_Tree,struct std::map,class std::allocator >::_Kfn,struct std::less,class std::allocator >::_Node * __cdecl std::_Tree,struct std::map,class std::allocator >::_Kfn,struct std::less,class std::allocator >::_Max(struct std::_Tree,struct std::map,class std::allocator >::_Kfn,struct std::less,class std::allocator >::_Node *)" (?_Max@?$_Tree@KU?$pair@$$CBKK@std@@U_Kfn@?$map@KKU?$less@K@std@@V?$allocator@K@2@@2@U?$less@K@2@V?$allocator@K@2@@std@@KAPAU_Node@12@PAU312@@Z) 中被引用
1>maptest.obj : error LNK2019: 无法解析的外部符号 "public: __cdecl std::_Lockit::_Lockit(void)" (??0_Lockit@std@@QAA@XZ),该符号在函数 "protected: static struct std::_Tree,struct std::map,class std::allocator >::_Kfn,struct std::less,class std::allocator >::_Node * __cdecl std::_Tree,struct std::map,class std::allocator >::_Kfn,struct std::less,class std::allocator >::_Max(struct std::_Tree,struct std::map,class std::allocator >::_Kfn,struct std::less,class std::allocator >::_Node *)" (?_Max@?$_Tree@KU?$pair@$$CBKK@std@@U_Kfn@?$map@KKU?$less@K@std@@V?$allocator@K@2@@2@U?$less@K@2@V?$allocator@K@2@@std@@KAPAU_Node@12@PAU312@@Z) 中被引用


一开始研究了好一会,以为是库少了,后来看到一个帖子CSDN上的



::_Lockit::_Lockit(){};::_Lockit::~_Lockit(){};
就build通过了。。目前还没想清楚是什么原理。。。。记录下来供遇到此问题的朋友分享

第一步:安装JRE 和Eclipse


然后一路Next即可。



(1)复制arm-linux-gcc-4.3.2.tgz 到 /home/tools 传奇sf下,然后解压缩到 根传奇sf下 /

第二步:安装arm-linux-gcc 和 arm-linux-g++


(4)新建一个工程管理配置信息

是wince区的一个老帖子,很多大牛都没有解决这个问题,最后LZ说是lockit的问题



#arm-linux-gcc -v


选择ARM后,此处的 GCC C++ Compiler、GCC C Compiler、GCC C++ Linker、GCC Assembler的Command依次修改


浏览次数:
最新文章
·【原创】关于STLLockit的问题 - 51Win
·A Game of Innuendos-niuchen8039-ZOL博
·如果你已担任会计师、律师或律师助手这
·在软件盗版问题上,微软如何钻空子? -
·《远远的爱》将登央八 吴越佟大为演绎姐
·林正英僵尸电影-李小龙经典重温《精武门
·重新蓄势期待A股再次龙抬头??淘金期货
·郁闷而
·谭利灵:【实时直播】周四操作分析及个
·京华时报:小品王还需努力网易传媒
热门文章
·【原创】关于STLLockit的问题 - 51Win
·A Game of Innuendos-niuchen8039-ZOL博
·如果你已担任会计师、律师或律师助手这
·在软件盗版问题上,微软如何钻空子? -
·《远远的爱》将登央八 吴越佟大为演绎姐
·林正英僵尸电影-李小龙经典重温《精武门
·重新蓄势期待A股再次龙抬头??淘金期货
·郁闷而
·谭利灵:【实时直播】周四操作分析及个
·京华时报:小品王还需努力网易传媒
Copyright 2003-2009 传奇外传挖矿外挂 http://LUOXIN-SH.COM/ All Rights Reserved (注:本站只投放1.76传奇私服)
请使用1024*768分辨率浏览本站以达到最佳视觉效果
备案号:赣ICP备08001576号