Comments (9)
Try to update sw client. You did not provide sw version, so I can't say what's wrong with sure.
sw --self-upgrade
from sw.
I use this day's version 22-Apr-2020 12:48
from sw.
Can you post full log?
from sw.
Where is the log, please tell me, I did not find useful information
from sw.
Just full console output you get.
from sw.
cmake ..
-- Selecting Windows SDK version 10.0.17134.0 to target Windows 10.0.18363.
-- sw: processing dependencies
[174/187] [config pch]
Exception in file D:/dev/cppan2/client2/src/sw/builder/command.cpp:631, function execute1: When executing: [config pch]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.14.26428\include\utility(528): error C2338: tuple index out of bounds
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.14.26428\include\utility(493): note: 参见对正在编译的 类 模板 实例化 "std::tuple_element<0,_Tuple>" 的引用
with
[
_Tuple=std::tuple<>
]
c:\users\wise.sw\storage\pkg\62\bd\e90f\src\sdir\src\sw\driver\target\base.h(122): note: 参见对正在编译的 别名 模板 实例化 "tuple_element_t<0,std::tuple<>>" 的引用
c:\users\wise.sw\storage\pkg\62\bd\e90f\src\sdir\src\sw\driver\target\base.h(139): note: 参见对正在编译的函数 模板 实例化“T &sw::TargetBase::add<T,>(const sw::PackagePath &)”的引用
with
[
T=sw::DirectoryTarget
]
c:\users\wise.sw\storage\pkg\62\bd\e90f\src\sdir\src\sw\driver\target\base.h(191): note: 参见对正在编译的函数 模板 实例化“T &sw::TargetBase::addTarget<sw::DirectoryTarget,const sw::PackagePath&>(const sw::PackagePath &)”的引用
with
[
T=sw::DirectoryTarget
]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.14.26428\include\filesystem(2447): note: 参见对正在编译的 类 模板 实例化 "std::chrono::time_pointstd::filesystem::_File_time_clock,std::filesystem::_File_time_clock::duration" 的引用
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.14.26428\include\type_traits(520): note: 参见对正在编译的 类 模板 实例化 "std::basic_string_view<wchar_t,std::char_traits<wchar_t>>" 的引用
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.14.26428\include\type_traits(1358): note: 参见对正在编译的 类 模板 实例化 "std::is_convertible<const _StringViewIsh &,std::basic_string_view<wchar_t,std::char_traits<wchar_t>>>" 的引用
with
[
_StringViewIsh=const wchar_t *
]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.14.26428\include\type_traits(1364): note: 参见对正在编译的 类 模板 实例化 "std::conjunction<std::is_convertible<const _StringViewIsh &,std::basic_string_view<wchar_t,std::char_traits<wchar_t>>>,std::negation<std::is_convertible<const _StringViewIsh &,const _Elem *>>>" 的引用
with
[
_StringViewIsh=const wchar_t *,
_Elem=wchar_t
]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.14.26428\include\xstring(2105): note: 查看指向正在编译的变量模板“const bool conjunction_v<std::is_convertible<wchar_t const * const &,std::basic_string_view<wchar_t,std::char_traits<wchar_t> > >,std::negation<std::is_convertible<wchar_t const * const &,wchar_t const > > >”的引用
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.14.26428\include\xstring(2264): note: 参见对正在编译的 别名 模板 实例化 "_Is_string_view_ish<const wchar_t>" 的引用
command failed: exit code = 2
sw command: C:/Soft/sw-master-windows-client/sw.exe -static -platform x86 -compiler msvc-19.14 -d C:/Learning/tesseract/1.79.0/leptonica-1.79.0/build/.sw/cmake -config d,msr,rwdi,r integrate -cmake-deps C:/Learning/tesseract/1.79.0/leptonica-1.79.0/build/.sw/cmake/sw.txt -cmake-file-version 4
CMake Error at C:/Users/wise/.sw/storage/etc/sw/static/SWConfig.cmake:227 (message):
sw: non-zero exit code: 1
Call Stack (most recent call first):
CMakeLists.txt:120 (sw_execute)
-- Configuring incomplete, errors occurred!
See also "C:/Learning/tesseract/1.79.0/leptonica-1.79.0/build/CMakeFiles/CMakeOutput.log".
from sw.
I see. You need newer VS. Preferable the latest - VS2019 with all updates.
from sw.
Thanks, i try
from sw.
I updated to the last version of vs2017, it is working, thank you very much
from sw.
Related Issues (20)
- Error compiling for iOS arm64 from macOS arm64 HOT 55
- Exception when executing: sw build org.sw.demo.google.tesseract.tesseract HOT 1
- Can't build podofo HOT 2
- i don't know why, HOT 3
- when I run sw build org.sw.demo.googke.tesseract -trace HOT 1
- Trying to Build tesseract - Errors from SW HOT 13
- SW is needed to build SW, server down HOT 1
- "Cannot find compiler" error in leptonica Windows build HOT 6
- No target resolved: pub.egorpugin.primitives.hash-master HOT 26
- ABSL file not found HOT 2
- swgui for Windows deprecated HOT 2
- Unknown CMake command "sw_add_package". HOT 7
- SSL connect error HOT 1
- windows tesseract build error (the error is on the SW side) HOT 2
- Tesseact 5.3.3 build issue HOT 6
- sw stuck while building tesseract HOT 2
- lua not built when adding sol2 dependency HOT 3
- CMake Error for SW: Non-zero exit code HOT 10
- sw setup failed HOT 2
- Leptonica Build error for dynamic Library HOT 6
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 sw.