上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 81 下一页
摘要: 当我们使用Visual Studio自带的Setup Project来生成安装包时,我们可以很方便的将项目的输出部署到目标机器。然而在程序的运行过程中,可能创建了一些文件或者目录,而这些文件和目录在程序卸载的时候,这些文件将不会被删出,这无疑将造成用户信息的泄露。 Visual Studio中为我们 阅读全文
posted @ 2012-02-15 14:55 googlegis 阅读(434) 评论(0) 推荐(0)
摘要: (互联网文档整理) MySQL的用户管理,指的是哪个用户可以连接服务器,从哪里连接,连接后能做什么. MySQL中grant语句创建mysql用户并指定其权限,而revoke语句删除权限。两条语句实现了mysql数据库的用户管理,并提供与直接操作这些表的内容不同的另一种方法。 create和revo 阅读全文
posted @ 2012-02-06 15:33 googlegis 阅读(241) 评论(0) 推荐(0)
摘要: //登录MYSQL @>mysql -u root -p @>密码 //创建用户 insert into mysql.user(host,user,password) values ("localhost","hbchen",p assword("hbchen")); 这样就创建了一个名为:hbch 阅读全文
posted @ 2012-02-02 06:53 googlegis 阅读(223) 评论(0) 推荐(0)
摘要: export PATH=${PATH}:/home/owner/android-sdk-linux_x86/tools:/home/owner/android-sdk-linux_x86/platform-tools 阅读全文
posted @ 2012-01-09 21:56 googlegis 阅读(140) 评论(0) 推荐(0)
摘要: ubuntu 11.10的gcc版本是4.6.1,版本太高,编译android时出错,要把gcc版本改为4.4.3。通过gcc -v命令可以发现gcc库在/usr/lib/gcc/i686-linux-gnu目录下,该目录下有当前系统支持的各种版本gcc库 。在安装gcc 4.4前该目录下是没有4.4目录的,安装gcc 4.4后该目录下就会多出4.4这个目录,且该4.4目录下有各种相应库文件。ubuntu 32bit系统下安装gcc 4.4的最好方法是仅用以下两条命令,不需要其它命令,否则编译时可能会出错。sudo apt-get install gcc-4.4sudo apt-get ins 阅读全文
posted @ 2012-01-08 12:30 googlegis 阅读(312) 评论(0) 推荐(0)
摘要: <command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror] <built-in>:0:0: note: this is the location of the previous definition cc1plus: all warnings being treated as errorsmake: *** [out/host/linux-x86/obj/EXECUTABLES/obbtool_intermediates/Main.o] Error 1此处编译错误是由于ubuntu 阅读全文
posted @ 2012-01-07 21:27 googlegis 阅读(1065) 评论(0) 推荐(0)
摘要: arm-eabi-gcc: error trying to exec 'cc1': execvp: No such file or directorymake: *** [out/target/product/generic/obj/lib/crtbegin_dynamic.o] Error 1如果之前的依赖包都已经安装成功的话,此处应该是交叉编译工具权限的问题。这个问题只要在文章开头lunch时执行了赋予权限命令,就应该不会遇到了。 阅读全文
posted @ 2012-01-07 21:26 googlegis 阅读(388) 评论(0) 推荐(0)
摘要: 2.Q:frameworks/base/libs/utils/RefBase.cpp:483:67: error: passing ‘const android::RefBase::weakref_impl’ as ‘this’ argument of ‘void android::RefBase::weakref_impl::trackMe(bool, bool)’ discards qualifiers [-fpermissive] make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libutils_intermediates/RefBa 阅读全文
posted @ 2012-01-07 21:24 googlegis 阅读(614) 评论(0) 推荐(0)
摘要: frameworks/compile/slang/slang_rs_export_foreach.cpp:247:23: error: variable ‘ParamName’ set but not used [-Werror=unused-but-set-variable]cc1plus: all warnings being treated as errors解决方法:$ vi frameworks/compile/slang/Android.mk#local_cflags_for_slang := -Wno-sign-promo -Wall -Wno-unused-parameter 阅读全文
posted @ 2012-01-07 21:04 googlegis 阅读(2487) 评论(0) 推荐(0)
摘要: host C++: libgtest_host <= external/gtest/src/gtest-all.cctruehost C++: libgtest_main_host <= external/gtest/src/gtest_main.ccout/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMSupport_intermediates/libLLVMSupport.a(Signals.o): In function `PrintStackTrace':/home/aa/project/android4.0.1/extern 阅读全文
posted @ 2012-01-07 20:49 googlegis 阅读(2271) 评论(0) 推荐(0)
上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 81 下一页

坐标合肥,非典型GIS开发人员 GitHub