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
D:\...\Anaconda\Library\include\gif_lib.h(286): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file D:\code\repeato-studio\node_modules\node-native-ocr\leptonica\src\libversions.c) [D:\code\repeato-studio\node_modules\node-native-ocr\leptonica\build\src\leptonica.vcxproj]
#10
Open
stoefln opened this issue
May 12, 2022
· 0 comments
(base) PS D:\code\repeato-studio> npm i --save node-native-ocr
> node-native-ocr@0.1.6 install D:\code\repeato-studio\node_modules\node-native-ocr
> npm run build-tesseract && node-gyp rebuild
> node-native-ocr@0.1.6 build-tesseract D:\code\repeato-studio\node_modules\node-native-ocr
> node ./scripts/build-tesseract
build-tesseract script start.
This script requires CMake version 3.15 or later.
CMake 3.23.1 found on this system.
Working directory: D:\code\repeato-studio\node_modules\node-native-ocr
Initializing Git submodules.
The 'tesseract' and 'leptonica' directories already exist.
Building libjpeg.
The libjpeg directory already exists.
Configuring a Release build.
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=${PWD}/bin -DBUILD_SHARED_LIBS=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_OSX_DEPLOYMENT_TARGET=10.9 ..
-- Building for: Visual Studio 15 2017
-- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.19043.
-- The C compiler identification is MSVC 19.16.27048.0
-- The CXX compiler identification is MSVC 19.16.27048.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/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 (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_BUILD_TYPE
-- Build files have been written to: D:/code/repeato-studio/node_modules/node-native-ocr/libjpeg/build
Creating a Release build.
Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
Checking Build System
Building Custom Rule D:/code/repeato-studio/node_modules/node-native-ocr/libjpeg/CMakeLists.txt
jaricom.c
jcapimin.c
jcapistd.c
jcarith.c
jccoefct.c
jccolor.c
jcdctmgr.c
jchuff.c
jcinit.c
jcmainct.c
jcmarker.c
jcmaster.c
jcomapi.c
jcparam.c
jcprepct.c
jcsample.c
jctrans.c
jdapimin.c
jdapistd.c
jdarith.c
Generating Code...
Compiling...
jdatadst.c
jdatasrc.c
jdcoefct.c
jdcolor.c
jddctmgr.c
jdhuff.c
jdinput.c
jdmainct.c
jdmarker.c
D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\jdmarker.c(331): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\JPEG.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\jdmarker.c(655): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\JPEG.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\string.h(338): note: see declaration of 'strncpy'
jdmaster.c
jdmerge.c
jdpostct.c
jdsample.c
jdtrans.c
jerror.c
D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\jerror.c(194): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\JPEG.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(1774): note: see declaration of 'sprintf'
D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\jerror.c(196): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\JPEG.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(1774): note: see declaration of 'sprintf'
jfdctflt.c
jfdctfst.c
jfdctint.c
jidctflt.c
jidctfst.c
Generating Code...
Compiling...
jidctint.c
jquant1.c
jquant2.c
jutils.c
jmemmgr.c
D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\jmemmgr.c(1107): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\JPEG.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdlib.h(1191): note: see declaration of 'getenv'
D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\jmemmgr.c(1110): warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\JPEG.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(2263): note: see declaration of 'sscanf'
jmemnobs.c
Generating Code...
JPEG.vcxproj -> D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\Release\libjpeg.lib
Building Custom Rule D:/code/repeato-studio/node_modules/node-native-ocr/libjpeg/CMakeLists.txt
cjpeg.c
D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\cjpeg.c(277): warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\cjpeg.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(2263): note: see declaration of 'sscanf'
D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\cjpeg.c(345): warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\cjpeg.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(2263): note: see declaration of 'sscanf'
D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\cjpeg.c(412): warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\cjpeg.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(2263): note: see declaration of 'sscanf'
D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\cjpeg.c(438): warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\cjpeg.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(2263): note: see declaration of 'sscanf'
D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\cjpeg.c(461): warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\cjpeg.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(2263): note: see declaration of 'sscanf'
D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\cjpeg.c(597): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\cjpeg.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(208): note: see declaration of 'fopen'
D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\cjpeg.c(608): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\cjpeg.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(208): note: see declaration of 'fopen'
rdppm.c
rdgif.c
rdtarga.c
rdrle.c
rdbmp.c
rdswitch.c
D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\rdswitch.c(90): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\cjpeg.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(208): note: see declaration of 'fopen'
D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\rdswitch.c(183): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\cjpeg.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(208): note: see declaration of 'fopen'
D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\rdswitch.c(280): warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\cjpeg.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(2263): note: see declaration of 'sscanf'
D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\rdswitch.c(312): warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\cjpeg.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(2263): note: see declaration of 'sscanf'
D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\rdswitch.c(346): warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\cjpeg.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(2263): note: see declaration of 'sscanf'
cdjpeg.c
Generating Code...
cjpeg.vcxproj -> D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\Release\cjpeg.exe
Building Custom Rule D:/code/repeato-studio/node_modules/node-native-ocr/libjpeg/CMakeLists.txt
djpeg.c
D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\djpeg.c(207): warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\djpeg.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(2263): note: see declaration of 'sscanf'
D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\djpeg.c(275): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\djpeg.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(208): note: see declaration of 'fopen'
D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\djpeg.c(294): warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\djpeg.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(2263): note: see declaration of 'sscanf'
D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\djpeg.c(330): warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\djpeg.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(2263): note: see declaration of 'sscanf'
D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\djpeg.c(505): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\djpeg.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(208): note: see declaration of 'fopen'
D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\djpeg.c(516): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\djpeg.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(208): note: see declaration of 'fopen'
wrppm.c
wrgif.c
wrtarga.c
wrrle.c
wrbmp.c
rdcolmap.c
cdjpeg.c
Generating Code...
djpeg.vcxproj -> D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\Release\djpeg.exe
Building Custom Rule D:/code/repeato-studio/node_modules/node-native-ocr/libjpeg/CMakeLists.txt
jpegtran.c
D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\jpegtran.c(239): warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\jpegtran.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(2263): note: see declaration of 'sscanf'
D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\jpegtran.c(284): warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\jpegtran.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(2263): note: see declaration of 'sscanf'
D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\jpegtran.c(463): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\jpegtran.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(208): note: see declaration of 'fopen'
D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\jpegtran.c(487): warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\jpegtran.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(2263): note: see declaration of 'sscanf'
D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\jpegtran.c(532): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\jpegtran.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(208): note: see declaration of 'fopen'
rdswitch.c
D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\rdswitch.c(90): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\jpegtran.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(208): note: see declaration of 'fopen'
D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\rdswitch.c(183): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\jpegtran.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(208): note: see declaration of 'fopen'
D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\rdswitch.c(280): warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\jpegtran.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(2263): note: see declaration of 'sscanf'
D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\rdswitch.c(312): warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\jpegtran.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(2263): note: see declaration of 'sscanf'
D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\rdswitch.c(346): warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\jpegtran.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(2263): note: see declaration of 'sscanf'
cdjpeg.c
transupp.c
Generating Code...
jpegtran.vcxproj -> D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\Release\jpegtran.exe
Building Custom Rule D:/code/repeato-studio/node_modules/node-native-ocr/libjpeg/CMakeLists.txt
rdjpgcom.c
D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\rdjpgcom.c(490): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\rdjpgcom.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(208): note: see declaration of 'fopen'
rdjpgcom.vcxproj -> D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\Release\rdjpgcom.exe
Building Custom Rule D:/code/repeato-studio/node_modules/node-native-ocr/libjpeg/CMakeLists.txt
wrjpgcom.c
D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\wrjpgcom.c(456): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\wrjpgcom.vcxproj]
D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\wrjpgcom.c(465): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\wrjpgcom.vcxproj]
D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\wrjpgcom.c(466): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\wrjpgcom.vcxproj]
D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\wrjpgcom.c(442): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\wrjpgcom.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(208): note: see declaration of 'fopen'
D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\wrjpgcom.c(485): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\wrjpgcom.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(208): note: see declaration of 'fopen'
wrjpgcom.vcxproj -> D:\code\repeato-studio\node_modules\node-native-ocr\libjpeg\build\Release\wrjpgcom.exe
Building Custom Rule D:/code/repeato-studio/node_modules/node-native-ocr/libjpeg/CMakeLists.txt
Installing a Release build.
-- Install configuration: "Release"
-- Installing: D:/code/repeato-studio/node_modules/node-native-ocr/libjpeg/build//bin/include/jerror.h
-- Installing: D:/code/repeato-studio/node_modules/node-native-ocr/libjpeg/build//bin/include/jmorecfg.h
-- Installing: D:/code/repeato-studio/node_modules/node-native-ocr/libjpeg/build//bin/include/jpeglib.h
-- Installing: D:/code/repeato-studio/node_modules/node-native-ocr/libjpeg/build//bin/include/jconfig.h
-- Installing: D:/code/repeato-studio/node_modules/node-native-ocr/libjpeg/build//bin/lib/libjpeg.lib
-- Installing: D:/code/repeato-studio/node_modules/node-native-ocr/libjpeg/build//bin/lib/cmake/jpeg/jpeg-config.cmake
-- Installing: D:/code/repeato-studio/node_modules/node-native-ocr/libjpeg/build//bin/lib/cmake/jpeg/jpeg-config-release.cmake
Building Leptonica.
Configuring a Release build.
cmake -DSW_BUILD=OFF -DCMAKE_FIND_USE_CMAKE_SYSTEM_PATH=FALSE -DCMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH=TRUE -DCMAKE_PREFIX_PATH=${PWD}/../../libjpeg/build -DCMAKE_INCLUDE_PATH=${PWD}/../../libjpeg/build/bin/include -DCMAKE_LIBRARY_PATH=${PWD}/../../libjpeg/build/bin/lib -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=${PWD}/bin -DBUILD_SHARED_LIBS=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_OSX_DEPLOYMENT_TARGET=10.9 ..
-- Building for: Visual Studio 15 2017
CMake Deprecation Warning at CMakeLists.txt:11 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.19043.
-- The C compiler identification is MSVC 19.16.27048.0
-- The CXX compiler identification is MSVC 19.16.27048.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/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 (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found GIF: D:/code/Anaconda/Library/lib/gif.lib (found version "5.2.1")
-- Found JPEG: D:/code/repeato-studio/node_modules/node-native-ocr/libjpeg/build/bin/lib/libjpeg.lib (found version "90")
-- Found ZLIB: D:/code/Anaconda/Library/lib/z.lib (found version "1.2.11")
-- Found PNG: D:/code/Anaconda/Library/lib/libpng.lib (found version "1.6.37")
-- Found TIFF: D:/code/Anaconda/Library/lib/tiff.lib (found version "4.2.0")
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Can not find: /webp/mux.h
CMAKE_BUILD_TYPE = Release
-- Looking for include file dlfcn.h
-- Looking for include file dlfcn.h - not found
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Looking for include file memory.h
-- Looking for include file memory.h - found
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for include file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for include file strings.h
-- Looking for include file strings.h - not found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for include file sys/stat.h
-- Looking for include file sys/stat.h - found
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - not found
-- Looking for include file openjpeg-2.0/openjpeg.h
-- Looking for include file openjpeg-2.0/openjpeg.h - not found
-- Looking for include file openjpeg-2.1/openjpeg.h
-- Looking for include file openjpeg-2.1/openjpeg.h - not found
-- Looking for include file openjpeg-2.2/openjpeg.h
-- Looking for include file openjpeg-2.2/openjpeg.h - not found
-- Looking for include file openjpeg-2.3/openjpeg.h
-- Looking for include file openjpeg-2.3/openjpeg.h - not found
-- Looking for fmemopen
-- Looking for fmemopen - not found
-- Looking for fstatat
-- Looking for fstatat - not found
--
-- General configuration for Leptonica 1.80.0
-- --------------------------------------------------------
-- Build type: Release
-- Compiler: MSVC
-- C compiler options: /DWIN32 /D_WINDOWS /W3
-- Linker options: /machine:X86
-- Install directory: D:/code/repeato-studio/node_modules/node-native-ocr/leptonica/build/${PWD}/bin
--
-- Build with sw [SW_BUILD]: OFF
-- Build utility programs [BUILD_PROG]: OFF
-- Used ZLIB library: D:/code/Anaconda/Library/lib/z.lib
-- Used PNG library: D:/code/Anaconda/Library/lib/libpng.lib;D:/code/Anaconda/Library/lib/z.lib
-- Used JPEG library: D:/code/repeato-studio/node_modules/node-native-ocr/libjpeg/build/bin/lib/libjpeg.lib
-- Used JP2K library:
-- Used TIFF library: D:/code/Anaconda/Library/lib/tiff.lib
-- Used GIF library: D:/code/Anaconda/Library/lib/gif.lib
-- Used WEBP library:
-- --------------------------------------------------------
--
-- Configuring done
-- Generating done
-- Build files have been written to: D:/code/repeato-studio/node_modules/node-native-ocr/leptonica/build
Creating a Release build.
Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
Checking Build System
Building Custom Rule D:/code/repeato-studio/node_modules/node-native-ocr/leptonica/src/CMakeLists.txt
adaptmap.c
affine.c
affinecompose.c
arrayaccess.c
bardecode.c
baseline.c
bbuffer.c
bilateral.c
bilinear.c
binarize.c
binexpand.c
binreduce.c
blend.c
bmf.c
bmpio.c
bmpiostub.c
bootnumgen1.c
bootnumgen2.c
bootnumgen3.c
bootnumgen4.c
boxbasic.c
boxfunc1.c
boxfunc2.c
boxfunc3.c
boxfunc4.c
boxfunc5.c
bytearray.c
ccbord.c
ccthin.c
checkerboard.c
classapp.c
colorcontent.c
colorfill.c
coloring.c
colormap.c
colormorph.c
colorquant1.c
colorquant2.c
colorseg.c
colorspace.c
compare.c
conncomp.c
convertfiles.c
convolve.c
correlscore.c
dewarp1.c
dewarp2.c
dewarp3.c
dewarp4.c
dnabasic.c
dnafunc1.c
dnahash.c
dwacomb.2.c
dwacomblow.2.c
edge.c
encoding.c
enhance.c
fhmtauto.c
fhmtgen.1.c
fhmtgenlow.1.c
finditalic.c
flipdetect.c
fliphmtgen.c
fmorphauto.c
fmorphgen.1.c
fmorphgenlow.1.c
fpix1.c
fpix2.c
gifio.c
gifiostub.c
D:\code\Anaconda\Library\include\gif_lib.h(286): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file D:\code\repeato-studio\node_modules\node-native-ocr\leptonica\src\gifio.c) [D:\code\repeato-studio\node_modules\node-native-ocr\leptonica\build\src\leptonica.vcxproj]
gplot.c
graphics.c
graymorph.c
grayquant.c
heap.c
jbclass.c
jp2kheader.c
jp2kheaderstub.c
jp2kio.c
jp2kiostub.c
jpegio.c
jpegiostub.c
kernel.c
leptwin.c
libversions.c
D:\code\Anaconda\Library\include\gif_lib.h(286): error C2734: 'GifAsciiTable8x8': 'const' object must be initialized if not 'extern' (compiling source file D:\code\repeato-studio\node_modules\node-native-ocr\leptonica\src\libversions.c) [D:\code\repeato-studio\node_modules\node-native-ocr\leptonica\build\src\leptonica.vcxproj]
list.c
map.c
maze.c
morph.c
morphapp.c
morphdwa.c
morphseq.c
numabasic.c
numafunc1.c
numafunc2.c
pageseg.c
paintcmap.c
parseprotos.c
partify.c
partition.c
pdfio1.c
pdfio1stub.c
pdfio2.c
pdfio2stub.c
pix1.c
pix2.c
pix3.c
pix4.c
pix5.c
pixabasic.c
pixacc.c
pixafunc1.c
pixafunc2.c
pixalloc.c
pixarith.c
pixcomp.c
pixconv.c
pixlabel.c
pixtiling.c
pngio.c
pngiostub.c
pnmio.c
pnmiostub.c
projective.c
psio1.c
psio1stub.c
psio2.c
psio2stub.c
ptabasic.c
ptafunc1.c
ptafunc2.c
ptra.c
quadtree.c
queue.c
rank.c
rbtree.c
readbarcode.c
readfile.c
recogbasic.c
recogdid.c
recogident.c
recogtrain.c
regutils.c
rop.c
roplow.c
rotate.c
rotateam.c
rotateorth.c
rotateshear.c
runlength.c
sarray1.c
sarray2.c
scale1.c
scale2.c
seedfill.c
sel1.c
sel2.c
selgen.c
shear.c
skew.c
spixio.c
stack.c
stringcode.c
strokes.c
sudoku.c
textops.c
tiffio.c
tiffiostub.c
utils1.c
utils2.c
warper.c
watershed.c
webpanimio.c
webpanimiostub.c
webpio.c
webpiostub.c
writefile.c
zlibmem.c
zlibmemstub.c
D:\code\repeato-studio\node_modules\shelljs\src\common.js:401
if (config.fatal) throw e;
^
Error: exec:
at Object.error (D:\code\repeato-studio\node_modules\shelljs\src\common.js:110:27)
at execSync (D:\code\repeato-studio\node_modules\shelljs\src\exec.js:102:12)
at Object._exec (D:\code\repeato-studio\node_modules\shelljs\src\exec.js:205:12)
at Object.exec (D:\code\repeato-studio\node_modules\shelljs\src\common.js:335:23)
at runCMakeBuild (D:\code\repeato-studio\node_modules\node-native-ocr\scripts\build-tesseract.js:166:9)
at buildLeptonica (D:\code\repeato-studio\node_modules\node-native-ocr\scripts\build-tesseract.js:107:3)
at Object.<anonymous> (D:\code\repeato-studio\node_modules\node-native-ocr\scripts\build-tesseract.js:50:1)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-native-ocr@0.1.6 build-tesseract: `node ./scripts/build-tesseract`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-native-ocr@0.1.6 build-tesseract script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\zsuzs\AppData\Roaming\npm-cache\_logs\2022-05-12T07_38_42_159Z-debug.log
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\glob-watcher\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\sane\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: iconv-corefoundation@1.1.6 (node_modules\iconv-corefoundation):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for iconv-corefoundation@1.1.6: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\watchpack-chokidar2\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\webpack-dev-server\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: dmg-license@1.0.9 (node_modules\dmg-license):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for dmg-license@1.0.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-native-ocr@0.1.6 install: `npm run build-tesseract && node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-native-ocr@0.1.6 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\zsuzs\AppData\Roaming\npm-cache\_logs\2022-05-12T07_38_44_256Z-debug.log
The text was updated successfully, but these errors were encountered:
Full log:
The text was updated successfully, but these errors were encountered: