Click here to Skip to main content
15,508,200 members
Home / Discussions / Artificial Intelligence
   

Artificial Intelligence

 
QuestionA problem with the copied code resulted in me being banned from the AppStore Pin
Daniel8908918-Nov-22 1:42
Daniel8908918-Nov-22 1:42 
Questionbot account Pin
HonestNS17-Nov-22 7:08
HonestNS17-Nov-22 7:08 
QuestionElliptic Circle Avarage Speed Pin
Alienaimatrix Null31-Oct-22 10:33
Alienaimatrix Null31-Oct-22 10:33 
QuestionBlueIris Ai Timeout Pin
Member 1580485720-Oct-22 16:48
Member 1580485720-Oct-22 16:48 
GeneralBuild OpenCV Library on Vitis HLS 2022.1 on Windows OS Pin
Nikhil B 202230-Sep-22 7:02
Nikhil B 202230-Sep-22 7:02 
Hello,

I've tried to build OpenCV libraries on Vitis HLS 2022.1 using MinGW and CMake, here are the steps I followed:

1) After installation on MinGW and added the bin path directory to the environment variables.

2) Installation of OpenCV 4.6.0

3) Installation of CMake

4) OpenCV Source Code Build using CMake, Added the Extracted OpenCV Source directory path on CMake (to Where is the source code) and the Build directory path on Cmake (under Where to build the binaries). Carried out configuration and generation.

5) Finally, Tried to build and install the OpenCV Libraries using the Command prompt with the command mingw32-make install from the Build directory path.

This resulted in the 2 errors below:

In file included from C:\Users\Nikhil\Downloads\opencv\sources\modules\core\src\precomp.hpp:53Blush | :O ,
from C:\Users\Nikhil\Downloads\opencv\sources\modules\core\src\algorithm.cpp:43:
C:/Users/Nikhil/Downloads/opencv/sources/modules/core/include/opencv2/core/utility.hpp:718:14: error: 'recursive_mutex' in namespace 'std' does not name a type
typedef std::recursive_mutex Mutex;
^~~~~~~~~~~~~~~
C:/Users/Nikhil/Downloads/opencv/sources/modules/core/include/opencv2/core/utility.hpp:719:25: error: 'Mutex' is not a member of 'cv'
typedef std::lock_guard<cv::mutex> AutoLock;
^~
C:/Users/Nikhil/Downloads/opencv/sources/modules/core/include/opencv2/core/utility.hpp:719:25: error: 'Mutex' is not a member of 'cv'
C:/Users/Nikhil/Downloads/opencv/sources/modules/core/include/opencv2/core/utility.hpp:719:34: error: template argument 1 is invalid
typedef std::lock_guard<cv::mutex> AutoLock;
^
In file included from C:\Users\Nikhil\Downloads\opencv\sources\modules\core\src\algorithm.cpp:43Blush | :O :
C:\Users\Nikhil\Downloads\opencv\sources\modules\core\src\precomp.hpp:368:5: error: 'Mutex' in namespace 'cv' does not name a type
cv::Mutex& getInitializationMutex();
^~~~~
modules\core\CMakeFiles\opencv_core.dir\build.make:102: recipe for target 'modules/core/CMakeFiles/opencv_core.dir/src/algorithm.cpp.obj' failed
mingw32-make[2]: *** [modules/core/CMakeFiles/opencv_core.dir/src/algorithm.cpp.obj] Error 1
CMakeFiles\Makefile2:1805: recipe for target 'modules/core/CMakeFiles/opencv_core.dir/all' failed
mingw32-make[1]: *** [modules/core/CMakeFiles/opencv_core.dir/all] Error 2
Makefile:164: recipe for target 'all' failed
mingw32-make: *** [all] Error 2


What am I doing wrong? What am I missing? How do I resolve the 2 errors?

Kindly pls help.
Regards.

[Moved to the AI forum]

modified 30-Sep-22 12:29pm.

GeneralRe: Build OpenCV Library on Vitis HLS 2022.1 on Windows OS Pin
Greg Utas30-Sep-22 7:08
mveGreg Utas30-Sep-22 7:08 
QuestionBackground Blurring, it works?? Pin
Member 1121011122-Sep-22 20:55
Member 1121011122-Sep-22 20:55 
AnswerRe: Background Blurring, it works?? Pin
Richard Deeming22-Sep-22 22:24
mveRichard Deeming22-Sep-22 22:24 
GeneralRe: Background Blurring, it works?? Pin
Member 1121011122-Sep-22 23:36
Member 1121011122-Sep-22 23:36 
GeneralRe: Background Blurring, it works?? Pin
Richard Deeming23-Sep-22 0:49
mveRichard Deeming23-Sep-22 0:49 
GeneralRe: Background Blurring, it works?? Pin
Member 1121011123-Sep-22 0:53
Member 1121011123-Sep-22 0:53 
GeneralRe: Background Blurring, it works?? Pin
Richard Deeming23-Sep-22 2:12
mveRichard Deeming23-Sep-22 2:12 
AnswerRe: Background Blurring, it works?? Pin
Gerry Schmitz23-Sep-22 6:32
mveGerry Schmitz23-Sep-22 6:32 
SuggestionUnable to Start CodeProject.AI Server Due To Space in ImagePath Pin
Member 156929794-Jul-22 8:18
Member 156929794-Jul-22 8:18 
GeneralRe: Unable to Start CodeProject.AI Server Due To Space in ImagePath Pin
Chris Maunder4-Jul-22 9:40
cofounderChris Maunder4-Jul-22 9:40 
GeneralRe: Unable to Start CodeProject.AI Server Due To Space in ImagePath Pin
Member 150787168-Aug-22 17:26
Member 150787168-Aug-22 17:26 
GeneralRe: Unable to Start CodeProject.AI Server Due To Space in ImagePath Pin
Member 157016349-Jul-22 3:44
Member 157016349-Jul-22 3:44 
GeneralProblem with input shape of Conv1d in tfagents sequential network Pin
ashish bhong20-Jun-22 0:38
ashish bhong20-Jun-22 0:38 
GeneralRe: Problem with input shape of Conv1d in tfagents sequential network Pin
Member 150787168-Aug-22 17:28
Member 150787168-Aug-22 17:28 
QuestionNeurone artificiale. Pin
Riccardo120011-Dec-21 4:46
Riccardo120011-Dec-21 4:46 
QuestionA* vs Dijkstra Pin
Calin Negru6-Nov-21 9:02
Calin Negru6-Nov-21 9:02 
JokeRe: A* vs Dijkstra Pin
Richard Andrew x646-Nov-21 11:16
professionalRichard Andrew x646-Nov-21 11:16 
GeneralRe: A* vs Dijkstra Pin
Calin Negru6-Nov-21 20:18
Calin Negru6-Nov-21 20:18 
AnswerRe: A* vs Dijkstra Pin
harold aptroot6-Nov-21 16:12
harold aptroot6-Nov-21 16:12 
GeneralRe: A* vs Dijkstra Pin
Calin Negru6-Nov-21 20:38
Calin Negru6-Nov-21 20:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.