2012 年二月 一 二 三 四 五 六 日 « 一 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 近期评论
- wlx [微博 ] 发表在《google彻底被封?》
- snake 发表在《google彻底被封?》
- Andrew Pelt 发表在《debian testing上安装oracle 10g》
- tiplip 发表在《webmap.cn使用的WEBGIS技术》
- 求助Evolution问题!! 发表在《evolution crashed in gutsy alpha》
分类目录
标签
anjuta apache backup breezy c++ compile convert dapper debian dns edgy evolution feisty firefox flash gnome gobang GRASS gutsy humor intrepid Linux mailman MapServer mysql openoffice Oracle php phpbb postfix PostGIS postgresql qgis sarge scim skype subversion svn tomcat ubuntu utf8 westdc Windows wordpress 中文
Tag Archives: wxwidget
编译wxWidgets for windows on ubuntu dapper
原文:http://www.wxwidgets.org/wiki/index.php/Cross-Compiling_Under_Linux 下载allportscombine包,然后: ./configure –with-msw –target=i586-mingw32msvc –host=i586-mingw32msvc –build=i386-linux –enable-unicode –prefix=/usr/i586-mingw32msvc/ make make install 注意编译的时候要分两步走,不能象G++那样一步到位: i586-mingw32msvc-g++ -c -o minimal.o minimal.cpp `/usr/i586-mingw32/bin/wx-config –cxxflags` i586-mingw32msvc-g++ -o minimal.exe minimal.o `/usr/i586-mingw32/bin/wx-config –libs` 因为wxWidgets是以动态库的方式编译的,还需要拷贝相关的DLL: cp /usr/i586-mingw32msvc/lib/wx*.dll . 同时,还要拷贝mingw32的一个库过来: cp /usr/share/doc/mingw32-runtime/mingwm10.dll.gz . gzip -d *.gz 然后就可以进行测试了: wine minimal.exe