-
-
Notifications
You must be signed in to change notification settings - Fork 849
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
When I use win_build_opencv.cmd,I encountered some problems #1126
Comments
I also cannot get it installed on Windows 11. It cannot find the header files, even though they are right there?
|
I tried installing it in MSYS2 and got a different error:
|
maybe use "\" instead of "/" |
Building with "-DWITH_OBSENSOR=OFF" as suggested here fixed this issue for me. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When the script "mingw32-make install" "Building CXX object" it showed some trobles
Description
C:\opencv\build>mingw32-make install
[ 0%] Built target opencv_dnn_plugins
[ 0%] Built target opencv_highgui_plugins
[ 0%] Built target gen-pkgconfig
[ 1%] Built target jsimd
[ 2%] Built target libopenjp2
[ 2%] Built target opencv_videoio_plugins
[ 3%] Built target zlib
[ 8%] Built target opencv_core
[ 12%] Built target opencv_imgproc
[ 14%] Built target libjpeg-turbo
[ 16%] Built target libtiff
[ 22%] Built target libwebp
[ 27%] Built target IlmImf
[ 28%] Built target libpng
[ 29%] Built target opencv_imgcodecs
[ 29%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_obsensor/obsensor_uvc_stream_channel.cpp.obj
In file included from C:\opencv\opencv-4.8.1\modules\videoio\src\cap_obsensor\obsensor_stream_channel_msmf.hpp:41,
from C:\opencv\opencv-4.8.1\modules\videoio\src\cap_obsensor\obsensor_uvc_stream_channel.cpp:33:
C:\opencv\opencv-4.8.1\modules\videoio\src\cap_obsensor\obsensor_stream_channel_msmf.hpp: In instantiation of 'class cv::obsensor::ComPtr':
C:\opencv\opencv-4.8.1\modules\videoio\src\cap_obsensor\obsensor_stream_channel_msmf.hpp:145:42: required from here
C:\opencv\opencv-4.8.1\modules\videoio\src\cap_obsensor\obsensor_stream_channel_msmf.hpp:106:27: error: could not convert template argument 'cv::obsensor::ComPtr::__T_IID_getter' from 'const IID& (cv::obsensor::ComPtr::)()' {aka 'const GUID& (cv::obsensor::ComPtr::)()'} to 'const IID& ()()' {aka 'const GUID& ()()'}
106 | _COM_SMARTPTR_TYPEDEF(T, __uuidof(T));
Your Environment
env.sh
orenv.cmd
script before trying togo run
orgo build
? yesThe text was updated successfully, but these errors were encountered: