NuGet OpenCV error in Windows build

4,426 views
Skip to first unread message

Fedor Morozov

unread,
Apr 17, 2016, 6:51:08 PM4/17/16
to Caffe Users
Hi!
I'm trying to compile caffe on Windows following instructions in the windows branch.
I'm using Visual Studio 2013.5 under Windows 10.
The build fails with the following error:
NuGet Error:Unable to find version '2.4.10' of package 'OpenCV.overlay-x64_v120_Release'.
Any suggestions?
Thanks.

Adit Sheth

unread,
Apr 28, 2016, 3:20:05 AM4/28/16
to Caffe Users
I have the same error.

fsr

unread,
Apr 28, 2016, 12:26:02 PM4/28/16
to Caffe Users
Maybe you can try (if not) uninstall and re-install the package via Nuget Package Manager Console for the caffe project.

https://www.nuget.org/packages/OpenCV/

18 Nisan 2016 Pazartesi 01:51:08 UTC+3 tarihinde Fedor Morozov yazdı:

Fedor Morozov

unread,
Apr 28, 2016, 4:08:28 PM4/28/16
to Caffe Users
Reinstalling OpenCV did not help.
I've managed to solve this by replacing nuget.config with the following one:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
 
<repositoryPath>..\..\NugetPackages</repositoryPath>
 
<packageRestore>
   
<add key="enabled" value="True" />
   
<add key="automatic" value="True" />
 
</packageRestore>
 
<packageSources>
   
<add key="nuget.org" value="https://www.nuget.org/api/v2/" />
 
</packageSources>
 
<disabledPackageSources />
 
<activePackageSource>
   
<add key="All" value="(Aggregate source)" />
 
</activePackageSource>
</configuration>



четверг, 28 апреля 2016 г., 19:26:02 UTC+3 пользователь fsr написал:

靳凯

unread,
Jun 3, 2016, 8:34:43 AM6/3/16
to Caffe Users
Thx a lot, it indeed works!

在 2016年4月29日星期五 UTC+8上午4:08:28,Fedor Morozov写道:
Reply all
Reply to author
Forward
0 new messages