Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows10 build error(node-gyp) #203

Closed
owlur opened this issue Mar 15, 2018 · 5 comments
Closed

windows10 build error(node-gyp) #203

owlur opened this issue Mar 15, 2018 · 5 comments

Comments

@owlur
Copy link

owlur commented Mar 15, 2018

I got an error while installing opencv4nodejs on Windows 10.

I think the error was raised while building opencv4nodejs using node-gyp.

windows-build-tools were successfully installed.

And this error occured 4 hours into the start of installation.

Detailed error message is pasted below:

'MatImgproc.obj : error LNK2001: unresolved external symbol "void _cdecl cv::drawContours(class cv::InputOutputArray c
onst &,class cv::InputArray const &,int,class cv::Scalar const &,int,int,class cv::InputArray const &,int,cl
ass cv::Point
)" (?drawContours@cv@@YAXAEBV_InputOutputArray@1@AEBV_InputArray@1@HAEBV?$Scalar
@n@1@HH1HV?$Point
@
H@1@@z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void _cdecl cv::warpAffine(class cv::InputArray const &,c
lass cv::OutputArray const &,class cv::InputArray const &,class cv::Size,int,int,class cv::Scalar cons
t &)" (?warpAffine@cv@@YAXAEBV_InputArray@1@AEBV_OutputArray@1@0V?$Size
@h@1@HHAEBV?$Scalar
@n@1@@z) [C:\Users\two\Spec
trum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void __cdecl cv::cornerHarris(class cv::_InputArray const &
,class cv::_OutputArray const &,int,int,double,int)" (?cornerHarris@cv@@YAXAEBV_InputArray@1@AEBV_OutputArray@1@HHNH@Z)
[C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void cdecl cv::blur(class cv::InputArray const &,class c
v::OutputArray const &,class cv::Size,class cv::Point
,int)" (?blur@cv@@YAXAEBV_InputArray@1@AEBV_OutputArr
ay@1@V?$Size
@h@1@V?$Point
@h@1@H@Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void _cdecl cv::dilate(class cv::InputArray const &,class
cv::OutputArray const &,class cv::InputArray const &,class cv::Point,int,int,class cv::Scalar const &
)" (?dilate@cv@@YAXAEBV_InputArray@1@AEBV_OutputArray@1@0V?$Point
@h@1@HHAEBV?$Scalar
@n@1@@z) [C:\Users\two\Spectrum\n
ode_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void _cdecl cv::erode(class cv::InputArray const &,class
cv::OutputArray const &,class cv::InputArray const &,class cv::Point,int,int,class cv::Scalar const &)
" (?erode@cv@@YAXAEBV_InputArray@1@AEBV_OutputArray@1@0V?$Point
@h@1@HHAEBV?$Scalar
@n@1@@z) [C:\Users\two\Spectrum\nod
e_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void __cdecl cv::equalizeHist(class cv::_InputArray const &
,class cv::_OutputArray const &)" (?equalizeHist@cv@@YAXAEBV_InputArray@1@AEBV_OutputArray@1@@z) [C:\Users\two\Spectrum
\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "double __cdecl cv::threshold(class cv::_InputArray const &,
class cv::_OutputArray const &,double,double,int)" (?threshold@cv@@YANAEBV_InputArray@1@AEBV_OutputArray@1@NNH@Z) [C:\U
sers\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void _cdecl cv::cornerSubPix(class cv::InputArray const &
,class cv::InputOutputArray const &,class cv::Size,class cv::Size
,class cv::TermCriteria)" (?cornerSubPix@
cv@@YAXAEBV_InputArray@1@AEBV_InputOutputArray@1@V?$Size
@h@1@2VTermCriteria@1@@z) [C:\Users\two\Spectrum\node_modules
opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void __cdecl cv::matchTemplate(class cv::_InputArray const
&,class cv::_InputArray const &,class cv::_OutputArray const &,int,class cv::_InputArray const &)" (?matchTemplate@cv@@
YAXAEBV_InputArray@1@0AEBV_OutputArray@1@H0@Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vc
xproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "class cv::Moments __cdecl cv::moments(class cv::_InputArray
const &,bool)" (?moments@cv@@ya?AVMoments@1@AEBV_InputArray@1@_N@Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs
build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void __cdecl cv::cvtColor(class cv::_InputArray const &,cla
ss cv::_OutputArray const &,int,int)" (?cvtColor@cv@@YAXAEBV_InputArray@1@AEBV_OutputArray@1@HH@Z) [C:\Users\two\Spectr
um\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void _cdecl cv::warpPerspective(class cv::InputArray cons
t &,class cv::OutputArray const &,class cv::InputArray const &,class cv::Size,int,int,class cv::Scalar
const &)" (?warpPerspective@cv@@YAXAEBV_InputArray@1@AEBV_OutputArray@1@0V?$Size
@h@1@HHAEBV?$Scalar
@n@1@@z) [C:\User
s\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void __cdecl cv::adaptiveThreshold(class cv::_InputArray co
nst &,class cv::_OutputArray const &,double,int,int,int,double)" (?adaptiveThreshold@cv@@YAXAEBV_InputArray@1@AEBV_Outp
utArray@1@NHHHN@Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void cdecl cv::boxFilter(class cv::InputArray const &,cl
ass cv::OutputArray const &,int,class cv::Size,class cv::Point
,bool,int)" (?boxFilter@cv@@YAXAEBV_InputArr
ay@1@AEBV_OutputArray@1@HV?$Size
@h@1@V?$Point
@h@1@_NH@Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\open
cv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "int __cdecl cv::connectedComponentsWithStats(class cv::_Inp
utArray const &,class cv::_OutputArray const &,class cv::_OutputArray const &,class cv::_OutputArray const &,int,int)"
(?connectedComponentsWithStats@cv@@YAHAEBV_InputArray@1@AEBV_OutputArray@1@11HH@Z) [C:\Users\two\Spectrum\node_modules
opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void __cdecl cv::buildPyramid(class cv::_InputArray const &
,class cv::_OutputArray const &,int,int)" (?buildPyramid@cv@@YAXAEBV_InputArray@1@AEBV_OutputArray@1@HH@Z) [C:\Users\tw
o\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void __cdecl cv::fillConvexPoly(class cv::InputOutputArray
const &,class cv::InputArray const &,class cv::Scalar const &,int,int)" (?fillConvexPoly@cv@@YAXAEBV_InputOu
tputArray@1@AEBV_InputArray@1@AEBV?$Scalar
@n@1@HH@Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4no
dejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void __cdecl cv::sepFilter2D(class cv::_InputArray const &,
class cv::_OutputArray const &,int,class cv::InputArray const &,class cv::InputArray const &,class cv::Point,do
uble,int)" (?sepFilter2D@cv@@YAXAEBV_InputArray@1@AEBV_OutputArray@1@H00V?$Point
@h@1@NH@Z) [C:\Users\two\Spectrum\node
_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void __cdecl cv::cornerMinEigenVal(class cv::_InputArray co
nst &,class cv::OutputArray const &,int,int,int)" (?cornerMinEigenVal@cv@@YAXAEBV_InputArray@1@AEBV_OutputArray@1@HHH@
Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void cdecl cv::putText(class cv::InputOutputArray const
&,class cv::String const &,class cv::Point
,int,double,class cv::Scalar
,int,int,bool)" (?putText@cv@@yaxa
EBV_InputOutputArray@1@AEBVString@1@V?$Point
@h@1@HNV?$Scalar
@n@1@HH_N@Z) [C:\Users\two\Spectrum\node_modules\opencv4n
odejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void __cdecl cv::Laplacian(class cv::_InputArray const &,cl
ass cv::OutputArray const &,int,int,double,double,int)" (?Laplacian@cv@@YAXAEBV_InputArray@1@AEBV_OutputArray@1@HHNNH@
Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void cdecl cv::polylines(class cv::InputOutputArray cons
t &,class cv::InputArray const &,bool,class cv::Scalar const &,int,int,int)" (?polylines@cv@@YAXAEBV_InputOut
putArray@1@AEBV_InputArray@1@NAEBV?$Scalar@n@1@HHH@Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4
nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void cdecl cv::fillPoly(class cv::InputOutputArray const
&,class cv::InputArray const &,class cv::Scalar const &,int,int,class cv::Point
)" (?fillPoly@cv@@YAXAE
BV_InputOutputArray@1@AEBV_InputArray@1@AEBV?$Scalar
@n@1@HHV?$Point
@h@1@@z) [C:\Users\two\Spectrum\node_modules\openc
v4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void cdecl cv::HoughCircles(class cv::InputArray const &
,class cv::OutputArray const &,int,double,double,double,double,int,int)" (?HoughCircles@cv@@YAXAEBV_InputArray@1@AEBV
OutputArray@1@HNNNNHH@Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "int cdecl cv::floodFill(class cv::InputOutputArray const
&,class cv::InputOutputArray const &,class cv::Point,class cv::Scalar
,class cv::Rect
*,class cv:
:Scalar,class cv::Scalar,int)" (?floodFill@cv@@YAHAEBV_InputOutputArray@1@0V?$Point@H@1@V?$Scalar@N
@1@PEAV?$Rect@H@1@22H@Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void cdecl cv::rectangle(class cv::InputOutputArray cons
t &,class cv::Point
,class cv::Point
,class cv::Scalar
const &,int,int,int)" (?rectangle@cv@@YAXAEBV
InputOutputArray@1@V?$Point@h@1@1AEBV?$Scalar@N@1@HHH@Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\ope
ncv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void cdecl cv::rectangle(class cv::Mat &,class cv::Rect<
int>,class cv::Scalar
const &,int,int,int)" (?rectangle@cv@@YAXAEAVMat@1@V?$Rect@H@1@AEBV?$Scalar@N@1@HHH@Z)
[C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void __cdecl cv::GaussianBlur(class cv::InputArray const &
,class cv::OutputArray const &,class cv::Size,double,double,int)" (?GaussianBlur@cv@@YAXAEBV_InputArray@1@AEBV_O
utputArray@1@V?$Size
@h@1@NNH@Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void __cdecl cv::pyrDown(class cv::InputArray const &,clas
s cv::OutputArray const &,class cv::Size const &,int)" (?pyrDown@cv@@YAXAEBV_InputArray@1@AEBV_OutputArray@1@AEB
V?$Size
@h@1@H@Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "public: cdecl cv::Moments::Moments(void)" (??0Moments@cv@
@qeaa@XZ) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void cdecl cv::line(class cv::InputOutputArray const &,c
lass cv::Point
,class cv::Point
,class cv::Scalar
const &,int,int,int)" (?line@cv@@YAXAEBV_InputOutp
utArray@1@V?$Point@H@1@1AEBV?$Scalar@N@1@HHH@Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs
.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void __cdecl cv::distanceTransform(class cv::_InputArray co
nst &,class cv::_OutputArray const &,class cv::_OutputArray const &,int,int,int)" (?distanceTransform@cv@@YAXAEBV_Input
Array@1@AEBV_OutputArray@1@1HHH@Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void __cdecl cv::distanceTransform(class cv::_InputArray co
nst &,class cv::_OutputArray const &,int,int,int)" (?distanceTransform@cv@@YAXAEBV_InputArray@1@AEBV_OutputArray@1@HHH@
Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void __cdecl cv::Canny(class cv::_InputArray const &,class
cv::_OutputArray const &,double,double,int,bool)" (?Canny@cv@@YAXAEBV_InputArray@1@AEBV_OutputArray@1@NNH_N@Z) [C:\User
s\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void __cdecl cv::HoughLinesP(class cv::_InputArray const &,
class cv::_OutputArray const &,double,double,int,double,double)" (?HoughLinesP@cv@@YAXAEBV_InputArray@1@AEBV_OutputArra
y@1@NNHNN@Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void __cdecl cv::bilateralFilter(class cv::_InputArray cons
t &,class cv::_OutputArray const &,int,double,double,int)" (?bilateralFilter@cv@@YAXAEBV_InputArray@1@AEBV_OutputArray@
1@HNNH@Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void __cdecl cv::pyrUp(class cv::InputArray const &,class
cv::OutputArray const &,class cv::Size const &,int)" (?pyrUp@cv@@YAXAEBV_InputArray@1@AEBV_OutputArray@1@AEBV?$S
ize
@h@1@H@Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void __cdecl cv::Scharr(class cv::_InputArray const &,class
cv::_OutputArray const &,int,int,int,double,double,int)" (?Scharr@cv@@YAXAEBV_InputArray@1@AEBV_OutputArray@1@HHHNNH@Z
) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "double __cdecl cv::compareHist(class cv::_InputArray const
&,class cv::_InputArray const &,int)" (?compareHist@cv@@YANAEBV_InputArray@1@0H@Z) [C:\Users\two\Spectrum\node_modules
opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void cdecl cv::sqrBoxFilter(class cv::InputArray const &
,class cv::OutputArray const &,int,class cv::Size,class cv::Point
,bool,int)" (?sqrBoxFilter@cv@@YAXAEBV_In
putArray@1@AEBV_OutputArray@1@HV?$Size
@h@1@V?$Point
@h@1@_NH@Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\buil
d\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void __cdecl cv::watershed(class cv::_InputArray const &,cl
ass cv::_InputOutputArray const &)" (?watershed@cv@@YAXAEBV_InputArray@1@AEBV_InputOutputArray@1@@z) [C:\Users\two\Spec
trum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void __cdecl cv::HoughLines(class cv::_InputArray const &,c
lass cv::_OutputArray const &,double,double,int,double,double,double,double)" (?HoughLines@cv@@YAXAEBV_InputArray@1@AEB
V_OutputArray@1@NNHNNNN@Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void __cdecl cv::filter2D(class cv::_InputArray const &,cla
ss cv::_OutputArray const &,int,class cv::InputArray const &,class cv::Point,double,int)" (?filter2D@cv@@YAXAEBV
InputArray@1@AEBV_OutputArray@1@H0V?$Point@h@1@NH@Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4n
odejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void __cdecl cv::Sobel(class cv::_InputArray const &,class
cv::_OutputArray const &,int,int,int,int,double,double,int)" (?Sobel@cv@@YAXAEBV_InputArray@1@AEBV_OutputArray@1@HHHHNN
H@Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void __cdecl cv::grabCut(class cv::_InputArray const &,clas
s cv::InputOutputArray const &,class cv::Rect,class cv::_InputOutputArray const &,class cv::InputOutputArray co
nst &,int,int)" (?grabCut@cv@@YAXAEBV_InputArray@1@AEBV_InputOutputArray@1@V?$Rect
@h@1@11HH@Z) [C:\Users\two\Spectrum
node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void _cdecl cv::morphologyEx(class cv::InputArray const &
,class cv::OutputArray const &,int,class cv::InputArray const &,class cv::Point,int,int,class cv::Scalar const &)" (?morphologyEx@cv@@YAXAEBV_InputArray@1@AEBV_OutputArray@1@H0V?$Point
@h@1@HHAEBV?$Scalar
@n@1@@z) [C:\Use
rs\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void cdecl cv::cornerEigenValsAndVecs(class cv::InputArr
ay const &,class cv::OutputArray const &,int,int,int)" (?cornerEigenValsAndVecs@cv@@YAXAEBV_InputArray@1@AEBV_OutputAr
ray@1@HHH@Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void cdecl cv::ellipse(class cv::InputOutputArray const
&,class cv::Point
,class cv::Size
,double,double,double,class cv::Scalar
const &,int,int,int)" (?ell
ipse@cv@@YAXAEBV_InputOutputArray@1@V?$Point@H@1@V?$Size@H@1@NNNAEBV?$Scalar@N@1@HHH@Z) [C:\Users\two\Spectrum\node
modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void cdecl cv::ellipse(class cv::InputOutputArray const
&,class cv::RotatedRect const &,class cv::Scalar
const &,int,int)" (?ellipse@cv@@YAXAEBV_InputOutputArray@1@AE
BVRotatedRect@1@AEBV?$Scalar
@n@1@HH@Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void cdecl cv::circle(class cv::InputOutputArray const &
,class cv::Point
,int,class cv::Scalar
const &,int,int,int)" (?circle@cv@@YAXAEBV_InputOutputArray@1@V?$P
oint
@h@1@HAEBV?$Scalar
@n@1@HHH@Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void __cdecl cv::findContours(class cv::_InputOutputArray c
onst &,class cv::OutputArray const &,class cv::OutputArray const &,int,int,class cv::Point)" (?findContours@cv@
@YAXAEBV_InputOutputArray@1@AEBV_OutputArray@1@1HHV?$Point
@h@1@@z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\b
uild\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void __cdecl cv::medianBlur(class cv::_InputArray const &,c
lass cv::_OutputArray const &,int)" (?medianBlur@cv@@YAXAEBV_InputArray@1@AEBV_OutputArray@1@H@Z) [C:\Users\two\Spectru
m\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "int __cdecl cv::connectedComponents(class cv::_InputArray c
onst &,class cv::_OutputArray const &,int,int)" (?connectedComponents@cv@@YAHAEBV_InputArray@1@AEBV_OutputArray@1@HH@Z)
[C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
MatImgproc.obj : error LNK2001: unresolved external symbol "void __cdecl cv::resize(class cv::InputArray const &,class
cv::OutputArray const &,class cv::Size,double,double,int)" (?resize@cv@@YAXAEBV_InputArray@1@AEBV_OutputArray@1
@v?$Size
@h@1@NNH@Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
imgproc.obj : error LNK2001: unresolved external symbol "class cv::Mat __cdecl cv::getPerspectiveTransform(class cv::_I
nputArray const &,class cv::_InputArray const &)" (?getPerspectiveTransform@cv@@ya?AVMat@1@AEBV_InputArray@1@0@Z) [C:\U
sers\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
imgproc.obj : error LNK2001: unresolved external symbol "void __cdecl cv::fitLine(class cv::InputArray const &,class c
v::OutputArray const &,int,double,double,double)" (?fitLine@cv@@YAXAEBV_InputArray@1@AEBV_OutputArray@1@HNNN@Z) [C:\Us
ers\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
imgproc.obj : error LNK2001: unresolved external symbol "class cv::Mat cdecl cv::getStructuringElement(int,class cv::
Size
,class cv::Point
)" (?getStructuringElement@cv@@ya?AVMat@1@HV?$Size
@h@1@V?$Point
@h@1@@z) [C:\Users\two
\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
imgproc.obj : error LNK2001: unresolved external symbol "void __cdecl cv::calcHist(class cv::Mat const *,int,int const
*,class cv::_InputArray const &,class cv::_OutputArray const &,int,int const *,float const * *,bool,bool)" (?calcHist@c
v@@YAXPEBVMat@1@HPEBHAEBV_InputArray@1@AEBV_OutputArray@1@H1PEAPEBM_N5@Z) [C:\Users\two\Spectrum\node_modules\opencv4no
dejs\build\opencv4nodejs.vcxproj]
imgproc.obj : error LNK2001: unresolved external symbol "class cv::Mat cdecl cv::getRotationMatrix2D(class cv::Point
,double,double)" (?getRotationMatrix2D@cv@@ya?AVMat@1@V?$Point
@m@1@NN@Z) [C:\Users\two\Spectrum\node_modules\op
encv4nodejs\build\opencv4nodejs.vcxproj]
imgproc.obj : error LNK2001: unresolved external symbol "class cv::Mat __cdecl cv::getAffineTransform(class cv::_InputA
rray const &,class cv::_InputArray const &)" (?getAffineTransform@cv@@ya?AVMat@1@AEBV_InputArray@1@0@Z) [C:\Users\two\S
pectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
imgproc.obj : error LNK2001: unresolved external symbol "void __cdecl cv::Canny(class cv::_InputArray const &,class cv:
:_InputArray const &,class cv::OutputArray const &,double,double,bool)" (?Canny@cv@@YAXAEBV_InputArray@1@0AEBV_OutputA
rray@1@NN_N@Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
imgproc.obj : error LNK2001: unresolved external symbol "class cv::Size
_cdecl cv::getTextSize(class cv::String
const &,int,double,int,int *)" (?getTextSize@cv@@ya?AV?$Size
@h@1@AEBVString@1@HNHPEAH@Z) [C:\Users\two\Spectrum\node_m
odules\opencv4nodejs\build\opencv4nodejs.vcxproj]
Contour.obj : error LNK2001: unresolved external symbol "double __cdecl cv::contourArea(class cv::_InputArray const &,b
ool)" (?contourArea@cv@@YANAEBV_InputArray@1@_N@Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodej
s.vcxproj]
Contour.obj : error LNK2001: unresolved external symbol "void __cdecl cv::approxPolyDP(class cv::_InputArray const &,cl
ass cv::_OutputArray const &,double,bool)" (?approxPolyDP@cv@@YAXAEBV_InputArray@1@AEBV_OutputArray@1@N_N@Z) [C:\Users
two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
Contour.obj : error LNK2001: unresolved external symbol "double __cdecl cv::minEnclosingTriangle(class cv::_InputArray
const &,class cv::_OutputArray const &)" (?minEnclosingTriangle@cv@@YANAEBV_InputArray@1@AEBV_OutputArray@1@@z) [C:\Use
rs\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
Contour.obj : error LNK2001: unresolved external symbol "double __cdecl cv::arcLength(class cv::_InputArray const &,boo
l)" (?arcLength@cv@@YANAEBV_InputArray@1@_N@Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vc
xproj]
Contour.obj : error LNK2001: unresolved external symbol "bool __cdecl cv::isContourConvex(class cv::_InputArray const &
)" (?isContourConvex@cv@@YA_NAEBV_InputArray@1@@z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodej
s.vcxproj]
Contour.obj : error LNK2001: unresolved external symbol "double _cdecl cv::pointPolygonTest(class cv::InputArray cons
t &,class cv::Point
,bool)" (?pointPolygonTest@cv@@YANAEBV_InputArray@1@V?$Point
@m@1@_N@Z) [C:\Users\two\Spectr
um\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
Contour.obj : error LNK2001: unresolved external symbol "void __cdecl cv::convexityDefects(class cv::_InputArray const
&,class cv::_InputArray const &,class cv::_OutputArray const &)" (?convexityDefects@cv@@YAXAEBV_InputArray@1@0AEBV_Outp
utArray@1@@z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
Contour.obj : error LNK2001: unresolved external symbol "class cv::RotatedRect __cdecl cv::fitEllipse(class cv::_InputA
rray const &)" (?fitEllipse@cv@@ya?AVRotatedRect@1@AEBV_InputArray@1@@z) [C:\Users\two\Spectrum\node_modules\opencv4nod
ejs\build\opencv4nodejs.vcxproj]
Contour.obj : error LNK2001: unresolved external symbol "void _cdecl cv::minEnclosingCircle(class cv::InputArray cons
t &,class cv::Point
&,float &)" (?minEnclosingCircle@cv@@YAXAEBV_InputArray@1@AEAV?$Point
@m@1@AEAM@Z) [C:\User
s\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
Contour.obj : error LNK2001: unresolved external symbol "double __cdecl cv::matchShapes(class cv::_InputArray const &,c
lass cv::_InputArray const &,int,double)" (?matchShapes@cv@@YANAEBV_InputArray@1@0HN@Z) [C:\Users\two\Spectrum\node_mod
ules\opencv4nodejs\build\opencv4nodejs.vcxproj]
Contour.obj : error LNK2001: unresolved external symbol "void __cdecl cv::convexHull(class cv::_InputArray const &,clas
s cv::_OutputArray const &,bool,bool)" (?convexHull@cv@@YAXAEBV_InputArray@1@AEBV_OutputArray@1@N2@Z) [C:\Users\two\Sp
ectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
Contour.obj : error LNK2001: unresolved external symbol "class cv::Rect
__cdecl cv::boundingRect(class cv::Input
Array const &)" (?boundingRect@cv@@ya?AV?$Rect
@h@1@AEBV_InputArray@1@@z) [C:\Users\two\Spectrum\node_modules\opencv4no
dejs\build\opencv4nodejs.vcxproj]
Contour.obj : error LNK2001: unresolved external symbol "class cv::RotatedRect __cdecl cv::minAreaRect(class cv::_Input
Array const &)" (?minAreaRect@cv@@ya?AVRotatedRect@1@AEBV_InputArray@1@@z) [C:\Users\two\Spectrum\node_modules\opencv4n
odejs\build\opencv4nodejs.vcxproj]
Moments.obj : error LNK2001: unresolved external symbol "void __cdecl cv::HuMoments(class cv::Moments const &,class cv:
:_OutputArray const &)" (?HuMoments@cv@@YAXAEBVMoments@1@AEBV_OutputArray@1@@z) [C:\Users\two\Spectrum\node_modules\ope
ncv4nodejs\build\opencv4nodejs.vcxproj]
CascadeClassifier.obj : error LNK2001: unresolved external symbol "public: void _cdecl cv::CascadeClassifier::detectMu
ltiScale(class cv::InputArray const &,class std::vector<class cv::Rect,class std::allocator<class cv::Rect

&,double,int,int,class cv::Size_,class cv::Size_)" (?detectMultiScale@CascadeClassifier@cv@@QEAAXAEBV_In
putArray@2@AEAV?$vector@V?$Rect_@H@cv@@v?$allocator@V?$Rect_@H@cv@@@std@@@std@@nhhv?$Size_@H@2@2@Z) [C:\Users\two\Spect
rum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
CascadeClassifier.obj : error LNK2001: unresolved external symbol "public: void cdecl cv::CascadeClassifier::detectMu
ltiScale(class cv::InputArray const &,class std::vector<class cv::Rect,class std::allocator<class cv::Rect

&,class std::vector<int,class std::allocator > &,double,int,int,class cv::Size
,class cv::Size_)" (
?detectMultiScale@CascadeClassifier@cv@@QEAAXAEBV_InputArray@2@AEAV?$vector@V?$Rect_@H@cv@@v?$allocator@V?$Rect_@H@cv@@
@std@@@std@@aeav?$vector@HV?$allocator@H@std@@@5@NHHV?$Size_@H@2@3@Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs
\build\opencv4nodejs.vcxproj]
CascadeClassifier.obj : error LNK2001: unresolved external symbol "public: void cdecl cv::CascadeClassifier::detectMu
ltiScale(class cv::InputArray const &,class std::vector<class cv::Rect,class std::allocator<class cv::Rect

&,class std::vector<int,class std::allocator > &,class std::vector<double,class std::allocator > &,do
uble,int,int,class cv::Size
,class cv::Size_,bool)" (?detectMultiScale@CascadeClassifier@cv@@QEAAXAEBV_InputA
rray@2@AEAV?$vector@V?$Rect_@H@cv@@v?$allocator@V?$Rect_@H@cv@@@std@@@std@@aeav?$vector@HV?$allocator@H@std@@@5@AEAV?$v
ector@NV?$allocator@N@std@@@5@NHHV?$Size_@H@2@4_N@Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nod
ejs.vcxproj]
CascadeClassifier.obj : error LNK2001: unresolved external symbol "public: bool cdecl cv::CascadeClassifier::empty(vo
id)const " (?empty@CascadeClassifier@cv@@QEBA_NXZ) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodej
s.vcxproj]
CascadeClassifier.obj : error LNK2001: unresolved external symbol "public: cdecl cv::CascadeClassifier::~CascadeClass
ifier(void)" (??1CascadeClassifier@cv@@qeaa@XZ) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.v
cxproj]
CascadeClassifier.obj : error LNK2001: unresolved external symbol "public: cdecl cv::CascadeClassifier::CascadeClassi
fier(void)" (??0CascadeClassifier@cv@@qeaa@XZ) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vc
xproj]
CascadeClassifier.obj : error LNK2001: unresolved external symbol "public: cdecl cv::CascadeClassifier::CascadeClassi
fier(class cv::String const &)" (??0CascadeClassifier@cv@@qeaa@AEBVString@1@@z) [C:\Users\two\Spectrum\node_modules\ope
ncv4nodejs\build\opencv4nodejs.vcxproj]
HOGDescriptor.obj : error LNK2001: unresolved external symbol "public: void cdecl cv::HOGDescriptor::groupRectangles(
class std::vector<class cv::Rect
,class std::allocator<class cv::Rect
> > &,class std::vector<double,class s
td::allocator > &,int,double)const " (?groupRectangles@HOGDescriptor@cv@@QEBAXAEAV?$vector@V?$Rect
@h@cv@@v?$al
locator@V?$Rect
@h@cv@@@std@@@std@@aeav?$vector@NV?$allocator@N@std@@@4@HN@Z) [C:\Users\two\Spectrum\node_modules\openc
v4nodejs\build\opencv4nodejs.vcxproj]
HOGDescriptor.obj : error LNK2001: unresolved external symbol "public: virtual void cdecl cv::HOGDescriptor::detectMu
ltiScaleROI(class cv::Mat const &,class std::vector<class cv::Rect
,class std::allocator<class cv::Rect
> >
&,class std::vector<struct cv::DetectionROI,class std::allocator > &,double,int)const " (?dete
ctMultiScaleROI@HOGDescriptor@cv@@UEBAXAEBVMat@2@AEAV?$vector@V?$Rect@H@cv@@v?$allocator@V?$Rect@H@cv@@@std@@@std@@AE
AV?$vector@UDetectionROI@cv@@v?$allocator@UDetectionROI@cv@@@std@@@5@NH@Z) [C:\Users\two\Spectrum\node_modules\opencv4n
odejs\build\opencv4nodejs.vcxproj]
HOGDescriptor.obj : error LNK2001: unresolved external symbol "public: virtual void cdecl cv::HOGDescriptor::detectRO
I(class cv::Mat const &,class std::vector<class cv::Point
,class std::allocator<class cv::Point
> > const &,
class std::vector<class cv::Point,class std::allocator<class cv::Point > > &,class std::vector<double,class
std::allocator > &,double,class cv::Size,class cv::Size)const " (?detectROI@HOGDescriptor@cv@@ueba
XAEBVMat@2@AEBV?$vector@V?$Point_@H@cv@@v?$allocator@V?$Point_@H@cv@@@std@@@std@@AEAV45@AEAV?$vector@NV?$allocator@N@st
d@@@5@NV?$Size_@H@2@4@Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
HOGDescriptor.obj : error LNK2001: unresolved external symbol "public: static class std::vector<float,class std::alloca
tor > cdecl cv::HOGDescriptor::getDaimlerPeopleDetector(void)" (?getDaimlerPeopleDetector@HOGDescriptor@cv@@sa
?AV?$vector@MV?$allocator@M@std@@@std@@xz) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxpro
j]
HOGDescriptor.obj : error LNK2001: unresolved external symbol "public: static class std::vector<float,class std::alloca
tor > cdecl cv::HOGDescriptor::getDefaultPeopleDetector(void)" (?getDefaultPeopleDetector@HOGDescriptor@cv@@sa
?AV?$vector@MV?$allocator@M@std@@@std@@xz) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxpro
j]
HOGDescriptor.obj : error LNK2001: unresolved external symbol "public: virtual void cdecl cv::HOGDescriptor::computeG
radient(class cv::Mat const &,class cv::Mat &,class cv::Mat &,class cv::Size
,class cv::Size
)const " (?compu
teGradient@HOGDescriptor@cv@@UEBAXAEBVMat@2@AEAV32@1V?$Size
@h@2@2@Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs
\build\opencv4nodejs.vcxproj]
HOGDescriptor.obj : error LNK2001: unresolved external symbol "public: virtual void cdecl cv::HOGDescriptor::detectMu
ltiScale(class cv::InputArray const &,class std::vector<class cv::Rect,class std::allocator<class cv::Rect

&,class std::vector<double,class std::allocator > &,double,class cv::Size
,class cv::Size,doubl
e,double,bool)const " (?detectMultiScale@HOGDescriptor@cv@@UEBAXAEBV_InputArray@2@AEAV?$vector@V?$Rect@H@cv@@v?$alloca
tor@V?$Rect@H@cv@@@std@@@std@@aeav?$vector@NV?$allocator@N@std@@@5@NV?$Size_@H@2@3NN_N@Z) [C:\Users\two\Spectrum\node_
modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
HOGDescriptor.obj : error LNK2001: unresolved external symbol "public: virtual void cdecl cv::HOGDescriptor::detectMu
ltiScale(class cv::InputArray const &,class std::vector<class cv::Rect,class std::allocator<class cv::Rect

&,double,class cv::Size
,class cv::Size_,double,double,bool)const " (?detectMultiScale@HOGDescriptor@cv@
@UEBAXAEBV_InputArray@2@AEAV?$vector@V?$Rect_@H@cv@@v?$allocator@V?$Rect_@H@cv@@@std@@@std@@NV?$Size_@H@2@2NN_N@Z) [C:
Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
HOGDescriptor.obj : error LNK2001: unresolved external symbol "public: virtual void cdecl cv::HOGDescriptor::detect(c
lass cv::Mat const &,class std::vector<class cv::Point
,class std::allocator<class cv::Point
> > &,class std
::vector<double,class std::allocator > &,double,class cv::Size_,class cv::Size_,class std::vector<cla
ss cv::Point_,class std::allocator<class cv::Point_ > > const &)const " (?detect@HOGDescriptor@cv@@UEBAXAEBVM
at@2@AEAV?$vector@V?$Point_@H@cv@@v?$allocator@V?$Point_@H@cv@@@std@@@std@@aeav?$vector@NV?$allocator@N@std@@@5@NV?$Siz
e_@H@2@3AEBV45@@z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
HOGDescriptor.obj : error LNK2001: unresolved external symbol "public: virtual void cdecl cv::HOGDescriptor::detect(c
lass cv::Mat const &,class std::vector<class cv::Point
,class std::allocator<class cv::Point
> > &,double,cl
ass cv::Size_,class cv::Size_,class std::vector<class cv::Point_,class std::allocator<class cv::Point_ > > const &)const " (?detect@HOGDescriptor@cv@@UEBAXAEBVMat@2@AEAV?$vector@V?$Point_@H@cv@@v?$allocator@V?$Point_@H
@cv@@@std@@@std@@NV?$Size_@H@2@2AEBV45@@z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxpro
j]
HOGDescriptor.obj : error LNK2001: unresolved external symbol "public: virtual void cdecl cv::HOGDescriptor::compute(
class cv::InputArray const &,class std::vector<float,class std::allocator > &,class cv::Size,class cv::Si
ze
,class std::vector<class cv::Point
,class std::allocator<class cv::Point_ > > const &)const " (?compu
te@HOGDescriptor@cv@@UEBAXAEBV_InputArray@2@AEAV?$vector@MV?$allocator@M@std@@@std@@v?$Size_@H@2@2AEBV?$vector@V?$Point
@h@cv@@v?$allocator@V?$Point@h@cv@@@std@@@5@@z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs
.vcxproj]
HOGDescriptor.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl cv::HOGDescriptor::copyTo(s
truct cv::HOGDescriptor &)const " (?copyTo@HOGDescriptor@cv@@UEBAXAEAU12@@z) [C:\Users\two\Spectrum\node_modules\opencv
4nodejs\build\opencv4nodejs.vcxproj]
HOGDescriptor.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl cv::HOGDescriptor::save(cla
ss cv::String const &,class cv::String const &)const " (?save@HOGDescriptor@cv@@UEBAXAEBVString@2@0@Z) [C:\Users\two\Sp
ectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
HOGDescriptor.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl cv::HOGDescriptor::load(cla
ss cv::String const &,class cv::String const &)" (?load@HOGDescriptor@cv@@UEAA_NAEBVString@2@0@Z) [C:\Users\two\Spectru
m\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
HOGDescriptor.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl cv::HOGDescriptor::write(cl
ass cv::FileStorage &,class cv::String const &)const " (?write@HOGDescriptor@cv@@UEBAXAEAVFileStorage@2@AEBVString@2@@z
) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
HOGDescriptor.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl cv::HOGDescriptor::read(cla
ss cv::FileNode &)" (?read@HOGDescriptor@cv@@UEAA_NAEAVFileNode@2@@z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs
\build\opencv4nodejs.vcxproj]
HOGDescriptor.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl cv::HOGDescriptor::setSVMDe
tector(class cv::_InputArray const &)" (?setSVMDetector@HOGDescriptor@cv@@UEAAXAEBV_InputArray@2@@z) [C:\Users\two\Spec
trum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
HOGDescriptor.obj : error LNK2001: unresolved external symbol "public: bool __cdecl cv::HOGDescriptor::checkDetectorSiz
e(void)const " (?checkDetectorSize@HOGDescriptor@cv@@QEBA_NXZ) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build
opencv4nodejs.vcxproj]
features2d.obj : error LNK2001: unresolved external symbol "void __cdecl cv::drawKeypoints(class cv::InputArray const
&,class std::vector<class cv::KeyPoint,class std::allocator > const &,class cv::InputOutputArray c
onst &,class cv::Scalar
const &,int)" (?drawKeypoints@cv@@YAXAEBV_InputArray@1@AEBV?$vector@VKeyPoint@cv@@v?$a
llocator@VKeyPoint@cv@@@std@@@std@@AEBV_InputOutputArray@1@AEBV?$Scalar
@n@1@H@Z) [C:\Users\two\Spectrum\node_modules\o
pencv4nodejs\build\opencv4nodejs.vcxproj]
features2d.obj : error LNK2001: unresolved external symbol "void __cdecl cv::drawMatches(class cv::InputArray const &,
class std::vector<class cv::KeyPoint,class std::allocator > const &,class cv::InputArray const &,c
lass std::vector<class cv::KeyPoint,class std::allocator > const &,class std::vector<class cv::DMat
ch,class std::allocator > const &,class cv::InputOutputArray const &,class cv::Scalar const
&,class cv::Scalar
const &,class std::vector<char,class std::allocator > const &,int)" (?drawMatches@cv
@@YAXAEBV_InputArray@1@AEBV?$vector@VKeyPoint@cv@@v?$allocator@VKeyPoint@cv@@@std@@@std@@01AEBV?$vector@VDMatch@cv@@v?$
allocator@VDMatch@cv@@@std@@@4@AEBV_InputOutputArray@1@AEBV?$Scalar
@n@1@4AEBV?$vector@DV?$allocator@D@std@@@4@H@Z) [C:
\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
descriptorMatching.obj : error LNK2001: unresolved external symbol "public: static struct cv::Ptr __cdecl cv::DescriptorMatcher::create(int)" (?create@DescriptorMatcher@cv@@sa?AU?$Ptr@VDescriptorMatcher@cv@@@2
@h@Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
descriptorMatching.obj : error LNK2001: unresolved external symbol "public: void __cdecl cv::DescriptorMatcher::match(c
lass cv::_InputArray const &,class cv::_InputArray const &,class std::vector<class cv::DMatch,class std::allocator > &,class cv::_InputArray const &)const " (?match@DescriptorMatcher@cv@@QEBAXAEBV_InputArray@2@0AEAV?$vec
tor@VDMatch@cv@@v?$allocator@VDMatch@cv@@@std@@@std@@0@Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\openc
v4nodejs.vcxproj]
descriptorMatchingKnn.obj : error LNK2001: unresolved external symbol "public: void __cdecl cv::DescriptorMatcher::knnM
atch(class cv::_InputArray const &,class cv::_InputArray const &,class std::vector<class std::vector<class cv::DMatch,c
lass std::allocator >,class std::allocator<class std::vector<class cv::DMatch,class std::allocator > > > &,int,class cv::_InputArray const &,bool)const " (?knnMatch@DescriptorMatcher@cv@@QEBAXAEBV_Input
Array@2@0AEAV?$vector@V?$vector@VDMatch@cv@@v?$allocator@VDMatch@cv@@@std@@@std@@v?$allocator@V?$vector@VDMatch@cv@@v?$
allocator@VDMatch@cv@@@std@@@std@@@2@@std@@H0_N@Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodej
s.vcxproj]
AGASTDetector.obj : error LNK2001: unresolved external symbol "public: static struct cv::Ptr __cdecl cv::AgastFeatureDetector::create(int,bool,int)" (?create@AgastFeatureDetector@cv@@sa?AU?$Ptr@VAgastFeatur
eDetector@cv@@@2@H_NH@Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
AKAZEDetector.obj : error LNK2001: unresolved external symbol "public: static struct cv::Ptr __cdecl c
v::AKAZE::create(int,int,int,float,int,int,int)" (?create@AKAZE@cv@@sa?AU?$Ptr@VAKAZE@cv@@@2@HHHMHHH@Z) [C:\Users\two\S
pectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
BRISKDetector.obj : error LNK2001: unresolved external symbol "public: static struct cv::Ptr __cdecl c
v::BRISK::create(int,int,float)" (?create@BRISK@cv@@sa?AU?$Ptr@VBRISK@cv@@@2@HHM@Z) [C:\Users\two\Spectrum\node_modules
\opencv4nodejs\build\opencv4nodejs.vcxproj]
FASTDetector.obj : error LNK2001: unresolved external symbol "public: static struct cv::Ptr __cdecl cv::FastFeatureDetector::create(int,bool,int)" (?create@FastFeatureDetector@cv@@sa?AU?$Ptr@VFastFeatureDete
ctor@cv@@@2@H_NH@Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
GFTTDetector.obj : error LNK2001: unresolved external symbol "public: static struct cv::Ptr __c
decl cv::GFTTDetector::create(int,double,double,int,bool,double)" (?create@GFTTDetector@cv@@sa?AU?$Ptr@VGFTTDetector@cv
@@@2@HNNH_NN@Z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
KAZEDetector.obj : error LNK2001: unresolved external symbol "public: static struct cv::Ptr __cdecl cv:
:KAZE::create(bool,bool,float,int,int,int)" (?create@KAZE@cv@@sa?AU?$Ptr@VKAZE@cv@@@2@_N0MHHH@Z) [C:\Users\two\Spectrum
\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
MSERDetector.obj : error LNK2001: unresolved external symbol "public: static struct cv::Ptr __cdecl cv:
:MSER::create(int,int,int,double,double,int,double,double,int)" (?create@MSER@cv@@sa?AU?$Ptr@VMSER@cv@@@2@HHHNNHNNH@Z)
[C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
ORBDetector.obj : error LNK2001: unresolved external symbol "public: static struct cv::Ptr __cdecl cv::O
RB::create(int,float,int,int,int,int,int,int,int)" (?create@ORB@cv@@sa?AU?$Ptr@VORB@cv@@@2@HMHHHHHHH@Z) [C:\Users\two\S
pectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]
SimpleBlobDetector.obj : error LNK2001: unresolved external symbol "public: static struct cv::Ptr __cdecl cv::SimpleBlobDetector::create(struct cv::SimpleBlobDetector::Params const &)" (?create@SimpleBlobDete
ctor@cv@@sa?AU?$Ptr@VSimpleBlobDetector@cv@@@2@AEBUParams@12@@z) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\buil
d\opencv4nodejs.vcxproj]
SimpleBlobDetectorParams.obj : error LNK2001: unresolved external symbol "public: __cdecl cv::SimpleBlobDetector::Param
s::Params(void)" (??0Params@SimpleBlobDetector@cv@@qeaa@XZ) [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\ope
ncv4nodejs.vcxproj]
C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\Release\opencv4nodejs.node : fatal error LNK1120: 117 unresolved
externals [C:\Users\two\Spectrum\node_modules\opencv4nodejs\build\opencv4nodejs.vcxproj]

gyp ERR! build error
gyp ERR! stack Error: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:258: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 10.0.16299
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\two\Spectrum\node_modules\opencv4nodejs
gyp ERR! node -v v8.10.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm WARN spectrum@1.0.0 No repository field.
npm WARN spectrum@1.0.0 No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: 7zip-bin-linux@1.3.1 (node_modules\7zip-bin-linux):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for 7zip-bin-linux@1.3.1: wanted {"os":"linux","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: 7zip-bin-mac@1.0.1 (node_modules\7zip-bin-mac):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for 7zip-bin-mac@1.0.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! opencv4nodejs@3.3.0 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the opencv4nodejs@3.3.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

please help

@justadudewhohacks
Copy link
Owner

OpenCV libraries could not be linked. Are you using an own build of OpenCV or the auto build? In the first case, did you set OPENCV_LIB_DIR pointing to the .lib files?

@owlur
Copy link
Author

owlur commented Mar 16, 2018

I used npm install --save opencv4nodejs for auto build
After posting this issue, I tried to npm install opencv-build and it's successful
but when I retry npm install --save opencv4nodejs I got an other error

opencv4nodejs@3.3.1 install C:\Users\two\Spectrum\node_modules\opencv4nodejs
node-gyp rebuild
C:\Users\two\Spectrum\node_modules\opencv4nodejs>if
not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
C:\Users\two\Spectrum\node_modules\opencv4nodejs\node_modules\opencv-build\libs.js:38
throw new Error(specified lib dir does not exist: ${libDir})
^

Error: specified lib dir does not exist:
C:/Users/two/Spectrum/node_modules/opencv4nodejs/node_modules/opencv-build/opencv/build/lib/Release
at Object.module.exports [as getLibs] (C:\Users\two\Spectrum\node_modules\opencv4nodejs\node_modules\opencv-build\libs.js:38:11)
at Object. (C:\Users\two\Spectrum\node_modules\opencv4nodejs\lib\libs.js:18:24)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3
gyp: Call to 'node ./lib/libs.js' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:336:16)
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 10.0.16299
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\two\Spectrum\node_modules\opencv4nodejs
gyp ERR! node -v v8.10.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm WARN spectrum@1.0.0 No repository field.
npm WARN spectrum@1.0.0 No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: 7zip-bin-linux@1.3.1 (node_modules\7zip-bin-linux):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for 7zip-bin-linux@1.3.1: wanted {"os":"linux","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: 7zip-bin-mac@1.0.1 (node_modules\7zip-bin-mac):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for 7zip-bin-mac@1.0.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! opencv4nodejs@3.3.1 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the opencv4nodejs@3.3.1 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

and 'C:\Users\two\Spectrum\node_modules\opencv-build\opencv\build\lib\Release' folder does exist

@justadudewhohacks
Copy link
Owner

Odd. I found an issue saying, that fs.existsSync might also return false if you don't have permissions to read that folder: nodejs/node#17921. I can't think of any reason why that would be the case, but you could try to check the folder permissions or run npm in an elevated shell.

@btsimonh
Copy link
Contributor

I've had a number of issues recently with windows & folder permissions. Seems almost like npm/node-gyp manage to half delete a folder, and leave it with admin only access. Twice today I've had to go in and kill folders manually with admin. I have had this before in windows 10 using node-gyp based projects. A reboot & manual cleanup sometimes sorts it.

@justadudewhohacks
Copy link
Owner

Closing for now, because of inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants