All Questions
1,231
questions
0
votes
0
answers
42
views
OpenCV issue with including lib in CMake (Clion)
I have this CMake file in my project:
cmake_minimum_required(VERSION 3.28)
project(AICS)
include_directories(include)
include_directories(src)
set(CMAKE_CXX_STANDARD 17)
set(OpenCV_DIR "C:/...
-1
votes
0
answers
41
views
How can I make OpenCV work normally without needing to run "CMake: Run Without Debugging" in the Command Palette in VS Code?
When I run my C++ script (located at "C:\Users\kobe_\software zone\ObjectDetection\main.cpp") in VS Code, I get this error: "Error exists after running preLaunch Task 'C/C++: g++.exe ...
0
votes
1
answer
55
views
Compiling OpenCV for Android on Windows with CMake - make still tries to link "dll" files
This is how I set up the cmake, in the root of OpenCV 4.9.0. repository:
cmake -DCMAKE_ANDROID_NDK=D:\...\lib\AndroidSDK\ndk\25.1.8937393 \
-DCMAKE_SYSTEM_NAME=Android \
-B..\OpenCV_4.9.0_builds\...
0
votes
0
answers
60
views
OpenCV Include doesnt deliver references to cv Functions (undefined reference)
i just got started with c++ and have been trying to use OpenCV for an GUI.
I installed Cmake, Ninja and OpenCV into my C:/ directory. I now planned to Build the Project but i get an error in the ...
0
votes
2
answers
98
views
building OpenCV with GStreamer on Windows, copy to other computer without install GStreamer on Windows
I want OpenCV-python with GStreamer on Windows.
I once installed GStreamer runtime and GStreamer development, and downloaded the opencv and opencv- contrib sources on a Windows machine.
Using these, I ...
0
votes
1
answer
99
views
How can I use gocv in Go with CUDA support on windows 11?
I want to use gocv in Go with CUDA support on windows 11. But when I run my Program, the task is only using the CPU.
This shows me this command.
nvidia-smi
No processes are found on GPU during ...
0
votes
0
answers
36
views
How to fix opecv building error on windows for gocv
I'm trying to prepare gocv for work with it. I followed their windows tutorial to install and build opencv.
But while running win_build_opencv.cmd building fails on mingw32-make install step with ...
1
vote
0
answers
38
views
opencv/modules/core/include/opencv2/core/private.cuda.hpp:59:12: fatal error: cuda.h: No such file or directory
I want to install OpenCV V4.5.2 from source, so I cloned the repo and the contrib repo from github, checked out to that tag: 4.5.2 and tried to install OpenCV with these flags:
cmake -D ...
0
votes
0
answers
93
views
Required baseline optimization is not supported: VFPV3
I am currently attempting to download OpenCv onto my Raspberry Pi 4b, and I am following this tutorial text and when I attempt to download the last set of packages using Cmake I run into a couple ...
0
votes
0
answers
395
views
undefined reference to `std::condition_variable::wait(std::unique_lock<std::mutex>&)@GLIBCXX_3.4.30'
I'm writing a C++ code using grpc and opencv. I proceeded with the build with cmake and make. I specified the required library and the path of the .so file as well.
$ cmake -DCMAKE_PREFIX_PATH=$...
0
votes
0
answers
54
views
(c++) CMake directory found, no such file or directory when attempting to run
I'm currently trying to setup OpenCV in my c++ project but I cannot get my main.cpp file to recognize the OpenCV directory. This is my file structure:
IllusionEngine/
│
├─ build/
│
├─ src/
│ ├── ...
0
votes
1
answer
121
views
Not able to run anything from OpenCV in C++
I've been using opencv with python for a while now (in a venv) and I have to try opencv in C++ for functionnality. However, I cannot seem to be able to run anything.
What was done
I tried installing ...
0
votes
0
answers
24
views
why openCV is not found by cmake when using vcpkg in manifest mode?
I have this cmake file:
cmake_minimum_required(VERSION 3.24)
File(TO_CMAKE_PATH $ENV{VCPKG_ROOT} VCPKG_ROOT)
message(STATUS ${VCPKG_ROOT})
set(CMAKE_TOOLCHAIN_FILE "${VCPKG_ROOT}/scripts/...
0
votes
1
answer
52
views
Setting property MSVC_RUNTIME_LIBRARY doesn't change the runtime library
I have the exact same problem as stated in this question, but with a different configuration:
I am using OpenCV via VCPKG manifest mode and the cmake is as follows:
cmake_minimum_required(VERSION 3....
0
votes
0
answers
65
views
Linking against (self built) OpenCV+Contribs for Ubuntu 22.04
We have a program that we build for Windows and Ubuntu 20.04 right now. It depends on OpenCV (version 4.2 for Ubuntu 20.04). The program is built via CMake in a automated Gitlab CI/CD with Docker ...