Comments (4)
CMakeError.log:
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler:
Build flags: ;/nologo;/MD
Id flags:
The output was:
1
用于 .NET Framework 的 Microsoft (R) 生成引擎版本 15.9.21+g9802d43bc3
版权所有(C) Microsoft Corporation。保留所有权利。
生成启动时间为 2019-03-03 12:00:42。
节点 1 上的项目“E:\Test\mdbook-epub-0.1.0\target\release\build\libssh2-sys-1872c162ac6e8a5f\out\build\CMakeFiles\3.13.4\CompilerIdC\CompilerIdC.vcxproj”(默认目标)。
PrepareForBuild:
正在创建目录“Debug\”。
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(402,5): warning MSB8038: 已启用 Spectre 缓解,但找不到 Spectre 缓解库。验证 Visual Studio 工作负荷包括 Spectre 缓解库。有关详细信息,请参阅 https://aka.ms/Ofhn4c。 [E:\Test\mdbook-epub-0.1.0\target\release\build\libssh2-sys-1872c162ac6e8a5f\out\build\CMakeFiles\3.13.4\CompilerIdC\CompilerIdC.vcxproj]
正在创建目录“Debug\CompilerIdC.tlog\”。
InitializeBuildStatus:
正在创建“Debug\CompilerIdC.tlog\unsuccessfulbuild”,因为已指定“AlwaysCreate”。
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\CL.exe /c /nologo /W0 /WX- /diagnostics:classic /Od /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Qspectre /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\" /Fd"Debug\vc141.pdb" /Gd /TC /FC /errorReport:queue CMakeCCompilerId.c
CMakeCCompilerId.c
Link:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\link.exe /ERRORREPORT:QUEUE /OUT:".\CompilerIdC.exe" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:".\CompilerIdC.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdC.lib" /MACHINE:X64 Debug\CMakeCCompilerId.obj
LINK : fatal error LNK1104: 无法打开文件“MSVCRTD.lib” [E:\Test\mdbook-epub-0.1.0\target\release\build\libssh2-sys-1872c162ac6e8a5f\out\build\CMakeFiles\3.13.4\CompilerIdC\CompilerIdC.vcxproj]
已完成生成项目“E:\Test\mdbook-epub-0.1.0\target\release\build\libssh2-sys-1872c162ac6e8a5f\out\build\CMakeFiles\3.13.4\CompilerIdC\CompilerIdC.vcxproj”(默认目标)的操作 - 失败。
生成失败。
“E:\Test\mdbook-epub-0.1.0\target\release\build\libssh2-sys-1872c162ac6e8a5f\out\build\CMakeFiles\3.13.4\CompilerIdC\CompilerIdC.vcxproj”(默认目标) (1) ->
(PrepareForBuild 目标) ->
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(402,5): warning MSB8038: 已启用 Spectre 缓解,但找不到 Spectre 缓解库。验证 Visual Studio 工作负荷包括 Spectre 缓解库。有关详细信息,请参阅 https://aka.ms/Ofhn4c。 [E:\Test\mdbook-epub-0.1.0\target\release\build\libssh2-sys-1872c162ac6e8a5f\out\build\CMakeFiles\3.13.4\CompilerIdC\CompilerIdC.vcxproj]
“E:\Test\mdbook-epub-0.1.0\target\release\build\libssh2-sys-1872c162ac6e8a5f\out\build\CMakeFiles\3.13.4\CompilerIdC\CompilerIdC.vcxproj”(默认目标) (1) ->
(Link 目标) ->
LINK : fatal error LNK1104: 无法打开文件“MSVCRTD.lib” [E:\Test\mdbook-epub-0.1.0\target\release\build\libssh2-sys-1872c162ac6e8a5f\out\build\CMakeFiles\3.13.4\CompilerIdC\CompilerIdC.vcxproj]
1 个警告
1 个错误
已用时间 00:00:01.36
from mdbook-epub.
environment:
rustc 1.33.0 (2aa4c46cf 2019-02-28)
Windows 10 Professional 17763
Visual Studio 2017 Community 15.9.7
CMake 3.13.4
from mdbook-epub.
This looks like a problem with the libssh2-sys
crate and not directly related to mdbook-epub
, so you'd be better off creating an issue against their repo.
from mdbook-epub.
I solved it just now, refer to this
from mdbook-epub.
Related Issues (20)
- `cargo install mdbook-epub` is broken HOT 3
- The integration_tests don't pass HOT 12
- Rust Programming language book doesnt convert to epub as expected HOT 2
- The chapter title always prefixed with its section number in the Table Of Contents HOT 6
- Does the plugin support mathjax? HOT 7
- how to use mdbook Preprocessors HOT 2
- New Lines removed in Code Blocks HOT 3
- downloading remote resource with parametrized url can't contain Chinese HOT 2
- mdbook-epub build fault HOT 3
- [BUG] mdbook-epub builds malformed zip archive in specific configurations HOT 2
- Remove Travis as it stopped providing free service HOT 3
- Documentation: Explain how to get logging and how to see progress
- Indicate the process is waiting on the standard input HOT 4
- Turn -s / --standalone into a boolean flag
- cargo audit is failing HOT 3
- Add command line flag to provide the path to the output epub file HOT 2
- Using the crate HOT 1
- Markdown images break the plugin invoking errors HOT 12
- Please provide a configuration to name the output file HOT 1
- Replace StructOpt lib by latest clap version. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mdbook-epub.