wxWidgets缺少setup.h

网球教程

 

http://v.youku.com/v_show/id_XMjMzNDI4OTQ4.html

http://v.youku.com/v_show/id_XMjEyNzk2MjQ4.html

http://v.youku.com/v_show/id_XMTUxODU3Njgw.html

 

http://v.youku.com/v_show/id_XMTg5OTY1Mg==.html

 

http://v.youku.com/v_show/id_XMjM2MjE2NzI0.html

 

教学

http://v.youku.com/v_show/id_XMTc2NzQ2Njc2.html

 

http://v.youku.com/v_show/id_XMTkwNzE4MzQw.html

 

http://v.youku.com/v_show/id_XMjczNjMxMTk2.html

wxWidgets is not built into useable libraries when you "install" the wxMSW installer. This is because there are so many configurable elements, which is precisely what the setup.h you refer to is for.

If you just want to build it with default options as quickly as possible and move on, here is how:

  1. Start the "Visual Studio Command Prompt." You'll find this in the start menu under "Microsoft Visual Studio -> Visual Studio Tools".

  2. Change to folder: [WXWIN root]\build\msw

  3. Build default debug configuration: nmake -f makefile.vc BUILD=debug

  4. Build default release configuration: nmake -f makefile.vc BUILD=release

  5. Make sure the DLLs are in your PATH. They'll be found in [WXWIN root]\lib\vc_dll

  6. Under the DLL folder mentioned above, you will find subfolders for each build variant (The instructions above made two, debug and release.) In each variant folder you'll find a 'wx' folder containing a 'setup.h" file. You'll see that the setup.h files are actually different for each build variant. These are the folders you need to add to your project build configuration include path, one per build variant. So, for example, you'd add [WXWIN root]\lib\vc_dll\mswud to the include path for your debug build, [WXWIN root]\lib\vc_dll\mswu for your release build.

  7. It is possible to build lots of other variant combinations: static libs, monolithic single library, non-Unicode, etc. See [WXWIN root]\docs\msw\install.txt for much more extensive instructions.

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值