I am trying to build opencv4nodejs manually but always getting those errors:
```m:\taxi-detector>npm install --prefer-offline --save opencv4nodejs
[email protected] install m:\taxi-detectornode_modules\opencv4nodejs
node-gyp rebuild --jobs max
m:\taxi-detectornode_modules\opencv4nodejs>if not defined npm_config_node_gyp (node "C:\Users\Mr B\AppData\Roamingnpmnode_modulesnpmnod
e_modulesnpm-lifecyclenode-gyp-bin\....node_modulesnode-gyp\binnode-gyp.js" rebuild --jobs max ) else (node "C:\Users\Mr B\AppData\R
oamingnpmnode_modulesnpmnode_modulesnode-gyp\binnode-gyp.js" rebuild --jobs max )
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(374,5): warning MSB8003:
Could not find VCToolsInstallDir variable from the registry. TargetFrameworkVersion or PlatformToolset may be set to an invalid version n
umber. [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
cl : Command line warning D9002: ignoring unknown option '/diagnostics:classic' [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4n
odejs.vcxproj]
cl : Command line warning D9002: ignoring unknown option '/diagnostics:classic' [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4n
odejs.vcxproj]
opencv4nodejs.cc
cl : Command line warning D9002: ignoring unknown option '/diagnostics:classic' [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4n
odejs.vcxproj]
CustomMatAllocator.cc
cl : Command line warning D9002: ignoring unknown option '/diagnostics:classic' [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4n
odejs.vcxproj]
ExternalMemTracking.cc
cl : Command line warning D9002: ignoring unknown option '/diagnostics:classic' [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4n
odejs.vcxproj]
cl : Command line warning D9002: ignoring unknown option '/diagnostics:classic' [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4n
odejs.vcxproj]
core.cc
cl : Command line warning D9002: ignoring unknown option '/diagnostics:classic' [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4n
odejs.vcxproj]
cl : Command line warning D9002: ignoring unknown option '/diagnostics:classic' [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4n
odejs.vcxproj]
coreConstants.cc
cl : Command line warning D9002: ignoring unknown option '/diagnostics:classic' [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4n
odejs.vcxproj]
Mat.cc
cl : Command line warning D9002: ignoring unknown option '/diagnostics:classic' [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4n
odejs.vcxproj]
cl : Command line warning D9002: ignoring unknown option '/diagnostics:classic' [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4n
odejs.vcxproj]
cl : Command line warning D9002: ignoring unknown option '/diagnostics:classic' [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4n
odejs.vcxproj]
Point.cc
Vec.cc
cl : Command line warning D9002: ignoring unknown option '/diagnostics:classic' [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4n
odejs.vcxproj]
Size.cc
Rect.cc
RotatedRect.cc
TermCriteria.cc
c:program files (x86)\windows kits\10\include\10.0.17763.0\ucrt\corecrt.h(10): fatal error C1083: Cannot open include file: 'vcruntime.h':
No such file or directory (compiling source file ..\cc\opencv4nodejs.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.
vcxproj]
imgproc.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\ExternalMemTracking.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
m:\taxi-detectornode_modules\opencv4nodejs\cc\custommatallocator.h(4): fatal error C1083: Cannot open include file: 'thread': No such file
or directory (compiling source file ..\cc\CustomMatAllocator.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
imgprocConstants.cc
MatImgproc.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\core\Mat.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\core\Point.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\core\core.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\core\coreConstants.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
e:\downloadsprograms\opencvbuild\include\opencv2\core\cvdef.h(164): fatal error C1083: Cannot open include file: 'limits.h': No such file
or directory (compiling source file ..\cc\core\TermCriteria.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\core\RotatedRect.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
e:\downloadsprograms\opencvbuild\include\opencv2\core\cvdef.h(164): fatal error C1083: Cannot open include file: 'limits.h': No such file
or directory (compiling source file ..\cc\core\Rect.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
e:\downloadsprograms\opencvbuild\include\opencv2\core\cvdef.h(164): fatal error C1083: Cannot open include file: 'limits.h': No such file
or directory (compiling source file ..\cc\core\Size.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
Contour.cc
Moments.cc
calib3d.cc
calib3dConstants.cc
MatCalib3d.cc
io.cc
ioConstants.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\core\Vec.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
VideoCapture.cc
VideoWriter.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\imgproc\MatImgproc.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
photo.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\imgproc\imgproc.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
photoConstants.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\imgproc\Contour.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\imgproc\Moments.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
video.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\calib3d\calib3d.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\imgproc\imgprocConstants.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
BackgroundSubtractor.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\io\VideoCapture.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\io\io.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
BackgroundSubtractorMOG2.cc
BackgroundSubtractorKNN.cc
ximgproc.cc
MatXimgproc.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\io\VideoWriter.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\io\ioConstants.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\calib3d\MatCalib3d.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
SuperpixelSEEDS.cc
SuperpixelSLIC.cc
SuperpixelLSC.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\calib3d\calib3dConstants.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
objdetect.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\ccphotophotoConstants.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
CascadeClassifier.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\video\BackgroundSubtractor.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\video\BackgroundSubtractorMOG2.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxp
roj]
HOGDescriptor.cc
DetectionROI.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\video\BackgroundSubtractorKNN.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxpr
oj]
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\ximgproc\MatXimgproc.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\video\video.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
machinelearning.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\ccphotophoto.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
machinelearningConstants.cc
ParamGrid.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\ximgproc\ximgproc.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
StatModel.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\ximgproc\SuperpixelSLIC.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
SVM.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\objdetect\objdetect.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
TrainData.cc
dnn.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\ximgproc\SuperpixelLSC.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
Net.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\ximgproc\SuperpixelSEEDS.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
face.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\objdetect\CascadeClassifier.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj
]
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\objdetect\DetectionROI.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
FaceRecognizer.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\objdetect\HOGDescriptor.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
EigenFaceRecognizer.cc
FisherFaceRecognizer.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\machinelearning\machinelearningConstants.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4n
odejs.vcxproj]
LBPHFaceRecognizer.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\machinelearning\SVM.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\machinelearning\machinelearning.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcx
proj]
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\machinelearning\StatModel.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
Facemark.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\machinelearning\ParamGrid.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
FacemarkAAM.cc
FacemarkAAMData.cc
FacemarkAAMParams.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\machinelearning\TrainData.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\dnn\dnn.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\dnn\Net.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
FacemarkLBF.cc
FacemarkLBFParams.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\face\face.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
text.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\face\FaceRecognizer.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
OCRHMMClassifier.cc
OCRHMMDecoder.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\face\EigenFaceRecognizer.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
tracking.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\face\FisherFaceRecognizer.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
Tracker.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\face\FacemarkAAMData.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\face\FacemarkAAM.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
MultiTracker.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\face\Facemark.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\face\FacemarkAAMParams.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
TrackerBoosting.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\face\FacemarkLBF.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\face\LBPHFaceRecognizer.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
TrackerBoostingParams.cc
TrackerKCF.cc
TrackerKCFParams.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\face\FacemarkLBFParams.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
TrackerMIL.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\text\text.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
TrackerMILParams.cc
TrackerMedianFlow.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\text\OCRHMMClassifier.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
TrackerTLD.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\text\OCRHMMDecoder.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\tracking\tracking.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
TrackerGOTURN.cc
TrackerCSRT.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\tracking\MultiTracker.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
TrackerCSRTParams.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\tracking\Trackers\TrackerKCF.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxpro
j]
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\tracking\Trackers\TrackerKCFParams.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.
vcxproj]
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\tracking\Trackers\TrackerBoostingParams.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4no
dejs.vcxproj]
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\tracking\Tracker.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
TrackerMOSSE.cc
features2d.cc
KeyPoint.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\tracking\Trackers\TrackerBoosting.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.v
cxproj]
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\tracking\Trackers\TrackerMIL.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxpro
j]
KeyPointMatch.cc
DescriptorMatch.cc
BFMatcher.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\tracking\Trackers\TrackerMILParams.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.
vcxproj]
FeatureDetector.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\tracking\Trackers\TrackerMedianFlow.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs
.vcxproj]
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\tracking\Trackers\TrackerTLD.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxpro
j]
descriptorMatching.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\tracking\Trackers\TrackerGOTURN.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcx
proj]
descriptorMatchingKnn.cc
AGASTDetector.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\tracking\Trackers\TrackerCSRT.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxpr
oj]
AKAZEDetector.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\tracking\Trackers\TrackerMOSSE.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxp
roj]
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\tracking\Trackers\TrackerCSRTParams.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs
.vcxproj]
BRISKDetector.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\features2d\KeyPoint.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
FASTDetector.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\features2d\KeyPointMatch.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
GFTTDetector.cc
KAZEDetector.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\features2d\DescriptorMatch.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\features2d\BFMatcher.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
MSERDetector.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\features2d\FeatureDetector.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
ORBDetector.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\features2d\features2d.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
SimpleBlobDetector.cc
SimpleBlobDetectorParams.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\features2d\descriptorMatching.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxpr
oj]
xfeatures2d.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\features2d\detectors\AKAZEDetector.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.
vcxproj]
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\features2d\detectors\AGASTDetector.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.
vcxproj]
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\features2d\descriptorMatchingKnn.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vc
xproj]
SIFTDetector.cc
SURFDetector.cc
win_delay_load_hook.cc
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\features2d\detectors\BRISKDetector.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.
vcxproj]
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\features2d\detectors\KAZEDetector.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.v
cxproj]
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\features2d\detectors\FASTDetector.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.v
cxproj]
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\features2d\detectors\GFTTDetector.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.v
cxproj]
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\features2d\detectors\MSERDetector.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.v
cxproj]
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\features2d\detectors\SimpleBlobDetectorParams.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\ope
ncv4nodejs.vcxproj]
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\features2d\detectors\SimpleBlobDetector.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4no
dejs.vcxproj]
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\features2d\detectors\ORBDetector.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vc
xproj]
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\xfeatures2d\xfeatures2d.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\xfeatures2d\SURFDetector.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
m:\taxi-detectornode_modulesnative-node-utilssrc\utils.h(1): fatal error C1083: Cannot open include file: 'memory': No such file or dire
ctory (compiling source file ..\cc\xfeatures2d\SIFTDetector.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
c:program files (x86)\windows kits\10\include\10.0.17763.0\um\windows.h(167): fatal error C1083: Cannot open include file: 'excpt.h': No s
uch file or directory (compiling source file C:\Users\Mr B\AppData\Roamingnpmnode_modulesnpmnode_modulesnode-gypsrc\win_delay_load_ho
ok.cc) [m:\taxi-detectornode_modules\opencv4nodejsbuild\opencv4nodejs.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: msbuild failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Users\Mr B\AppData\Roamingnpmnode_modulesnpmnode_modulesnode-gyp\libbuild.js:262:23)
gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\Mr B\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\b
in\node-gyp.js" "rebuild" "--jobs" "max"
gyp ERR! cwd m:\taxi-detectornode_modules\opencv4nodejs
gyp ERR! node -v v8.11.2
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open 'm:\taxi-detectorpackage.json'
npm WARN taxi-detector No description
npm WARN taxi-detector No repository field.
npm WARN taxi-detector No README data
npm WARN taxi-detector No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-gyp rebuild --jobs max
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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\Mr B\AppData\Roamingnpm-cache_logs\2019-07-02T21_29_23_569Z-debug.log```
I used those instructions:
set OPENCV4NODEJS_DISABLE_AUTOBUILD=1
set VCTargetsPath=C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\VC\VCTargets
npm install --prefer-offline --save opencv4nodejs
This my setting for PATH:
m:\taxi-detector>echo %PATH%
e:\Program Files (x86)\Embarcadero\Studio\20.0\bin;C:\Users\Public\Documents\Embarcadero\Studio\20.0\Bpl;C:\Program Files (x86)\WebDevServer\binaries\php\php_runningversion;C:\Program Files (x86)\Ezir
iz\.NET Reactor;C:\Microsoft MPI\Bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft Emulator Manager\1.0\;C:\Prog
ram Files (x86)\Bitvise SSH Client;C:\Program Files (x86)\WinMerge;C:\ProgramData\ComposerSetup\bin;C:\Program Files\nodejs\;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Bi
nn\;C:\Program Files\Java\jdk1.8.0_172;C:\Program Files\Git\cmd;C:\Program Files (x86)\Microsoft SQL Server\80\Tools\Binn\;C:\Users\Mr B\AppData\Roaming\npm;C:\Program Files\CMake\bin;E:\Downloads\Pro
grams\opencv\build\x64\vc15\bin;C:\Users\Mr B\.windows-build-tools\python27;K:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin;C:\Users\Mr B\.windows-build-tools\python27\;C:\Users\Mr B\AppDat
a\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\Mr B\AppData\Roaming\npm\node_modules\windows-build-tools\node_modules\.bin;C:\Users\Mr B\AppData\Roaming\npm\node_modul
es\.bin;k:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\TestWindow;k:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\Common
Extensions\Microsoft\TeamFoundation\Team Explorer;k:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\bin\Roslyn;k:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Te
am Tools\Performance Tools;C:\Program Files (x86)\Microsoft Visual Studio\Shared\Common\VSPerfCollectionTools\;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\;k:\Program Fi
les (x86)\Microsoft Visual Studio\2017\Community\\MSBuild\15.0\bin;C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319;k:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\;k:\Program F
iles (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\;C:\Program Files (x86)\Python36-32\Scripts\;C:\Program Files (x86)\Python36-32\;C:\Program Files (x86)\Microsoft Visual Studio\2017\Bui
ldTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin;C:\Users\Mr B\.windows-build-tools\python27\;C:\Users\Mr B\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C
:\Users\Mr B\AppData\Roaming\npm\node_modules\windows-build-tools\node_modules\.bin;C:\Users\Mr B\AppData\Roaming\npm\node_modules\.bin;k:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Co
mmon7\IDE\CommonExtensions\Microsoft\TestWindow;k:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer;k:\Program Files (x86)
\Microsoft Visual Studio\2017\Community\MSBuild\15.0\bin\Roslyn;k:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Team Tools\Performance Tools;C:\Program Files (x86)\Microsoft Visual Studi
o\Shared\Common\VSPerfCollectionTools\;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\;C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x86;C:\Program Files (x86)\Wi
ndows Kits\10\bin\x86;k:\Program Files (x86)\Microsoft Visual Studio\2017\Community\\MSBuild\15.0\bin;C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319;k:\Program Files (x86)\Microsoft Visual Studio\2017\
Community\Common7\IDE\;k:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\;C:\Users\Mr B\.windows-build-tools\python27\;C:\Users\Mr B\AppData\Roaming\npm\node_modules\npm\node
_modules\npm-lifecycle\node-gyp-bin;C:\Users\Mr B\AppData\Roaming\npm\node_modules\windows-build-tools\node_modules\.bin;C:\Users\Mr B\AppData\Roaming\npm\node_modules\.bin;k:\Program Files (x86)\Micr
osoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\TestWindow;k:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation
\Team Explorer;k:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\bin\Roslyn;k:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Team Tools\Performance Tools;C:\Progr
am Files (x86)\Microsoft Visual Studio\Shared\Common\VSPerfCollectionTools\;C:\Program Files (x86)\Microsof
OpenCV version opencv-4.1.0-vc14_vc15.exe
OS: Windows 8.1
VC 2017 community installed.
SDK 8, 10 installed.
node: 8.11.2
npm: 6.9.0
Hi,
c:program files (x86)\windows kits\10\include\10.0.17763.0\ucrt\corecrt.h(10): fatal error C1083: Cannot open include file: 'vcruntime.h'
to me this error indicates, that you do not have Visual Studio or VC Build tools installed.
Hi @justadudewhohacks,
It is installed but it seems VC2017 conflicts with VC2015, this what it does work for me:
npm install windows-build-tools --vs2015
npm install --prefer-offline --vs2015 --save opencv4nodejs
Issue can be marked as solved and close it.
Most helpful comment
Hi @justadudewhohacks,
It is installed but it seems VC2017 conflicts with VC2015, this what it does work for me:
Issue can be marked as solved and close it.