摘要: Wu-ftpdhttp://www.wu-ftpd.orgProftpdhttp://www.proftpd.orgvsFTPd (Very SecureFTPd),(Red Hat Enterprise Linux 5)http://vsftpd.beasts.orgPureFTPd ,(SuSE,Debian)http://www.pureftpd.orgServ-U , (Windows)http://www.rhinosoft.com.cnvsFTPd安装vsFTPd# rpm -q vsftpd# rpm -ivh vsftpd-*.e15.i386.rpm# service vsf 阅读全文
posted @ 2013-02-06 12:36 一路来过 阅读(472) 评论(0) 推荐(0) 编辑
摘要: QT 4.8.1 + OpenGL 无法使用GLU库的问题 :1、在需要glu库的cpp下,包含“GL/glu.h”2、这样还是会提示gluPerspective() 的 reference 没有(还没链接glu的库),所以在*.pro 下 加一句:LIBS+=-lGLU\ 阅读全文
posted @ 2013-02-06 12:36 一路来过 阅读(263) 评论(0) 推荐(0) 编辑
摘要: 建立vs2008文注册文件: install_highlighting_vs9.reg内容如下Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\Languages\File Extensions\.cg]@="{B2F072B0-ABC1-11D0-9D62-00C04FD9DFD9}"[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\Languages\File Extensio 阅读全文
posted @ 2013-02-06 12:35 一路来过 阅读(362) 评论(0) 推荐(0) 编辑
摘要: 第一步: build Boost.BuildH:\boost\boost_1_53_0\tools\build\v2>bootstrap.bat第二步: Install Boost.BuildH:\boost\boost_1_53_0\tools\build\v2>.\b2 --prefix=H:\boost\boost_1_53_0\bin installChange your current directory to the Boost root directory and invoke b2 as follows:第三步: 设置环境变量,boost依赖的库H:\boost\b 阅读全文
posted @ 2013-02-06 12:14 一路来过 阅读(1366) 评论(0) 推荐(0) 编辑
摘要: 环境:Windows 7, VS2012编译提示:error C2365: “PS_PAUSED”: 重定义;以前的定义是“枚举数”解决办法:在stdafx.h文件后加上如下:#define PS_PAUSED PS_PAUSED2 阅读全文
posted @ 2013-02-03 10:14 一路来过 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 1.激活服务器的网卡,命令如下:sudo nano /etc/network/interfaces在 interfaces 中添加以下内容:auto eth0iface eth0 inet staticaddress 202.113.235.181netmask 255.255.255.0gateway 202.113.235.1这其中,斜体部分标注的 IP 地址是服务器的设置,您需要根据您的具体情况修改。当然,如果服务器使用的是 DHCP 来分配 IP 地址,只需要写上 iface eth0 inet dhcp 就可以了,无需设置 address/netmask/gateway。注意:使用的 阅读全文
posted @ 2012-08-27 09:20 一路来过 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 1.CodeLite配置wxWidgets首先保证codelite + MinGW 能正常工作;2.Build wxWidgets参考:http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef#Build_wxWidgets启动MinGW Shellcd /D <wxWidgets>\build\mswExecute the build command. The recommended command to use forMinGW/GCCis:mingw32-make -f makefile.gcc BUILD=re 阅读全文
posted @ 2012-06-16 22:47 一路来过 阅读(5921) 评论(0) 推荐(0) 编辑
摘要: 1.下载:http://www.wxwidgets.org/https://sourceforge.net/projects/wxwindows/files/2.9.3/wxWidgets-2.9.3.tar.bz2/download2.install:export WXWIN=~/wxWidgetscd ~/wxWidgetsmkdir mybuildcd mybuild../configure --with-gtk OR ../configure --with-motifmakesu <type root password>make installldconfigexit参考: 阅读全文
posted @ 2012-06-16 22:28 一路来过 阅读(444) 评论(0) 推荐(0) 编辑
摘要: 1.直接从yum源安装:sudo yum install codeblocks2.源码安装下载codeblocks 源程序包http://www.codeblocks.org/tar jxf codeblocks-*-src.tar.bz2cd codeblocks./configure –prefix=/usrmakesudo make install参考:http://tech.ddvip.com/2009-06/1243841253121804.htmlhttp://www.ej38.com/showinfo/c-linux-189216.htmlhttp://www.cnblogs.c 阅读全文
posted @ 2012-06-16 22:16 一路来过 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 错误信息如下:[Linker error] undefined reference to `__cpu_features_init' ld returned 1 exit status出现这种情况:一般为库文件找不到。解决办法:在Dev c++中添加MinGW的库,然后让其设置为首先查找的,就是利用MinGW的lib。 在Dev-c++中,打开“工具->编译选项->目录->库” 阅读全文
posted @ 2012-06-15 06:56 一路来过 阅读(479) 评论(0) 推荐(0) 编辑