tag:help.appveyor.com,2012-11-13:/discussions/problems/2475-cannot-build-project-with-opencvAppVeyor: Discussion 2018-08-25T01:57:57Ztag:help.appveyor.com,2012-11-13:Comment/373684312015-07-13T08:26:57Z2015-07-13T08:27:00Zcannot build project with opencv<div><p>I cannot build a project that depends on opencv, I get the
error</p>
<p>Found OpenCV Windows Pack but it has not binaries compatible
with your<br>
configuration.</p>
<p>and wasn't able to resolve it. To get the bottom of this I
cloned <a href="https://ci.appveyor.com/project/JoakimSoderberg/catcierge">https://ci.appveyor.com/project/JoakimSoderberg/catcierge</a>,
which passes the build, and tried to build it myself (<a href="https://ci.appveyor.com/project/jjacobsohn/catcierge">https://ci.appveyor.com/project/jjacobsohn/catcierge</a>),
but I get the same error again.</p>
<p>How can the same project fail and pass depending on the
account?</p></div>Johann Jacobsohntag:help.appveyor.com,2012-11-13:Comment/373684312015-07-13T17:14:31Z2015-07-13T17:14:42Zcannot build project with opencv<div><p>Nice observation, thanks.</p>
<p>Your <code>jjacobsohn</code> account runs on a new environment
where build workers have Visual Studio 2015 installed.
<code>JoakimSoderberg</code> account still runs on Azure where
workers don't have VS 2015.</p>
<p>There is a difference:</p>
<p>Your account:<br></p>
<pre>
<code><a href="https://ci.appveyor.com/project/jjacobsohn/catcierge/build/1.0.1#L68">-- Building for: Visual Studio 14 2015</a></code>
</pre>
<p>Their account:<br></p>
<pre>
<code><a href="https://ci.appveyor.com/project/JoakimSoderberg/catcierge/build/1.0.181#L46">-- Building for: Visual Studio 12 2013</a></code>
</pre>
<p>The question - is there any way to force it building for VS
2013?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/373684312015-07-14T15:05:09Z2015-07-14T15:05:09Zcannot build project with opencv<div><p>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 (?).</p></div>Johann Jacobsohntag:help.appveyor.com,2012-11-13:Comment/373684312015-07-14T16:41:59Z2015-07-14T16:41:59Zcannot build project with opencv<div><p>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?</p></div>Feodor Fitsner