使用VC2008重新编译wxPack2.8.10

前提:

  • 操作系统是windows
  • 安装好visual studio .net 2008
  • 安装好wxpack2.8.10

重新编译

假定wxpack2.8.10的安装目录是“C:/SourceCode”。首先进入命令行界面。然后,运行目录“C:/SourceCode/Libraries/wxWidgets2.8/build/msw”下wxBuild_wxWidgets.bat批处理文件。

 

下面是该程序命令行参数的说明,这里就不翻译了。
C:/SourceCode/Libraries/wxWidgets2.8/build/msw>wxBuild_wxWidgets.bat

ERROR OCCURED!
Not enough command line parameters.

wxBuild_wxWidgets v1.11
    Build wxWidgets with the MinGW/Visual C++ Tool chains.

Usage: "wxBuild_wxWidgets.bat <Compiler{MINGW|VCTK|VC71|VC80|VC90}> <BuildTarget
{LIB|DLL|ALL|CLEAN|MOVE|NULL}> [Specific Option (See Below)]"

     Compiler Options:
          MINGW  = MinGW Gcc v3.x.x compiler
          MINGW4 = MinGW Gcc v4.x.x compiler
          VCTK   = Visual C++ 7.1 Toolkit
          VC71   = Visual C++ 7.1
          VC80   = Visual C++ 8.0
          VC90   = Visual C++ 9.0

     BuildTarget Options:
          LIB   = Builds all the static library targets.
          DLL   = Builds all the dynamic library targets.
          ALL   = Builds all the targets (Recommended).
          CLEAN = Cleans the solution.
          MOVE  = Moves the binary files to a compiler specific directory.
                  This helps to allow for automated builds using compilers
                  from the same family. (ex. VC 7.1 and VC8.0))
          NULL  = Used so that you can specify a specific target. (See below)

     Specific Options(Used with NULL):
          LIB_DEBUG, LIB_RELEASE, LIB_DEBUG_UNICODE, LIB_RELEASE_UNICODE,
           LIB_DEBUG_MONO, LIB_RELEASE_MONO, LIB_DEBUG_MONO_UNICODE,
           LIB_RELEASE_MONO_UNICODE,

          DLL_DEBUG, DLL_RELEASE, DLL_DEBUG_UNICODE, DLL_RELEASE_UNICODE,
           DLL_DEBUG_MONO, DLL_RELEASE_MONO, DLL_DEBUG_MONO_UNICODE,
           DLL_RELEASE_MONO_UNICODE

     Examples:
          wxBuild_default.bat MINGW ALL
            Builds all targets with MinGW Gcc Compiler.

          wxBuild_default.bat VCTK LIB
            Builds just the static libraries with Visual C++ 7.1 Toolkit.

          wxBuild_default.bat VCTK NULL LIB_RELEASE
            Builds only the release static library with Visual C++ 7.1 Toolkit

C:/SourceCode/Libraries/wxWidgets2.8/build/msw>

 

运行“wxBuild_wxWidgets.bat vc90 ALL”。然后耐心等待编译结果吧...

欢迎支持阿爸阿妈超值优选

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值