配置wxWidgets 2.8在vc6的使用
2016-11-04 12:00
204 查看
-debug
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 wxmsw28d_core.lib wxpngd.lib wxzlibd.lib wxjpegd.lib wxtiffd.lib
-release
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 wxmsw28_core.lib wxpng.lib wxzlib.lib wxjpeg.lib wxtiff.lib
----------------------------------------
配置wxWidgets 2.8在vc6的使用
1).编译配置部分====
1.下载wxWidgets 2.8 forMsVC的,解压
2.用vc6打开build\msw\wx.dsw,进行编译,应该没有什么问题,就是慢。
3.配置tools中的include包含目录include和include\msvc,lib包含目录lib\vc_lib
4.
2).使用部分====
1.建立win32空工程
2.增加代码文件,可以用例子hworld.cpp内容
3.配置工程:
C/C++: Preprocessor
The Preprocessor definitions field should contain the following symbols for Debug:
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
(xxxx已经在project中设置了)The Additional include directories field should contain the following:
c:\wx2\include,c:\wx2\contrib\include,c:\wx2\lib\msw[d]
(xxxx)
C/C++: Precompiled Headers
The Not using precompiled headers or Automatic use of precompiled headers button should be selected.
C/C++: Code Generation
The Use run-time library control should be set to Debug Multithreaded DLL (Debug) or Multithreaded DLL (Release).
Link: Input
The Object/library modules field should contain:
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 wxmswd.lib
pngd.lib zlibd.lib jpegd.lib tiffd.lib
for the static 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 wxmsw.lib png.lib zlib.lib
jpeg.lib tiff.lib
for the static 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.
xxxxxxxxxxxxxxxxx
release没有问题了
debug就是无法使用????
-后面简化了编译内容后,忽然可以了。
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 wxmsw28d_core.lib wxpngd.lib wxzlibd.lib wxjpegd.lib wxtiffd.lib
-release
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 wxmsw28_core.lib wxpng.lib wxzlib.lib wxjpeg.lib wxtiff.lib
----------------------------------------
配置wxWidgets 2.8在vc6的使用
1).编译配置部分====
1.下载wxWidgets 2.8 forMsVC的,解压
2.用vc6打开build\msw\wx.dsw,进行编译,应该没有什么问题,就是慢。
3.配置tools中的include包含目录include和include\msvc,lib包含目录lib\vc_lib
4.
2).使用部分====
1.建立win32空工程
2.增加代码文件,可以用例子hworld.cpp内容
3.配置工程:
C/C++: Preprocessor
The Preprocessor definitions field should contain the following symbols for Debug:
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
(xxxx已经在project中设置了)The Additional include directories field should contain the following:
c:\wx2\include,c:\wx2\contrib\include,c:\wx2\lib\msw[d]
(xxxx)
C/C++: Precompiled Headers
The Not using precompiled headers or Automatic use of precompiled headers button should be selected.
C/C++: Code Generation
The Use run-time library control should be set to Debug Multithreaded DLL (Debug) or Multithreaded DLL (Release).
Link: Input
The Object/library modules field should contain:
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 wxmswd.lib
pngd.lib zlibd.lib jpegd.lib tiffd.lib
for the static 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 wxmsw.lib png.lib zlib.lib
jpeg.lib tiff.lib
for the static 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.
xxxxxxxxxxxxxxxxx
release没有问题了
debug就是无法使用????
-后面简化了编译内容后,忽然可以了。
相关文章推荐
- 不使用WxSmith和WxFormBuilder生成界面,手工输写基于WxWidgets程序的配置方法
- 一个快速配置使用wxWidgets的好东西 - wxPack
- wxWidgets在vc2005下的配置 和 使用注意!!
- VC6 编译并且使用wxWidgets - 我们用命令行方式build - 入门篇 一
- VC6使用GDI+的配置方法
- VC6使用GDI+的配置方法
- 如何在VC6中配置wxWidgets
- wxwidgets学习与使用备忘录一(下载、安装、配置篇)
- VC6 使用 log4cplus 1.0.2 输出毫秒配置
- vc6 使用 log4cplus 1.0.2 输出毫秒配置
- Red hat下使用automake自动配置wxWidgets的makefile
- vc6 使用 log4cplus 1.0.2 输出毫秒配置
- Windows下使用codeblocks+wxWidgets开发的配置方法
- 使用MinGW编译并配置wxWidgets
- wxwidgets学习与使用备忘录一(下载、安装、配置篇)
- VC6使用GDI+的配置方法
- vc6 使用winpcap时的环境配置
- 使用VC6进行winpcap编程之环境配置
- Windows下使用VS调用Caffe——基础配置
- NLog 配置与使用