My E-mail 用志趣吸引人;用感情留住人;用技術武裝人;用創新發展人;一切以人為本!

Leo LU

wxWidgets-2.8.7 学习笔记

HTML示例中用到的LIB:

wxmsw28d_html.lib

wxmsw28d_core.lib
wxbase28d.lib
wxtiffd.lib
wxjpegd.lib
wxpngd.lib
wxzlibd.lib
wxregexd.lib
wxexpatd.lib
winmm.lib
rpcrt4.lib
wsock32.lib
comctl32.lib

kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib

 

c++ compile 参数:control windows

link 参数:subsystems: windows

 

 Installation step:

 

Using project files (VC++ 6 and later):



1. Unarchive wxWidgets-x.y.z-vc.zip, the VC++ 6 project

makefiles (already included in wxMSW-x.y.z.zip and the setup version).

2. Open build"msw"wx.dsw, which has configurations for static

compilation or DLL compilation, and each of these available in

Unicode/ANSI, Debug/Release and wxUniversal or native variations.

Normally you'll use a static linking ANSI configuration.

Choose the Win32 Debug or Win32 Release configuration (or any other that

suits your needs) and use Batch Build to compile _all_ projects. If you

know you won't need some of the libraries (i.e. html part), you don't have

to compile it. It will also produce similar variations on jpeg.lib,

png.lib, tiff.lib, zlib.lib, and regex.lib.



If you want to build DLL configurations in wx.dsw project you unfortunately

need to build them in the proper order (jpeg, png, tiff, zlib, regex, expat,

base, net, odbc, core, gl, html, media, qa, adv, dbgrid, xrc, aui, richtext)

manually because VC6 doesn't always respect the correct build order.



Alternatively, use the special wx_dll.dsw project which adds the

dependencies to force the correct order (but, because of this, doesn't work

for the static libraries) or simply redo the build several times until all

DLLs are linked correctly. Pleae notice that it's normal that dbgrid project

doesn't build if wxUSE_ODBC is set to 0 (default).

3. Open a sample project file, choose a configuration such as

Win32 Debug using Build | Set Active Configuration..., and compile.

The project files don't use precompiled headers, to save disk

space, but you can switch PCH compiling on for greater speed.

NOTE: you may also use samples/samples.dsw to access all

sample projects without opening each workspace individually.

You can use the Batch Build facility to make several samples

at a time.

 

posted on 2008-07-23 17:09  Leo LU  阅读(356)  评论(0)    收藏  举报

导航