添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In the builds from the last couple days I suddenly get the following error message:

c:\imagemagick\visualmagick\configure\stdafx.h(17): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory [C:\ImageMagick\VisualMagick\configure\configure.vcxproj]

It looks like this has happened after the April 2 update of the images. I then tried the VS 2015 build and the previous VS 2013 build but they both failed:

  • Visual Studio 2013: https://ci.appveyor.com/project/dlemstra/imagemagick-windows/build/ImageMagick-master.2572
  • Visual Studio 2015: https://ci.appveyor.com/project/dlemstra/imagemagick-windows/build/ImageMagick-master.2573
  • Previous Visual Studio 2013: https://ci.appveyor.com/project/dlemstra/imagemagick-windows/build/ImageMagick-master.2574
  • And the logs also shows the following message (no idea if that is related):

    The license for Visual Studio has expired.

    I see you're used to build on Visual Studio 2013 image. Have to say we've been very conservative updating Visual Studio 2013 image - nothing substantial have been changed there for a long time. And the fact it's not working on Previous Visual Studio 2013 gives more signs that it might be some code change.

    Can you try re-building (from UI) last successful build, for example this one: https://ci.appveyor.com/project/dlemstra/imagemagick-windows/build/ImageMagick-master.2554

    Running the build on an older commit won't be a proper check because we always clone the latest version of a couple other repositories when we run the build.

    I just pushed a change to do a checkout at a specific date (April 2) and this produces the exact same result: https://ci.appveyor.com/project/dlemstra/imagemagick-windows/build/ImageMagick-master.2579/job/a3isn4p1cnn6reyf . The code that is being build is a checkout from this commit: ImageMagick/VisualMagick@ f2e6296 and that commit was done 14 days ago.

    Well, looking at your build history there was a successful build on April 3rd ( https://ci.appveyor.com/project/dlemstra/imagemagick-windows/build/ImageMagick-master.2562 ) which was after the very last image update on April 2nd ( https://www.appveyor.com/updates/2018/04/02/ ). Additionally, the fact it doesn't work on either Previous Visual Studio 2013 and Visual Studio 2013 gives another hint that might be some changes in the code or external dependencies.

    It looks like it an issue on both sides. This was the log from the correct build:

    Microsoft Visual Studio 2013 Version 12.0.40629.0.
    The license for Visual Studio expires today.
    Upgrading project 'configure'...
    Configuration 'Debug|Win32': changing Platform Toolset to 'v120' (was 'v100').
    Configuration 'Release|Win32': changing Platform Toolset to 'v120' (was 'v100').

    And this from the failing builds:

    Microsoft Visual Studio 2013 Version 12.0.40629.0.
    The license for Visual Studio has expired.
    Class not registered.
    Looking for object with CLSID: {6C4024E7-5DEC-4EEC-B3F9-55B3F3AD1E9E}.

    It looks like our projects was upgraded from v100 to v120 before but that does not seem to be happening anymore. I just pushed a patch to change the project to use Visual Studio 2013 and now it builds again.