
c/c++/lua/jsp/php/等常见编译错误
普通网友
这个作者很懒,什么都没留下…
展开
-
vc++6.0 编译报错 error C2065: '' : undeclared identifier
error C2065: '' xxx": undeclared identifier 由于xxx这个单词拼写错误,请检查这个变量是否在前面声明原创 2014-03-19 20:09:48 · 8630 阅读 · 0 评论 -
vc++6.0 编译时报错 LNK2001 on __beginthreadex and __endthreadex
LNK2001 on __beginthreadex and __endthreadex这是一个非常常见的链接错误。原因是由于在VC3。0以后所有的MFC类都是线程安全的,在MFC类库中使用了Thread Local Storage (TLS)提供预处理的数据。因此如果程序中包含了"stfafx.h"头文件或者使用了,MFC类库中的类就会使用MSVCRTx0.DLL 来进行链接。改原创 2014-03-19 20:08:04 · 1001 阅读 · 0 评论 -
vc++6.0 编译时报错Fatal Error C1010 unexpected end of file while looking for precompiled header directive
Fatal Error C1010unexpected end of file while looking for precompiled header directive这一般是由于使用了参数"stdafx.h",意思是在每个文件中都应该使用#include来包含这个头文件。一般改正,就是在每个。CPP文件中包含这个文件就可以。原创 2014-03-19 20:06:35 · 1624 阅读 · 0 评论 -
Xcode编译错误 Code Sign error: The identity 'iPhone Developer: Your Name' doesn't match any valid certif
Code Sign error: The identity 'iPhone Developer: Your Name' doesn't match any valid certificate/private key pair in the default keychain原因: 签名错误解决办法: Target -> Get Info -> Build -> Code原创 2014-03-19 20:15:53 · 1261 阅读 · 0 评论 -
Xcode编译异常 Apple Mach-o Linker Error ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)"_curl_easy_strerror", referenced from: BBGDownloadNotice::errorString(int) in BBGDownload.o zc::CURLRa原创 2014-03-19 20:32:16 · 4895 阅读 · 0 评论 -
vs2012 wp8 应用调试时报错 指定的通信资源(端口) 已由另一个应用程序使
vs2012部署完成的使用,有时候会提示这样的错误。其实处理错误非常简单,只要把vs关闭一下,重启一下vs即可原创 2014-03-19 20:55:08 · 2183 阅读 · 2 评论 -
c++ 编译时报错 "Array initializer must be an initializer list or string literal"
这句话的意思是 数组的初始化必须是一个初始化列表或字符串我的代码是这样写的:std::string str = "网络连接错误!"char s_errorBuffer[1024] = str.c_str();我们把它分开来写即可。 char s_errorBuffer[1024];strcpy(s_errorBuffer, str.c_str());原创 2014-03-20 13:45:19 · 31741 阅读 · 2 评论 -
Unable to execute dex: Multiple dex files define 解决方法
问题发生概述:程序编译正常,在用Eclipse调试执行时,报错Unable to execute dex: Multiple dex files define,因为以前也没有遇到这类错误,首先便尝试万能纠错发,如下方法一,也是上网搜索众多解决方案之一,尝试后未果,便按照搜索方案,逐一尝试,都未能解决,最后盯着工程突然发现问题。具体解决方案如下:方法一: 更新ADT插件,删除wo原创 2016-01-29 11:19:04 · 668 阅读 · 0 评论 -
安卓之MD5加密函数
1. 方法如下 /** * 对传入的参数进行MD5摘要 * @param str 需进行MD5摘要的数据 * @return MD5摘要值 */ public static String md5Summary(String str) { if (str == null) { return null; } MessageDi原创 2016-02-29 13:52:50 · 731 阅读 · 0 评论