diff --git a/docs/tech/index.txt b/docs/tech/index.txt index 42dbd55d20..f9174d1d8d 100644 --- a/docs/tech/index.txt +++ b/docs/tech/index.txt @@ -7,5 +7,6 @@ TN0006 Making and installing RPMs for wxWindows TN0007 Using and modifying the BC++ IDE files TN0008 How to learn wxWindows programming TN0009 Creating and converting icons +TN0010 Compiling wxWindows applications in the VC++ IDE Version: $Id$ diff --git a/docs/tech/tn0010.htm b/docs/tech/tn0010.htm new file mode 100644 index 0000000000..f5051266bd --- /dev/null +++ b/docs/tech/tn0010.htm @@ -0,0 +1,282 @@ + + +
++ +Compiling wxWindows applications in the VC++ IDE + + | +
+ +
+ +To compile wxWindows samples and applications using the VC++ 5.0 or 6.0 IDE (having compiled wxWindows +using the makefile or project file provided), the following +steps and settings should be used.
+ +
+ +
+ +
+ +
+ +
+ +
+WIN32,_DEBUG,_WINDOWS,__WINDOWS__,__WXMSW__,__WXDEBUG__,WXDEBUG=1, +__WIN95__,__WIN32__,WINVER=0x0400,STRICT ++
+and these for Release:
+ +
+NDEBUG,WIN32,_WINDOWS,__WINDOWS__,__WXMSW__,__WIN95__,__WIN32__, +WINVER=0x0400,STRICT+
+The Additional include directories field should contain the following:
+
+c:\wx2\include,c:\wx2\contrib\include ++
(and of couse any other directories you wish to use in your project).
+ +
+ +
+ +
+kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib +ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib +winmm.lib wxd.lib xpmd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib ++ +for the Debug configuration and + +
+kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib +ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib +winmm.lib wx.lib xpm.lib png.lib zlib.lib jpeg.lib tiff.lib ++ +for the Release configuration.
+ +The Ignore libraries field should contain: + +
+libcd.lib,libcid.lib,msvcrt.lib ++ +for the Debug configuration and + +
+libc.lib,libci.lib,msvcrtd.lib ++ +for the Release configuration.
+ +The Additional library path field should contain + +
+c:\wx2\lib,c:\wx2\contrib\lib ++ +for both Debug and Release configurations. + +
+ +
+c:\wx2\include;c:\wx2\contrib\include ++ +
+ +
+ +
+ +
+
+WIN32,_DEBUG,_WINDOWS,wx_msw,DEBUG=1,WIN95=1,WINVER=0x0400,STRICT ++
+The Additional include directories field should contain the following:
+
+../../include/base,../../include/msw ++
(and of couse any other directories you wish to use in your project).
+ +
+ +
+ +
+kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib +shell32.lib odbc32.lib odbccp32.lib comctl32.lib +../../lib/wx.lib ../../src/msw/dummy.obj ++ +The Ignore libraries field should contain: + +
+libcd.lib,libcid.lib ++ +
+ +
+..\..\include\msw;..\..\contrib\fafa ++ +
+ + + + + + + +