cannot build project with opencv

I cannot build a project that depends on opencv, I get the error

Found OpenCV Windows Pack but it has not binaries compatible with your
  configuration.

and wasn't able to resolve it. To get the bottom of this I cloned https://ci.appveyor.com/project/JoakimSoderberg/catcierge, which passes the build, and tried to build it myself (https://ci.appveyor.com/project/jjacobsohn/catcierge), but I get the same error again.

How can the same project fail and pass depending on the account?

  1. Nice observation, thanks.

    Your jjacobsohn account runs on a new environment where build workers have Visual Studio 2015 installed. JoakimSoderberg account still runs on Azure where workers don't have VS 2015.

    There is a difference:

    Your account:

    -- Building for: Visual Studio 14 2015
    

    Their account:

    -- Building for: Visual Studio 12 2013
    

    The question - is there any way to force it building for VS 2013?

  2. Setting the os-Property in the appveyor.yml file to unstable seems to fix the issue, but I don't think that's a permanent solution (?).

  3. Yes, you just switched to an image without Visual Studio 2015. But VS 2015 is going to be released pretty soon and many developers will have it installed along with VS 2013. I don't believe that build can't be forced to use VS 2013 instead of using the most recent VS found. Have you tried contacting the author of that library?

  4. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:57 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac