You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i downloaded the recent source files. followed the guide where i downloaded sw and ran sw build inside tesseract folder. ran both sw build and cmake -B buildfolder and tried to run cmake with gcc/g++ yet i get this error
Exception in file D:/dev/cppan2/client2/src/sw/builder/command.cpp:840, function execute1: When executing: [pub.egorpugin.primitives.command-0.3.1]/src/command.cpp
C:/Users/vadik/.sw/storage/pkg/9d/a6/8d0d/src/sdir/src/command/src/command.cpp(142): error C2039: 'contains': is not a member of 'std::basic_string<char,std::char_traits,std::allocator>'
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(4871): note: see declaration of 'std::basic_string<char,std::char_traits,std::allocator>'
C:/Users/vadik/.sw/storage/pkg/9d/a6/8d0d/src/sdir/src/command/src/command.cpp(147): note: see reference to function template instantiation 'auto primitives::Command::setProgram::<lambda_1>::()::<lambda_1>::operator ()<const char(&)[6]>(_T1) const' being compiled
with
[
_T1=const char (&)[6]
]
C:/Users/vadik/.sw/storage/pkg/9d/a6/8d0d/src/sdir/src/command/src/command.cpp(147): error C3487: 'bool': all return expressions must deduce to the same type: previously it was 'void'
C:/Users/vadik/.sw/storage/pkg/9d/a6/8d0d/src/sdir/src/command/src/command.cpp(144): error C3487: 'bool': all return expressions must deduce to the same type: previously it was 'void'
C:/Users/vadik/.sw/storage/pkg/9d/a6/8d0d/src/sdir/src/command/src/command.cpp(144): error C2562: 'primitives::Command::setProgram::<lambda_1>::()::<lambda_1>::operator ()': 'void' function returning a value
C:/Users/vadik/.sw/storage/pkg/9d/a6/8d0d/src/sdir/src/command/src/command.cpp(147): note: see declaration of 'primitives::Command::setProgram::<lambda_1>::()::<lambda_1>::operator ()'
C:/Users/vadik/.sw/storage/pkg/9d/a6/8d0d/src/sdir/src/command/src/command.cpp(147): error C2296: '||': illegal, left operand has type 'void'
C:/Users/vadik/.sw/storage/pkg/9d/a6/8d0d/src/sdir/src/command/src/command.cpp(147): error C2297: '||': illegal, right operand has type 'void'
command failed: exit code = 2
Total errors: 1
sw command: C:/TestFolderForPaths/sw.exe -static -platform x64 -compiler msvc-19.29 -d C:/Users/vadik/Downloads/tesseract/tesseracte/build/.sw/cmake -config d,msr,rwdi,r integrate -cmake-deps C:/Users/vadik/Downloads/tesseract/tesseracte/build/.sw/cmake/sw.txt -cmake-file-version 9
CMake Error at C:/Users/vadik/.sw/storage/etc/sw/static/SWConfig.cmake:267 (message):
sw: non-zero exit code: 1
Call Stack (most recent call first):
CMakeLists.txt:393 (sw_execute)
Expected Behavior
its expected to build
Suggested Fix
change source code
tesseract -v
No response
Operating System
Windows 10
Other Operating System
No response
uname -a
No response
Compiler
MSVC 2019 14.29.30133
CPU
Intel(R) Core(TM) i5-1035G1 CPU
Virtualization / Containers
No response
Other Information
windows build is 19045.3693 ver 22H2 Windows 10 Pro N
The text was updated successfully, but these errors were encountered:
Current Behavior
i downloaded the recent source files. followed the guide where i downloaded sw and ran sw build inside tesseract folder. ran both sw build and cmake -B buildfolder and tried to run cmake with gcc/g++ yet i get this error
Exception in file D:/dev/cppan2/client2/src/sw/builder/command.cpp:840, function execute1: When executing: [pub.egorpugin.primitives.command-0.3.1]/src/command.cpp
C:/Users/vadik/.sw/storage/pkg/9d/a6/8d0d/src/sdir/src/command/src/command.cpp(142): error C2039: 'contains': is not a member of 'std::basic_string<char,std::char_traits,std::allocator>'
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include\xstring(4871): note: see declaration of 'std::basic_string<char,std::char_traits,std::allocator>'
C:/Users/vadik/.sw/storage/pkg/9d/a6/8d0d/src/sdir/src/command/src/command.cpp(147): note: see reference to function template instantiation 'auto primitives::Command::setProgram::<lambda_1>::()::<lambda_1>::operator ()<const char(&)[6]>(_T1) const' being compiled
with
[
_T1=const char (&)[6]
]
C:/Users/vadik/.sw/storage/pkg/9d/a6/8d0d/src/sdir/src/command/src/command.cpp(147): error C3487: 'bool': all return expressions must deduce to the same type: previously it was 'void'
C:/Users/vadik/.sw/storage/pkg/9d/a6/8d0d/src/sdir/src/command/src/command.cpp(144): error C3487: 'bool': all return expressions must deduce to the same type: previously it was 'void'
C:/Users/vadik/.sw/storage/pkg/9d/a6/8d0d/src/sdir/src/command/src/command.cpp(144): error C2562: 'primitives::Command::setProgram::<lambda_1>::()::<lambda_1>::operator ()': 'void' function returning a value
C:/Users/vadik/.sw/storage/pkg/9d/a6/8d0d/src/sdir/src/command/src/command.cpp(147): note: see declaration of 'primitives::Command::setProgram::<lambda_1>::()::<lambda_1>::operator ()'
C:/Users/vadik/.sw/storage/pkg/9d/a6/8d0d/src/sdir/src/command/src/command.cpp(147): error C2296: '||': illegal, left operand has type 'void'
C:/Users/vadik/.sw/storage/pkg/9d/a6/8d0d/src/sdir/src/command/src/command.cpp(147): error C2297: '||': illegal, right operand has type 'void'
command failed: exit code = 2
Total errors: 1
sw command: C:/TestFolderForPaths/sw.exe -static -platform x64 -compiler msvc-19.29 -d C:/Users/vadik/Downloads/tesseract/tesseracte/build/.sw/cmake -config d,msr,rwdi,r integrate -cmake-deps C:/Users/vadik/Downloads/tesseract/tesseracte/build/.sw/cmake/sw.txt -cmake-file-version 9
CMake Error at C:/Users/vadik/.sw/storage/etc/sw/static/SWConfig.cmake:267 (message):
sw: non-zero exit code: 1
Call Stack (most recent call first):
CMakeLists.txt:393 (sw_execute)
Expected Behavior
its expected to build
Suggested Fix
change source code
tesseract -v
No response
Operating System
Windows 10
Other Operating System
No response
uname -a
No response
Compiler
MSVC 2019 14.29.30133
CPU
Intel(R) Core(TM) i5-1035G1 CPU
Virtualization / Containers
No response
Other Information
windows build is 19045.3693 ver 22H2 Windows 10 Pro N
The text was updated successfully, but these errors were encountered: