Skip to content

Instantly share code, notes, and snippets.

@btsimonh
Created November 22, 2017 12:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save btsimonh/b27b21e6a5d02c2a9f92ec76d60eb793 to your computer and use it in GitHub Desktop.
Save btsimonh/b27b21e6a5d02c2a9f92ec76d60eb793 to your computer and use it in GitHub Desktop.
node-opencv vc14 node 6.9.1 buildlog
C:\DataNoBackup\ocv>set OPENCV_DIR=C:\DataNoBackup\ocv3.3.1\opencv\build\x64\vc14
C:\DataNoBackup\ocv>npm install peterbraden/node-opencv
> opencv@6.0.0 install C:\DataNoBackup\ocv\node_modules\opencv
> node-pre-gyp install --build-from-source
C:\DataNoBackup\ocv\node_modules\opencv>if not defined npm_config_node_gyp (node "C:\Users\Simon\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" clean ) else (node "" clean )
C:\DataNoBackup\ocv\node_modules\opencv>if not defined npm_config_node_gyp (node "C:\Users\Simon\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" configure --build-from-source --module=C:\DataNoBackup\ocv\node_modules\opencv\build\opencv\v6.0.0\Release\node-v48-win32-x64\opencv.node --module_name=opencv --module_path=C:\DataNoBackup\ocv\node_modules\opencv\build\opencv\v6.0.0\Release\node-v48-win32-x64 --msvs_version=2015 ) else (node "" configure --build-from-source --module=C:\DataNoBackup\ocv\node_modules\opencv\build\opencv\v6.0.0\Release\node-v48-win32-x64\opencv.node --module_name=opencv --module_path=C:\DataNoBackup\ocv\node_modules\opencv\build\opencv\v6.0.0\Release\node-v48-win32-x64 --msvs_version=2015 )
C:\DataNoBackup\ocv\node_modules\opencv>if not defined npm_config_node_gyp (node "C:\Users\Simon\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" build --build-from-source --module=C:\DataNoBackup\ocv\node_modules\opencv\build\opencv\v6.0.0\Release\node-v48-win32-x64\opencv.node --module_name=opencv --module_path=C:\DataNoBackup\ocv\node_modules\opencv\build\opencv\v6.0.0\Release\node-v48-win32-x64 ) else (node "" build --build-from-source --module=C:\DataNoBackup\ocv\node_modules\opencv\build\opencv\v6.0.0\Release\node-v48-win32-x64\opencv.node --module_name=opencv --module_path=C:\DataNoBackup\ocv\node_modules\opencv\build\opencv\v6.0.0\Release\node-v48-win32-x64 )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
init.cc
Matrix.cc
OpenCV.cc
CascadeClassifierWrap.cc
..\src\OpenCV.cc(229): warning C4267: 'initializing': conversion from 'size_t' to 'unsigned int', possible loss of data
[C:\DataNoBackup\ocv\node_modules\opencv\build\opencv.vcxproj]
..\src\OpenCV.cc(237): warning C4267: 'initializing': conversion from 'size_t' to 'unsigned int', possible loss of data
[C:\DataNoBackup\ocv\node_modules\opencv\build\opencv.vcxproj]
Building with OpenCV3.3
..\src\OpenCV.cc(317): warning C4267: 'initializing': conversion from 'size_t' to 'unsigned int', possible loss of data
[C:\DataNoBackup\ocv\node_modules\opencv\build\opencv.vcxproj]
..\src\OpenCV.cc(390): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [C:\Dat
aNoBackup\ocv\node_modules\opencv\build\opencv.vcxproj]
..\src\Matrix.cc(368): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [C:\Data
NoBackup\ocv\node_modules\opencv\build\opencv.vcxproj]
..\src\Matrix.cc(759): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [C:\Dat
aNoBackup\ocv\node_modules\opencv\build\opencv.vcxproj]
..\src\Matrix.cc(797): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [C:\Dat
aNoBackup\ocv\node_modules\opencv\build\opencv.vcxproj]
..\src\Matrix.cc(1364): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [C:\Da
taNoBackup\ocv\node_modules\opencv\build\opencv.vcxproj]
..\src\Matrix.cc(2482): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\DataN
oBackup\ocv\node_modules\opencv\build\opencv.vcxproj]
c:\datanobackup\ocv\node_modules\nan\nan_new.h(208): warning C4267: 'argument': conversion from 'size_t' to 'int', poss
ible loss of data (compiling source file ..\src\CascadeClassifierWrap.cc) [C:\DataNoBackup\ocv\node_modules\opencv\buil
d\opencv.vcxproj]
..\src\CascadeClassifierWrap.cc(88): note: see reference to function template instantiation 'v8::Local<v8::Array> Nan
::New<v8::Array,unsigned __int64>(std::A0)' being compiled
with
[
A0=unsigned __int64
]
c:\datanobackup\ocv\node_modules\nan\nan_new.h(208): warning C4267: 'argument': conversion from 'size_t' to 'int', poss
ible loss of data (compiling source file ..\src\OpenCV.cc) [C:\DataNoBackup\ocv\node_modules\opencv\build\opencv.vcxpro
j]
..\src\OpenCV.cc(382): note: see reference to function template instantiation 'v8::Local<v8::Array> Nan::New<v8::Arra
y,unsigned __int64>(std::A0)' being compiled
with
[
A0=unsigned __int64
]
c:\datanobackup\ocv\node_modules\nan\nan_new.h(208): warning C4267: 'argument': conversion from 'size_t' to 'int', poss
ible loss of data (compiling source file ..\src\Matrix.cc) [C:\DataNoBackup\ocv\node_modules\opencv\build\opencv.vcxpro
j]
..\src\Matrix.cc(1694): note: see reference to function template instantiation 'v8::Local<v8::Array> Nan::New<v8::Arr
ay,unsigned __int64>(std::A0)' being compiled
with
[
A0=unsigned __int64
]
Contours.cc
Point.cc
VideoCaptureWrap.cc
VideoWriterWrap.cc
..\src\Contours.cc(87): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [C:\Da
taNoBackup\ocv\node_modules\opencv\build\opencv.vcxproj]
..\src\Contours.cc(308): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [C:\D
ataNoBackup\ocv\node_modules\opencv\build\opencv.vcxproj]
..\src\Contours.cc(310): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [C:\D
ataNoBackup\ocv\node_modules\opencv\build\opencv.vcxproj]
..\src\Contours.cc(321): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [C:\D
ataNoBackup\ocv\node_modules\opencv\build\opencv.vcxproj]
c:\datanobackup\ocv\node_modules\nan\nan_new.h(208): warning C4267: 'argument': conversion from 'size_t' to 'int', poss
ible loss of data (compiling source file ..\src\Contours.cc) [C:\DataNoBackup\ocv\node_modules\opencv\build\opencv.vcxp
roj]
..\src\Contours.cc(80): note: see reference to function template instantiation 'v8::Local<v8::Array> Nan::New<v8::Arr
ay,unsigned __int64>(std::A0)' being compiled
with
[
A0=unsigned __int64
]
CamShift.cc
HighGUI.cc
FaceRecognizer.cc
Features2d.cc
BackgroundSubtractor.cc
Constants.cc
Calib3D.cc
ImgProc.cc
..\src\Constants.cc(5): warning C4005: 'CONST': macro redefinition [C:\DataNoBackup\ocv\node_modules\opencv\build\openc
v.vcxproj]
C:\Program Files (x86)\Windows Kits\8.1\Include\shared\minwindef.h(153): note: see previous definition of 'CONST' (co
mpiling source file ..\src\Constants.cc)
Building without HAVE_OPENCV_BGSEGM - only MOG2 will be available
..\src\BackgroundSubtractor.cc(265): warning C4267: 'initializing': conversion from 'size_t' to 'unsigned int', possibl
e loss of data [C:\DataNoBackup\ocv\node_modules\opencv\build\opencv.vcxproj]
..\src\BackgroundSubtractor.cc(417): warning C4267: 'initializing': conversion from 'size_t' to 'unsigned int', possibl
e loss of data [C:\DataNoBackup\ocv\node_modules\opencv\build\opencv.vcxproj]
c:\datanobackup\ocv\node_modules\nan\nan_new.h(208): warning C4267: 'argument': conversion from 'size_t' to 'int', poss
ible loss of data (compiling source file ..\src\Calib3D.cc) [C:\DataNoBackup\ocv\node_modules\opencv\build\opencv.vcxpr
oj]
..\src\Calib3D.cc(152): note: see reference to function template instantiation 'v8::Local<v8::Array> Nan::New<v8::Arr
ay,unsigned __int64>(std::A0)' being compiled
with
[
A0=unsigned __int64
]
Stereo.cc
LDAWrap.cc
Histogram.cc
win_delay_load_hook.cc
TODO: port me to OpenCV 3
TODO: port me to OpenCV 3
Creating library C:\DataNoBackup\ocv\node_modules\opencv\build\Release\opencv.lib and object C:\DataNoBackup\ocv\n
ode_modules\opencv\build\Release\opencv.exp
Generating code
Finished generating code
opencv.vcxproj -> C:\DataNoBackup\ocv\node_modules\opencv\build\Release\\opencv.node
opencv.vcxproj -> C:\DataNoBackup\ocv\node_modules\opencv\build\Release\opencv.pdb (Full PDB)
Copying C:\DataNoBackup\ocv\node_modules\opencv\build\Release\/opencv.node to C:/DataNoBackup/ocv/node_modules/opencv
/build/opencv/v6.0.0/Release/node-v48-win32-x64\opencv.node
1 file(s) copied.
nativemat.cc
win_delay_load_hook.cc
Creating library C:\DataNoBackup\ocv\node_modules\opencv\build\Release\test_nativemat.lib and object C:\DataNoBack
up\ocv\node_modules\opencv\build\Release\test_nativemat.exp
Generating code
Finished generating code
test_nativemat.vcxproj -> C:\DataNoBackup\ocv\node_modules\opencv\build\Release\\test_nativemat.node
test_nativemat.vcxproj -> C:\DataNoBackup\ocv\node_modules\opencv\build\Release\test_nativemat.pdb (Full PDB)
- deep-equal@0.2.2 node_modules\opencv\node_modules\deep-equal
- defined@0.0.0 node_modules\opencv\node_modules\defined
- inherits@2.0.3 node_modules\opencv\node_modules\inherits
- lru-cache@2.7.3 node_modules\opencv\node_modules\lru-cache
- object-inspect@0.4.0 node_modules\opencv\node_modules\object-inspect
- sigmund@1.0.1 node_modules\opencv\node_modules\sigmund
- minimatch@0.3.0 node_modules\opencv\node_modules\minimatch
- glob@3.2.11 node_modules\opencv\node_modules\glob
- through@2.3.8 node_modules\opencv\node_modules\through
- resumer@0.0.0 node_modules\opencv\node_modules\resumer
- tape@3.6.1 node_modules\opencv\node_modules\tape
C:\DataNoBackup\ocv
`-- opencv@6.0.0 (git://github.com/peterbraden/node-opencv.git#a1d7a22ccd991f34e0c5f9bfe10f6b611c854795)
+-- nan@2.8.0
`-- node-pre-gyp@0.6.39
`-- rc@1.2.2
`-- ini@1.3.5
npm WARN enoent ENOENT: no such file or directory, open 'C:\DataNoBackup\ocv\package.json'
npm WARN ocv No description
npm WARN ocv No repository field.
npm WARN ocv No README data
npm WARN ocv No license field.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment