繁体   English   中英

无法通过nuget安装Boost 1.59.0

[英]Can't install Boost 1.59.0 through nuget

我正在尝试安装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?

我认为您无法将本机软件包安装到NETFramework,Version=v3.5,Profile=Unity Full v3.5

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM