justadudewhohacks / justadudewhohacks/opencv4nodejs

Error installing opencv on windows

Open
#515 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
5.1k
Forks
826
PR merge metrics
No merged PRs in 30d

Description

Hello,

I have been trying to download opencv4nodejs for the past 2 days and everytime I've been running into some issue. My main one is shown below:

Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
Build started 3/3/2019 5:04:45 PM.
Project "C:\Users\Owner\Desktop\events\node_modules\opencv-build\opencv\build\O
penCV.sln" on node 1 (default targets).
C:\Users\Owner\Desktop\events\node_modules\opencv-build\opencv\build\OpenCV.sln
.metaproj : error MSB4126: The specified solution configuration "Release|x86" i
s invalid. Please specify a valid solution configuration using the Configuratio
n and Platform properties (e.g. MSBuild.exe Solution.sln /p:Configuration=Debug
/p:Platform="Any CPU") or leave those properties blank to use the default solu
tion configuration. [C:\Users\Owner\Desktop\events\node_modules\opencv-build\op
encv\build\OpenCV.sln]
Done Building Project "C:\Users\Owner\Desktop\events\node_modules\opencv-build\
opencv\build\OpenCV.sln" (default targets) -- FAILED.

Build FAILED.

"C:\Users\Owner\Desktop\events\node_modules\opencv-build\opencv\build\OpenCV.sl
n" (default target) (1) ->
(ValidateSolutionConfiguration target) ->
C:\Users\Owner\Desktop\events\node_modules\opencv-build\opencv\build\OpenCV.s
ln.metaproj : error MSB4126: The specified solution configuration "Release|x86"
is invalid. Please specify a valid solution configuration using the Configurat
ion and Platform properties (e.g. MSBuild.exe Solution.sln /p:Configuration=Deb
ug /p:Platform="Any CPU") or leave those properties blank to use the default so
lution configuration. [C:\Users\Owner\Desktop\events\node_modules\opencv-build\
opencv\build\OpenCV.sln]

0 Warning(s)
1 Error(s)

Time Elapsed 00:00:00.22
ERR! child process exited with code 1 (for more info, set '--loglevel silly')
npm WARN events_apis@1.0.0 No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! opencv-build@0.0.17 install: `node ./install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the opencv-build@0.0.17 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\Owner\AppData\Roaming\npm-cache\_logs\2019-03-03T15_04_54_130Z-debug.log

Do you have any idea how to fix this? I really need it for a project.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.