上一页 1 2 3 4 5 6 ··· 16 下一页
摘要: Are you referring to this project?http://sourceforge.net/projects/cppunit If so, use TortoiseSVN for example to get the latest code from svn:https://cppunit.svn.sourceforge.net/svnroot/cppunit It cont... 阅读全文
posted @ 2012-05-25 11:18 justin_s 阅读(740) 评论(0) 推荐(0) 编辑
摘要: 1. delete xxx/cache.db 2. amtlib.dll 3. 阅读全文
posted @ 2012-05-23 12:34 justin_s 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 之前没有装sqlite plugin,原来不用重新编译整个qt…只找到相关的plugin下 qmake一下就好了 阅读全文
posted @ 2012-05-21 21:47 justin_s 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 好像很多人都参考这个来的,,http://blog.csdn.net/lkbwx/article/details/5311802 但我觉得这个是有问题的 CLAPACK的vs工程中Code Generation中使用了MT选项,只要对应的Levmar中调成一致就可以了。 阅读全文
posted @ 2012-05-17 23:34 justin_s 阅读(350) 评论(0) 推荐(0) 编辑
摘要: Uriah Liggett wrote:> I need DLL's compiled in debug mode to have the letter 'd' appended to > their name. For example doStuffd.dll would be the debug version of > doStuff.dll. The generator i'm usi... 阅读全文
posted @ 2012-05-17 16:56 justin_s 阅读(376) 评论(0) 推荐(0) 编辑
摘要: 编译安装,这是 Linux 下安装软件的常见方式,大致步骤 cygwin编译python3一文有述,鉴于原文是墙外的 blogspot,故摘要在这里: 下载源码,解压 Cygwin 下切换到源码目录,运行命令 ./configure –enable-shared –with-wide-unicode make,最后会报错退出,提示缺少 libpython3.2mu.dll.a,只需将当前目录... 阅读全文
posted @ 2012-05-06 01:12 justin_s 阅读(1699) 评论(0) 推荐(0) 编辑
摘要: 纹理顶点(UV Vertexs)和网格几何顶点(Mesh Vertexs)无对应关系,但纹理面片(UV Faces)必然和网格面片(Mesh Face)一一对应。大家一定没有发现Mesh类存在一个什么诸如"numTVFaces"之类的成员来标识纹理面片的数量。这当然毫无必要,纹理面片的数目不但和几何面片的数目相同,而且在索引上也是一一对应的关系。tvFace就是纹理面片数组,显然faces[i]对... 阅读全文
posted @ 2012-04-20 22:21 justin_s 阅读(182) 评论(0) 推荐(0) 编辑
摘要: Normalizes the signature of the given method. Qt uses normalized signatures to decide whether two given signals and slots are compatible. Normalization reduces whitespace to a minimum, moves 'const' t... 阅读全文
posted @ 2012-03-23 11:26 justin_s 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 智能指针其实挺容易的。1. scoped_ptr<T>将指针自身的生命周期与对象绑定,“我死之日也是你亡之时”例如:#include "boost/smart_ptr.h"void Sample1_ScopedPtr() boost::scoped_ptr<CSample> samplePtr(new CSample); if (!samplePtr->Query() ) // just some function... return; samplePtr->Use();当我们使用例外的时候处理指针是特别烦人的事情(容易忘记销毁它)。使用 阅读全文
posted @ 2012-03-22 12:21 justin_s 阅读(2385) 评论(0) 推荐(2) 编辑
摘要: macro(copy_files GLOBPAT SOURCEDIR DESTINATION) file(GLOB COPY_FILES RELATIVE ${SOURCEDIR} ${SOURCEDIR}/${GLOBPAT}) foreach(FILENAME ${COPY_FILES}) set(SRC "${SOURCEDIR}/${FILENAME}") set(DST "${DEST... 阅读全文
posted @ 2012-03-21 18:33 justin_s 阅读(672) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 16 下一页