1.安装的一些问题:
安装方法:http://redmine.webtoolkit.eu/projects/wt/wiki/Installing_Wt_on_MS_Windows
2.安装BOOST资料 很GOOD 很新
http://www.docin.com/p-181270312.html
3.QT4。
擦 设置了半天, 居然提示要装QT4的库 幸好去年学游戏的时候玩地图编辑懂了点QT 赶紧去装上 我记得qt.csdn.net为了迎合菜鸟 界面 提示下载什么的很清楚 go!.
4.2012年2月6日 明天我生日了 装上QT4 点Cmake的Generate 总算编过 出现了传说中的wt.sin.
[ D:/CMake 2.8/share/cmake-2.8/Modules/FindBoost.cmake:518 ] boost 1.47.0 is already in the cache. To view debugging messages, please clear the cache.
WT_NO_BOOST_RANDOM is ON
[ D:/CMake 2.8/share/cmake-2.8/Modules/FindBoost.cmake:518 ] boost 1.47.0 is already in the cache. To view debugging messages, please clear the cache.
** Enabling multi threading.
Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
** Disabling crypto support (Auth::SHA1HashFunction, HTTPS support): requires OpenSSL.
Indicate the location of your OpenSSL library using -DSSL_PREFIX=...
** Disabling PDF support (WPdfImage, WPdfRenderer): requires libharu.
Indicate the location of your haru library using -DHARU_PREFIX=...
** Disabling raster image support (WRasterImage): requires graphicsmagick.
Indicate the location of your graphicsmagick library using -DGM_PREFIX=...
** Disabling advanced font rendering support: requires libpango.
Wt will use pkg-config to retrieve your libpango installation location.
** Wt::Dbo: building SQLite3 backend.
** Wt::Dbo: not building Postgres backend.
Indicate the location of your postgres installation using -DPOSTGRES_PREFIX=...
** Wt::Dbo: not building Firebird backend.
Indicate the location of your FirebirdSQL and IBPP installation using -DFIREBIRD_PREFIX=... -DIBPP_SRC_DIRECTORY=...
** Enabling ISAPI.
** Disabling FastCGI connector.
** Enabling built-in httpd.
** Not building gitmodel example: uses POSIX calls not available on win32
** Not building mandelbrot example: requires Wt::WRasterImage.
** Not building style example: requires WRasterImage.
Configuring done
Generating done
windows系统 提示一堆。。 翻一下看了看 不影响 用不着的功能吧
5.根据官方资料 到我建立的build文件夹下打开wt.sin 开始编译WT库。 编译中。。。。。。。。
放个推广 快快网络 www.kk30.com 用C++做WEB 在上面买了个主机 免备案又是国内的 玩玩。
6. 发现编译失败 什么boost 的 random 报错 查了wiki社区 终于找到
http://redmine.emweb.be/issues/1070
尼玛 要把WT_NO_BOOST_RANDOM 给去掉 如果boost版本大于1.45的话 哎。
7. 现在情况是这样的 我start hello.wt 结果提示没有BOOST的DLL 可是我明明引用了那个文件夹。 没办法 直接把BOOST的所有DLL搬到hello文件夹下。 测试 成功了。 先就凑合这样了 。。 找到原因再补充。 以前也遇到过找不到DLL的 然后我就把DLL 直接扔SYSTEM32了 哈哈。。 这个DLL VS2008咋找不到 难道我引用错地方了 留个疑问 下次问问高手。
至此 这篇先结束了。。