网球教程
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:
-
Start the "Visual Studio Command Prompt." You'll find this in the start menu under "Microsoft Visual Studio -> Visual Studio Tools".
-
Change to folder: [WXWIN root]\build\msw
-
Build default debug configuration:
nmake -f makefile.vc BUILD=debug
-
Build default release configuration:
nmake -f makefile.vc BUILD=release
-
Make sure the DLLs are in your PATH. They'll be found in [WXWIN root]\lib\vc_dll
-
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.
-
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.