Closed ganeshchavan88 closed 10 months ago
Details output is as below,
D:\Tesseract Source\Tesseract\tesseract\build>cmake ..
-- Building for: Visual Studio 17 2022
-- Setting policy CMP0091 to NEW
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.19045.
-- The C compiler identification is MSVC 19.37.32825.0
-- The CXX compiler identification is MSVC 19.37.32825.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.37.32822/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.37.32822/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring tesseract version 5.3.3-34-g637be...
-- Setting build type to 'Release' as none was specified.
-- IPO / LTO supported
-- CMAKE_SYSTEM_PROCESSOR=
-- Configuring incomplete, errors occurred!
Hi,
Try to update VS.
VS2022 update to 17.8.3 but still have the same isssue.
output is as below,
D:\Tesseract Source\Tesseract\tesseract\build>cmake ..
-- Setting policy CMP0091 to NEW
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.19045.
-- Configuring tesseract version 5.3.3-34-g637be...
-- IPO / LTO supported
-- CMAKE_SYSTEM_PROCESSOR=
-- Configuring incomplete, errors occurred!
Ok, I did some change on my side.
Try again or try after the following command sw --self-upgrade
.
This works for me. Thank you for the valuable support.
I had issue while building tesseract 5.3.3 using sw. But had below errors while building,
[164/176] [config pch] Exception in file D:/dev/cppan2/client2/src/sw/builder/command.cpp:825, function execute1: When executing: [config pch] C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\include\tuple(765): error C2666: 'sw::PathBase<ThisType,std::string,false>::operator ==': overloaded functions have similar conversions with [ ThisType=sw::PackagePath ] C:\Users\Aaru.sw\storage\pkg\0e\36\8267\src\sdir\src\sw\support\package_path.h(103): note: could be 'bool sw::PathBase<ThisType,std::string,false>::operator ==(const ThisType &) const' with [ ThisType=sw::PackagePath ]