我正在尝试安装Caffe.clr,它需要boost 1.59.0作为依赖项。无法安装:
Attempting to gather dependency information for package 'boost.1.59.0' with respect to project 'Project', targeting '.NETFramework,Version=v3.5,Profile=Unity Full v3.5'
Gathering dependency information took 2.08 ms
Attempting to resolve dependencies for package 'boost.1.59.0' with DependencyBehavior 'Lowest'
Resolving dependency information took 0 ms
Resolving actions to install package 'boost.1.59.0'
Resolved actions to install package 'boost.1.59.0'
Retrieving package 'boost 1.59.0' from 'nuget.org'.
Install failed. Rolling back...
Package 'boost.1.59.0' does not exist in project 'ParticleFilter2'
Package 'boost.1.59.0' does not exist in folder 'c:\Project'
Executing nuget actions took 2.96 sec
Install-Package : Could not install package 'boost 1.59.0'. You are trying to install this package into a project that targets '.NETFramework,Version=v3.5,Profile=Unity Full v3.5', but the package does not contain
any assembly references or content files that are compatible with that framework. For more information, contact the package author.
At line:1 char:1
+ Install-Package boost -Version 1.59.0
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
我尝试了很多目标,包括.Net 3.5 vanilla,.Net 4.6和.Net 4.7.1,它们都给出大致相同的错误。为什么会这样呢?如何安装Boost / Caffe?
答案 0 :(得分:0)
我认为您无法将本机软件包安装到NETFramework,Version=v3.5,Profile=Unity Full v3.5