编译带有MongoDB c++ 驱动库的时候,出现了大量LNK2019的错误 1 1>MongoDrv.lib(dbclient.obj) : error LNK2019: 无法解析的外部符号 __imp__WSASetLastError@4,该符号在函数 _WspiapiGetNameInfo@2...
分类:
其他好文 时间:
2014-09-18 18:07:24
阅读次数:
498
Codematurityleveloptions代码成熟等级选项在目前这个版本没有[root@localhostlinux-2.6.32]#makeinstallsh/mnt/sdb1/src/file/linux-2.6.32/arch/x86/boot/install.sh2.6.32arch/x86/boot/bzImage\ System.map"/boot"ERROR:modinfo:couldnotfindmodulek8tempERROR:modinfo:co..
分类:
其他好文 时间:
2014-09-18 16:45:06
阅读次数:
535
需求是几百个文件,命名规则类系下面的文件名:dailydata_20140320.txt通过newLISP合并,首先是自动生成这些文件名,然后用read-file读取内容,再用append-file写入到一个文件中。注意删除上次运行的结果,也要注意有文件不存在的话需要出error.log日志。代码如下:#!/usr/bin/newlisp
(set 'start-date "20140101 0...
分类:
其他好文 时间:
2014-09-18 16:33:34
阅读次数:
202
1.报错: BUILD FAILED D:\workspace\ganji\build.xml:144: The following error occurred while executing this line: D:\workspace\ganji\build.xml:271: Unable ...
分类:
系统相关 时间:
2014-09-18 16:23:44
阅读次数:
184
#include
#include
#include
int main(void)
{
int i;
int *str = NULL;
str = (int*)calloc(10, sizeof(int));
if(str==NULL)
{
printf("calloc error!\n");
...
分类:
其他好文 时间:
2014-09-18 14:55:54
阅读次数:
257
error: 'for' loop initial declarations are only allowed in C99 mode
使用gcc编译代码是报出
error: 'for' loop initial declarations are only allowed in C99 mode
note: use option -std=c99 or -std=gnu99 to...
分类:
其他好文 时间:
2014-09-18 14:55:17
阅读次数:
241
cocos compile编译apk问题汇总:1,dx编译报错,没有足够的空间ANTBUILD : [dx] error : Could not create the Java Virtual Machine.ANTBUILD : [dx] error : A fatal exception has...
分类:
移动开发 时间:
2014-09-18 14:35:33
阅读次数:
210
JNI里的c或者c++ 调用stl 的时候,比如引入map头文件:#include 在cygwin使用NDK编译的时候,会提示:fatal error:map: No such file解决方法:就是在jni目录下就是 Android.mk的同级目录下新建一个 Application.mk 文件(如...
分类:
其他好文 时间:
2014-09-18 14:32:03
阅读次数:
196
昨晚为了自己的网站开发了个简单的发送邮件的功能,在本地测试是成功的,放在万网的虚拟机上却不成功了,一直提示ERROR: Failed to connect to server: (0)。 后面我查了下,发现是服务器关闭了fsockopen函数。我...
分类:
其他好文 时间:
2014-09-18 11:42:04
阅读次数:
166