1.下载Python,当前OPencv版本为249,不过其支持的最新版本的Python为2.7,所以可以下载276版本。2.下载numpy,开始我使用了1.6,没有通过。下载了最新的1.8.1版本。3.将Opencv安装目录下opencv\build\python\2.7\x86中的cv2.pyd复制到python安装目录Lib\site-packages下。4.找到opencv源文件内的draw...
分类:
编程语言 时间:
2014-05-23 07:55:29
阅读次数:
435
//============================================================================
// Name : DoubleBuffer.cpp
// Author : Vit
// Version :
// Copyright : Your copyright notice
// Descrip...
分类:
其他好文 时间:
2014-05-22 12:43:51
阅读次数:
349
Gallery和swithcer联合使用
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in complian...
分类:
其他好文 时间:
2014-05-22 11:19:05
阅读次数:
288
通过自己的错误积累和网上的相关资料,简单的总结了一下出现这种错误常见的情况:
1.编译成功的例子在后台执行,有时一闪而过,如果再次build ,则会提示上述错误。
解决方法:打开任务管理器,找到相应的exe进程,关闭即可; 或者直接关闭QtCreator。
2.没有编译成功的情况下,最常见情况是程序本身需要include的头文件被遗漏了
解决方法:细心查找基类所用的头文件...
分类:
其他好文 时间:
2014-05-22 10:18:48
阅读次数:
308
SQL> select * from v$version;
BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
...
分类:
数据库 时间:
2014-05-22 10:00:09
阅读次数:
434
此问题是在使用sencha app build命令后出现得
主要是 YUI Compressor压缩的时候,代码中出现了delete, interface之类的关键字导致的。
此时可以在WebStrom上看到js中出现关键字的单词颜色不太一样。此时改个名字就ok了...
分类:
移动开发 时间:
2014-05-22 09:17:30
阅读次数:
287
1.在工程下新建 jni/libs 文件夹 , jni 是和原来的libs 同级 ,将所有的.so文件放入 新建的libs文件下
2.在build.gradle 文件中新增以下内容到android{ } 下
task copyNativeLibs(type: Copy) {
from(new File(project(':HealthCare'...
分类:
移动开发 时间:
2014-05-22 08:50:52
阅读次数:
381
<!--
Copyright 2011 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the L...
分类:
移动开发 时间:
2014-05-22 08:41:44
阅读次数:
377
测试源码:
//测试派生类的构造函数的调用顺序何时调用
//Fedora20 gcc version=4.8.2
#include
using namespace std;
class base
{
public:
base()
{
cout<<"base created!"<<endl;
}
~base()
{
cout<<"base destroyed!"<<en...
分类:
编程语言 时间:
2014-05-20 14:12:21
阅读次数:
322
出现此情况,应该是使用了gradle wrapper时候,创建工程时使用的gradle版本比当前使用的版本低得情况。此时log会提示 去修改 project_root/gradle/wrapper/gradle-wrapper.properties这个文件中
distributionUrl=http\://services.gradle.org/distributions/gradle-1.1...
分类:
其他好文 时间:
2014-05-20 14:01:16
阅读次数:
239