用./configure、make、make install安装完libev后,写一个简单程序server.c,编译,gcc server.c -o server lev。
产生如下错误:error while loading shared libraries: libev.so.4: cannot open shared object file: No such file or directo...
分类:
其他好文 时间:
2015-05-28 09:45:31
阅读次数:
306
目前测试功能正常。若有不完善的地方在改进吧。时候不早了睡觉去,哎,翘课会被抓,不冒险了。晚安全世界O(∩_∩)O 1 /************************************************************************* 2 *my shared_...
分类:
其他好文 时间:
2015-05-28 01:56:48
阅读次数:
161
[11]缺少动态连接库.so--cannotopensharedobjectfile:Nosuchfileordirectory
总结下来主要有3种方法:1.用ln将需要的so文件链接到/usr/lib或者/lib这两个默认的目录下边ln-s/where/you/install/lib/*.so/usr/libsudoldconfig2.修改LD_LIBRARY_PATHexportLD_LIBRARY_..
分类:
其他好文 时间:
2015-05-27 19:22:45
阅读次数:
174
引导阶段"正在下载数据包"XXXXX"" 出现以下意外错误:DirectoryNotFoundException-系统无法找到指定路径"C:\Program Files (x86)\Common Files\Microsoft Shared\Phone Tools\14.0\Debugger\tar...
分类:
移动开发 时间:
2015-05-26 20:33:42
阅读次数:
184
这个问题花了我3个小时差文档解决。最终一位外国朋友解答了我的问题:http://rdotnet.codeplex.com/workitem/117
其实这个问题很简单就是,在R目录下的:C:\Program Files\R\R-3.0.3\library\stats\libs\i386这个目录下,拷贝一份:这个目录下的文件:C:\Program Files\R\R-3.0.3\bin\i386。然...
分类:
其他好文 时间:
2015-05-25 16:47:44
阅读次数:
145
设置Intel编译器的运行环境在terminal中执行编译器的环境脚本 compilervars.sh:source /bin/compilervars.sh 是编译器的安装目录, 可以是intel64或者ia32intel64: intel64架构的编译器和库文件ia32:IA-32架构的编译器....
分类:
其他好文 时间:
2015-05-22 18:41:34
阅读次数:
124
这些智能指针在设计的时候,一个关键的问题就是所有权的控制。如果把指针所指向的对象比作电视机的话,那么指针就是观众。第一个人需要看电视的时候需要打开它,没人看的时候就要保证把电视关掉。
对于std::auto_ptr,boost::shared_ptr和scoped_ptr,情况如下:
1. std::auto_ptr:auto_ptr这个种族很有趣,每次只让一个人看电视,大家可以换着看,由...
分类:
编程语言 时间:
2015-05-22 00:35:17
阅读次数:
154
10054 The Necklace
My little sister had a beautiful necklace made of colorful beads. Two successive beads in the necklace
shared a common color at their meeting point. The figure below shows a segme...
分类:
其他好文 时间:
2015-05-21 17:27:46
阅读次数:
146
Java?HotSpot(TM)?64-Bit?Server?VM?warning:?Insufficient?space?for?shared?memory?file:
???/tmp/hsperfdata_root/85760
Try?using?the?-Djava.io.tmpdir=?option?to?select?an?alterna...
分类:
其他好文 时间:
2015-05-20 16:35:27
阅读次数:
164
umount不了磁盘或者网络设备比如umount不了/g01/app/shared[root@rac01 shared]# umount /g01/app/shared
umount.nfs: /g01/app/shared: device is busy
umount: /g01/app/shared: device is busy.
(In some cases useful i...
分类:
其他好文 时间:
2015-05-20 09:42:30
阅读次数:
115