C++ Building Winsparkle for VS2012

C++ Building Winsparkle for VS2012

本文关键字:VS2012 for Winsparkle Building C++      更新时间:2023-10-16

WinSparkle的文档指出,如果我们想从源构建它,我们需要做的就是运行WinSparkle-2012.sln。不幸的是,我无法构建这个项目,因为我得到这些错误

Error   1   error C1083: Cannot open source file: 'wxWidgetssrccommonany.cpp': No such file or directory C:winsparkle3rdpartyc1xx
Error   2   error C1083: Cannot open source file: 'wxWidgetssrccommonappbase.cpp': No such file or directory C:winsparkle3rdpartyc1xx
Error   3   error C1083: Cannot open source file: 'wxWidgetssrccommoncheckboxcmn.cpp': No such file or directory C:winsparkle3rdpartyc1xx
Error   4   error C1083: Cannot open source file: 'wxWidgetssrccommonarrstr.cpp': No such file or directory  C:winsparkle3rdpartyc1xx
Error   5   error C1083: Cannot open source file: 'wxWidgetssrccommonartprov.cpp': No such file or directory C:winsparkle3rdpartyc1xx
Error   6   error C1083: Cannot open source file: 'wxWidgetssrccommonbmpbase.cpp': No such file or directory C:winsparkle3rdpartyc1xx
Error   7   error C1083: Cannot open source file: 'wxWidgetssrccommonbtncmn.cpp': No such file or directory  C:winsparkle3rdpartyc1xx
Error   8   error C1083: Cannot open source file: 'wxWidgetssrccommoncolourcmn.cpp': No such file or directory   C:winsparkle3rdpartyc1xx
Error   9   error C1083: Cannot open source file: 'wxWidgetssrccommoncmdproc.cpp': No such file or directory C:winsparkle3rdpartyc1xx
Error   10  error C1083: Cannot open source file: 'wxWidgetssrccommoncmdline.cpp': No such file or directory C:winsparkle3rdpartyc1xx
Error   11  error C1083: Cannot open source file: 'wxWidgetssrccommonappcmn.cpp': No such file or directory  C:winsparkle3rdpartyc1xx
Error   12  error C1083: Cannot open source file: 'wxWidgetssrccommonclntdata.cpp': No such file or directory    C:winsparkle3rdpartyc1xx
Error   13  error C1083: Cannot open source file: 'wxWidgetssrccommonconfig.cpp': No such file or directory  C:winsparkle3rdpartyc1xx
Error   14  error C1083: Cannot open source file: 'wxWidgetssrccommoncontainr.cpp': No such file or directory    C:winsparkle3rdpartyc1xx
Error   15  error C1083: Cannot open source file: 'wxWidgetssrccommonconvauto.cpp': No such file or directory    C:winsparkle3rdpartyc1xx
Error   16  error C1083: Cannot open source file: 'wxWidgetssrccommonctrlcmn.cpp': No such file or directory C:winsparkle3rdpartyc1xx
Error   17  error C1083: Cannot open source file: 'wxWidgetssrccommondcbufcmn.cpp': No such file or directory    C:winsparkle3rdpartyc1xx
Error   18  error C1083: Cannot open source file: 'wxWidgetssrccommondcbase.cpp': No such file or directory  C:winsparkle3rdpartyc1xx
Error   19  error C1083: Cannot open source file: 'wxWidgetssrccommonctrlsub.cpp': No such file or directory C:winsparkle3rdpartyc1xx
Error   20  error C1083: Cannot open source file: 'wxWidgetssrccommondircmn.cpp': No such file or directory  C:winsparkle3rdpartyc1xx
Error   21  error C1083: Cannot open source file: 'wxWidgetssrccommondlgcmn.cpp': No such file or directory  C:winsparkle3rdpartyc1xx
Error   22  error C1083: Cannot open source file: 'wxWidgetssrccommondobjcmn.cpp': No such file or directory C:winsparkle3rdpartyc1xx
Error   23  error C1083: Cannot open source file: 'wxWidgetssrccommondpycmn.cpp': No such file or directory  C:winsparkle3rdpartyc1xx
Error   24  error C1083: Cannot open source file: 'wxWidgetssrccommondynarray.cpp': No such file or directory    C:winsparkle3rdpartyc1xx
Error   25  error C1083: Cannot open source file: 'wxWidgetssrccommondynlib.cpp': No such file or directory  C:winsparkle3rdpartyc1xx
Error   26  error C1083: Cannot open source file: 'wxWidgetssrccommonencconv.cpp': No such file or directory C:winsparkle3rdpartyc1xx
Error   27  error C1083: Cannot open source file: 'wxWidgetssrccommonfilefn.cpp': No such file or directory  C:winsparkle3rdpartyc1xx
Error   28  error C1083: Cannot open source file: 'wxWidgetssrccommonfilename.cpp': No such file or directory    C:winsparkle3rdpartyc1xx
Error   29  error C1083: Cannot open source file: 'wxWidgetssrccommonfile.cpp': No such file or directory    C:winsparkle3rdpartyc1xx
Error   30  error C1083: Cannot open source file: 'wxWidgetssrccommonevtloopcmn.cpp': No such file or directory  C:winsparkle3rdpartyc1xx
Error   31  error C1083: Cannot open source file: 'wxWidgetssrccommonevent.cpp': No such file or directory   C:winsparkle3rdpartyc1xx
Error   32  error C1083: Cannot open source file: 'wxWidgetssrccommonfontcmn.cpp': No such file or directory C:winsparkle3rdpartyc1xx
Error   33  error C1083: Cannot open source file: 'wxWidgetssrccommonframecmn.cpp': No such file or directory    C:winsparkle3rdpartyc1xx
Error   34  error C1083: Cannot open source file: 'wxWidgetssrccommongaugecmn.cpp': No such file or directory    C:winsparkle3rdpartyc1xx
Error   35  error C1083: Cannot open source file: 'wxWidgetssrccommongbsizer.cpp': No such file or directory C:winsparkle3rdpartyc1xx
Error   36  error C1083: Cannot open source file: 'wxWidgetssrccommonhash.cpp': No such file or directory    C:winsparkle3rdpartyc1xx
Error   37  error C1083: Cannot open source file: 'wxWidgetssrccommonhashmap.cpp': No such file or directory C:winsparkle3rdpartyc1xx
Error   38  error C1083: Cannot open source file: 'wxWidgetssrccommongdicmn.cpp': No such file or directory  C:winsparkle3rdpartyc1xx
Error   39  error C1083: Cannot open source file: 'wxWidgetssrccommoninit.cpp': No such file or directory    C:winsparkle3rdpartyc1xx
Error   40  error C1083: Cannot open source file: 'wxWidgetssrccommoniconbndl.cpp': No such file or directory    C:winsparkle3rdpartyc1xx
Error   41  error C1083: Cannot open source file: 'wxWidgetssrccommonlist.cpp': No such file or directory    C:winsparkle3rdpartyc1xx
Error   42  error C1083: Cannot open source file: 'wxWidgetssrccommonlog.cpp': No such file or directory C:winsparkle3rdpartyc1xx
Error   43  error C1083: Cannot open source file: 'wxWidgetssrccommonipcbase.cpp': No such file or directory C:winsparkle3rdpartyc1xx
Error   44  error C1083: Cannot open source file: 'wxWidgetssrccommonlayout.cpp': No such file or directory  C:winsparkle3rdpartyc1xx
Error   45  error C1083: Cannot open source file: 'wxWidgetssrccommonmenucmn.cpp': No such file or directory C:winsparkle3rdpartyc1xx
Error   46  error C1083: Cannot open source file: 'wxWidgetssrccommonlonglong.cpp': No such file or directory    C:winsparkle3rdpartyc1xx
Error   47  error C1083: Cannot open source file: 'wxWidgetssrccommonmatrix.cpp': No such file or directory  C:winsparkle3rdpartyc1xx
Error   48  error C1083: Cannot open source file: 'wxWidgetssrccommonmodule.cpp': No such file or directory  C:winsparkle3rdpartyc1xx
Error   49  error C1083: Cannot open source file: 'wxWidgetssrccommonmodalhook.cpp': No such file or directory   C:winsparkle3rdpartyc1xx
Error   50  error C1083: Cannot open source file: 'wxWidgetssrccommonmsgout.cpp': No such file or directory  C:winsparkle3rdpartyc1xx
Error   51  error C1083: Cannot open source file: 'wxWidgetssrccommonmousemanager.cpp': No such file or directory    C:winsparkle3rdpartyc1xx
Error   52  error C1083: Cannot open source file: 'wxWidgetssrccommonobject.cpp': No such file or directory  C:winsparkle3rdpartyc1xx
Error   53  error C1083: Cannot open source file: 'wxWidgetssrccommonpanelcmn.cpp': No such file or directory    C:winsparkle3rdpartyc1xx

项目中不存在这些文件。我需要做什么是生成这些文件?

我相信您没有启动/更新子模型,所以您没有得到wxwidgets,他们在他们的读书中解释了:

$ git clone git://github.com/vslavik/winsparkle.git
$ cd winsparkle
$ git submodule init
$ git submodule update