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

I faced configuring incomplete, errors occured #125

Open
linnlinnhtet opened this issue Jan 24, 2024 · 2 comments
Open

I faced configuring incomplete, errors occured #125

linnlinnhtet opened this issue Jan 24, 2024 · 2 comments

Comments

@linnlinnhtet
Copy link

Please help how to run on window 11.
already installed opencv latest version
python 2.7
@u4/opencv4nodejs

and build with "npx build-opencv rebuild"

and I faced this issues please help me

-- Configuring incomplete, errors occurred!
ERR! build Compilation failed, previous calls:
ERR! build rimraf D:\node-test\node_modules@u4\opencv-build\dist\opencv-4.6.0-8b1ea\build D:\node-test\node_modules@u4\opencv-build\dist\opencv-4.6.0-8b1ea\opencv D:\node-test\node_modules@u4\opencv-build\dist\opencv-4.6.0-8b1ea\opencv_contrib
ERR! build mkdir -p D:\node-test\node_modules@u4\opencv-build\dist\opencv-4.6.0-8b1ea\build
ERR! build cd D:\node-test\node_modules@u4\opencv-build\dist\opencv-4.6.0-8b1ea
ERR! build git clone --quiet -b 4.6.0 --single-branch --depth 1 --progress https://github.com/opencv/opencv_contrib.git D:\node-test\node_modules@u4\opencv-build\dist\opencv-4.6.0-8b1ea\opencv_contrib
ERR! build git clone --quiet -b 4.6.0 --single-branch --depth 1 --progress https://github.com/opencv/opencv.git D:\node-test\node_modules@u4\opencv-build\dist\opencv-4.6.0-8b1ea\opencv
ERR! build export OPENCV_BIN_DIR=D:\node-test\node_modules@u4\opencv-build\dist\opencv-4.6.0-8b1ea\build\bin\Release
ERR! build export OPENCV_INCLUDE_DIR=
ERR! build export OPENCV_LIB_DIR=D:\node-test\node_modules@u4\opencv-build\dist\opencv-4.6.0-8b1ea\build\lib\Release
ERR! build cd D:\node-test\node_modules@u4\opencv-build\dist\opencv-4.6.0-8b1ea\build
ERR! build cmake D:\node-test\node_modules@u4\opencv-build\dist\opencv-4.6.0-8b1ea\opencv -G "Visual Studio 17 2022" -DCMAKE_INSTALL_PREFIX=D:\node-test\node_modules@u4\opencv-build\dist\opencv-4.6.0-8b1ea\build -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_TYPES=Release -DBUILD_EXAMPLES=OFF -DBUILD_DOCS=OFF -DBUILD_TESTS=OFF -DBUILD_opencv_dnn=ON -DENABLE_FAST_MATH=ON -DBUILD_PERF_TESTS=OFF -DBUILD_JAVA=OFF -DBUILD_ZLIB=OFF -DCUDA_NVCC_FLAGS=--expt-relaxed-constexpr -DWITH_VTK=OFF -DOPENCV_ENABLE_NONFREE=ON -DOPENCV_EXTRA_MODULES_PATH=D:\node-test\node_modules@u4\opencv-build\dist\opencv-4.6.0-8b1ea\opencv_contrib\modules -DBUILD_opencv_apps=OFF -DBUILD_opencv_aruco=OFF -DBUILD_opencv_bgsegm=OFF -DBUILD_opencv_bindings_generator=OFF -DBUILD_opencv_bioinspired=OFF -DBUILD_opencv_calib3d=ON -DBUILD_opencv_ccalib=OFF -DBUILD_opencv_core=ON -DBUILD_opencv_datasets=OFF -DBUILD_opencv_dnn=ON -DBUILD_opencv_dnn_objdetect=OFF -DBUILD_opencv_dpm=OFF -DBUILD_opencv_face=ON -DBUILD_opencv_features2d=ON -DBUILD_opencv_flann=ON -DBUILD_opencv_fuzzy=OFF -DBUILD_opencv_gapi=ON -DBUILD_opencv_hfs=OFF -DBUILD_opencv_highgui=ON -DBUILD_opencv_img_hash=ON -DBUILD_opencv_imgcodecs=ON -DBUILD_opencv_imgproc=ON -DBUILD_opencv_java_bindings_generator=OFF -DBUILD_opencv_js=OFF -DBUILD_opencv_line_descriptor=OFF -DBUILD_opencv_ml=ON -DBUILD_opencv_objc_bindings_generator=OFF -DBUILD_opencv_objdetect=ON -DBUILD_opencv_optflow=OFF -DBUILD_opencv_phase_unwrapping=OFF -DBUILD_opencv_photo=ON -DBUILD_opencv_python3=OFF -DBUILD_opencv_python_bindings_generator=OFF -DBUILD_opencv_python_tests=ON -DBUILD_opencv_reg=OFF -DBUILD_opencv_rgbd=OFF -DBUILD_opencv_saliency=OFF -DBUILD_opencv_shape=OFF -DBUILD_opencv_stereo=OFF -DBUILD_opencv_stitching=OFF -DBUILD_opencv_structured_light=OFF -DBUILD_opencv_superres=OFF -DBUILD_opencv_surface_matching=OFF -DBUILD_opencv_text=ON -DBUILD_opencv_tracking=ON -DBUILD_opencv_ts=OFF -DBUILD_opencv_video=ON -DBUILD_opencv_videoio=ON -DBUILD_opencv_videostab=ON -DBUILD_opencv_wechat_qrcode=OFF -DBUILD_opencv_world=OFF -DBUILD_opencv_xfeatures2d=ON -DBUILD_opencv_ximgproc=ON -DBUILD_opencv_xobjdetect=OFF -DBUILD_opencv_xphoto=OFF
ERR! install running: cmake D:\node-test\node_modules@u4\opencv-build\dist\opencv-4.6.0-8b1ea\opencv -G "Visual Studio 17 2022" -DCMAKE_INSTALL_PREFIX=D:\node-test\node_modules@u4\opencv-build\dist\opencv-4.6.0-8b1ea\build -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_TYPES=Release -DBUILD_EXAMPLES=OFF -DBUILD_DOCS=OFF -DBUILD_TESTS=OFF -DBUILD_opencv_dnn=ON -DENABLE_FAST_MATH=ON -DBUILD_PERF_TESTS=OFF -DBUILD_JAVA=OFF -DBUILD_ZLIB=OFF -DCUDA_NVCC_FLAGS=--expt-relaxed-constexpr -DWITH_VTK=OFF -DOPENCV_ENABLE_NONFREE=ON -DOPENCV_EXTRA_MODULES_PATH=D:\node-test\node_modules@u4\opencv-build\dist\opencv-4.6.0-8b1ea\opencv_contrib\modules -DBUILD_opencv_apps=OFF -DBUILD_opencv_aruco=OFF -DBUILD_opencv_bgsegm=OFF -DBUILD_opencv_bindings_generator=OFF -DBUILD_opencv_bioinspired=OFF -DBUILD_opencv_calib3d=ON -DBUILD_opencv_ccalib=OFF -DBUILD_opencv_core=ON -DBUILD_opencv_datasets=OFF -DBUILD_opencv_dnn=ON -DBUILD_opencv_dnn_objdetect=OFF -DBUILD_opencv_dpm=OFF -DBUILD_opencv_face=ON -DBUILD_opencv_features2d=ON -DBUILD_opencv_flann=ON -DBUILD_opencv_fuzzy=OFF -DBUILD_opencv_gapi=ON -DBUILD_opencv_hfs=OFF -DBUILD_opencv_highgui=ON -DBUILD_opencv_img_hash=ON -DBUILD_opencv_imgcodecs=ON -DBUILD_opencv_imgproc=ON -DBUILD_opencv_java_bindings_generator=OFF -DBUILD_opencv_js=OFF -DBUILD_opencv_line_descriptor=OFF -DBUILD_opencv_ml=ON -DBUILD_opencv_objc_bindings_generator=OFF -DBUILD_opencv_objdetect=ON -DBUILD_opencv_optflow=OFF -DBUILD_opencv_phase_unwrapping=OFF -DBUILD_opencv_photo=ON -DBUILD_opencv_python3=OFF -DBUILD_opencv_python_bindings_generator=OFF -DBUILD_opencv_python_tests=ON -DBUILD_opencv_reg=OFF -DBUILD_opencv_rgbd=OFF -DBUILD_opencv_saliency=OFF -DBUILD_opencv_shape=OFF -DBUILD_opencv_stereo=OFF -DBUILD_opencv_stitching=OFF -DBUILD_opencv_structured_light=OFF -DBUILD_opencv_superres=OFF -DBUILD_opencv_surface_matching=OFF -DBUILD_opencv_text=ON -DBUILD_opencv_tracking=ON -DBUILD_opencv_ts=OFF -DBUILD_opencv_video=ON -DBUILD_opencv_videoio=ON -DBUILD_opencv_videostab=ON -DBUILD_opencv_wechat_qrcode=OFF -DBUILD_opencv_world=OFF -DBUILD_opencv_xfeatures2d=ON -DBUILD_opencv_ximgproc=ON -DBUILD_opencv_xobjdetect=OFF -DBUILD_opencv_xphoto=OFF
ERR! install in D:\node-test\node_modules@u4\opencv-build\dist\opencv-4.6.0-8b1ea\build exited with code 1 (for more info, set '--loglevel silly')'

@smilingOrange
Copy link

smilingOrange commented Feb 12, 2024

Facing the same issue. Any solution?

Windows 11
Python 3.11

@UrielCh
Copy link
Owner

UrielCh commented Feb 13, 2024

Most of the time, such issues come from your environment variables. Please add the list of your custom OPENCV_* variables.

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