簡體   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