2019-11-13 17:10:25 -0600
| received badge | ● Popular Question
(source)
|
2017-03-31 13:42:30 -0600
| commented question | opencv_highgui320: Qt5 .dlls required and 0xc000a200 error Laurent - QT5 is required for highgui. How do you use opencv3 without it? Even when I compiled cmake with_Qt:OFF it still required it. i am in debug for Qt, opencv, and my application |
2017-03-31 10:36:39 -0600
| commented question | opencv_highgui320: Qt5 .dlls required and 0xc000a200 error Any thoughts Laurent? It works every few times I build but usually sends out that same 0xc000a200 error I cannot figure out why. |
2017-03-30 11:36:20 -0600
| commented question | opencv_highgui320: Qt5 .dlls required and 0xc000a200 error No - Qt5.8 does not seem to include a .dll called Qt5.dll. I do have Qt5Cored.dll, Qt5Networkd.dll, Qt5Guid.dll, Qt5Multimedia.dll, and Qt5Testd.dll,and Qt5Widgetsd.dll.I copied and pasted all the Qt5*.dlls in to test that. It worked briefly but stopped on the next time I built the solution. |
2017-03-29 17:04:14 -0600
| commented question | opencv_highgui320: Qt5 .dlls required and 0xc000a200 error I added my cmake-gui output but it won't let me add all of it |
2017-03-29 16:59:49 -0600
| commented question | opencv_highgui320: Qt5 .dlls required and 0xc000a200 error I am already doing everything in this one. |
2017-03-29 13:09:13 -0600
| asked a question | opencv_highgui320: Qt5 .dlls required and 0xc000a200 error I tried building opencv With_Qt:off and on. Either way including opencv_highgui in my project compiles but won't allow my project .exe to unless (1) it can find the Qt5 .dlls and (2)even then it throws a 0xc000a200 error, which I have found it linked to app container. I have tried building opencv with cmake_exe_linker_flags, cmake_module_linker_flags, and cmake_shared_linker_flags with the /APPCONTAINER:NO flag but this has not solved it. Any other suggestions? I am building opencv3.2.0 in windows 10, VS2015, and using cmake-gui for x86. Thanks! Could NOT find PythonInterp: Found unsuitable version "2.7.5", but required is at least "3.4" (found C:/Python27/python.exe)
Could NOT find PythonInterp: Found unsuitable version "2.7.5", but required is at least "3.2" (found C:/Python27/python.exe)
POPCNT is not supported by C++ compiler
SSE4_2 is not supported by C++ compiler
FP16: Compiler support is available
found IPP (ICV version): 9.0.1 [9.0.1]
at: C:/Users/yrazin3/Desktop/OpenCV6/build7/3rdparty/ippicv/ippicv_win
Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)
Found VTK ver. 7.1.0 (usefile: C:/Users/yrazin3/Downloads/VTK-7.1.0/VTK-7.1.0/CMake/UseVTK.cmake)
Caffe: NO
Protobuf: NO
Glog: NO
Looking for tiny_dnn.h
Looking for tiny_dnn.h - not found
Module opencv_dnn_modern disabled because tiny-dnn was not found
freetype2: NO
harfbuzz: NO
No preference for use of exported gflags CMake configuration set, and no hints for include/library directories provided. Defaulting to preferring an installed/exported gflags CMake configuration if available.
Failed to find installed gflags CMake configuration, searching for gflags build directories exported with CMake.
Failed to find an installed/exported CMake configuration for gflags, will perform search for installed gflags components.
Failed to find gflags - Could not find gflags include directory, set GFLAGS_INCLUDE_DIR to directory containing gflags/gflags.h
Failed to find glog - Could not find glog include directory, set GLOG_INCLUDE_DIR to directory containing glog/logging.h
Module opencv_sfm disabled because the following dependencies are not found: Glog/Gflags
Tesseract: NO
General configuration for OpenCV 3.2.0-dev =====================================
Version control: 3.2.0-360-gf70cc29-dirty
Extra modules:
Location (extra): C:/Users/yrazin3/Desktop/OpenCV6/opencv_contrib/modules
Version control (extra): 3.2.0-162-g3875806
Platform:
Timestamp: 2017-03-29T17:37:02Z
Host: Windows 10.0.14393 AMD64
CMake: 3.5.2
CMake generator: Visual Studio 14 2015
CMake build tool: C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe
MSVC: 1900
CPU/HW features:
Baseline: SSE SSE2
requested: SSE2
Dispatched code generation: SSE4_1 FP16 AVX AVX2
requested: SSE4_1 AVX FP16 AVX2
SSE4_1 (0 files): + SSE3 SSSE3 SSE4_1
FP16 (0 files): + SSE3 SSSE3 SSE4_1 FP16 AVX
AVX (0 files): + SSE3 SSSE3 SSE4_1 AVX
AVX2 (0 files): + SSE3 SSSE3 SSE4_1 FP16 FMA3 AVX AVX2
C/C++:
Built as dynamic libs?: NO
C++ Compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe (ver 19.0.23918.0)
C++ flags (Release): /DWIN32 /D_WINDOWS /W4 /GR /EHa /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy ... (more) |
2017-03-28 09:01:36 -0600
| received badge | ● Enthusiast
|
2017-03-27 14:36:26 -0600
| commented question | Cannot build opencv_core320d.lib in VS2008 tried this - didn't help. same error.. Some of the .cl files are fine btw. compiling...
7>ImfMatrixAttribute.cpp
6>version_string.inc
6>opencl_kernels_core.cpp
6>transpose.cl
6>split_merge.cl
6>set_identity.cl
6>repeat.cl
6>reduce2.cl
6>reduce.cl
6>.\version_string.inc(1) : error C2059: syntax error : 'string'
6>......\opencv\modules\core\src\opencl\set_identity.cl(56) : error C2144: syntax error : 'void' should be preceded by ';' |
2017-03-27 10:20:12 -0600
| asked a question | Cannot build opencv_core320d.lib in VS2008 I'm trying to build OpenCV3 using CMake-GUI, Visual Studio 2008 (x86), and Windows 10. After configuring and generating, I try to build in Visual Studio. Some of the libs build but most don't. This includes core. These are just the core errors: 3>------ Build started: Project: opencv_core, Configuration: Debug Win32 ------
3>Compiling...
3>opencv_core_pch.cpp
3>Compiling...
3>opencl_kernels_core.cpp
3>transpose.cl
3>split_merge.cl
3>set_identity.cl
3>repeat.cl
3>reduce2.cl
3>reduce.cl
3>normalize.cl
3>..\..\..\opencv\modules\core\src\opencl\split_merge.cl(103) : fatal error C1189: #error : "No operation"
3>..\..\..\opencv\modules\core\src\opencl\repeat.cl(18) : error C2144: syntax error : 'void' should be preceded by ';'
3>..\..\..\opencv\modules\core\src\opencl\transpose.cl(60) : error C2144: syntax error : 'void' should be preceded by ';'
3>..\..\..\opencv\modules\core\src\opencl\set_identity.cl(56) : error C2144: syntax error : 'void' should be preceded by ';'
3>..\..\..\opencv\modules\core\src\opencl\normalize.cl(30) : error C2144: syntax error : 'void' should be preceded by ';'
3>..\..\..\opencv\modules\core\src\opencl\reduce2.cl(89) : fatal error C1189: #error : "No operation is specified"
3>..\..\..\opencv\modules\core\src\opencl\repeat.cl(18) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
3>..\..\..\opencv\modules\core\src\opencl\transpose.cl(60) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
3>..\..\..\opencv\modules\core\src\opencl\reduce.cl(555) : fatal error C1189: #error : "No operation"
3>..\..\..\opencv\modules\core\src\opencl\set_identity.cl(56) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
3>..\..\..\opencv\modules\core\src\opencl\normalize.cl(30) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
3>..\..\..\opencv\modules\core\src\opencl\repeat.cl(18) : error C2065: '__global' : undeclared identifier
3>..\..\..\opencv\modules\core\src\opencl\transpose.cl(60) : error C2065: '__global' : undeclared identifier
3>..\..\..\opencv\modules\core\src\opencl\set_identity.cl(56) : error C2065: '__global' : undeclared identifier
3>..\..\..\opencv\modules\core\src\opencl\normalize.cl(30) : error C2065: '__global' : undeclared identifier
3>..\..\..\opencv\modules\core\src\opencl\repeat.cl(18) : error C2143: syntax error : missing ')' before 'const'
3>..\..\..\opencv\modules\core\src\opencl\repeat.cl(18) : error C2182: 'repeat' : illegal use of type 'void'
3>..\..\..\opencv\modules\core\src\opencl\transpose.cl(60) : error C2143: syntax error : missing ')' before 'const'
3>..\..\..\opencv\modules\core\src\opencl\set_identity.cl(56) : error C2146: syntax error : missing ')' before identifier 'uchar'
3>..\..\..\opencv\modules\core\src\opencl\normalize.cl(30) : error C2143: syntax error : missing ')' before 'const'
3>..\..\..\opencv\modules\core\src\opencl\repeat.cl(19) : error C2059: syntax error : ')'
3>mulspectrums.cl
3>mixchannels.cl
3>minmaxloc.cl
3>..\..\..\opencv\modules\core\src\opencl\transpose.cl(60) : error C2182: 'transpose' : illegal use of type 'void'
3>..\..\..\opencv\modules\core\src\opencl\set_identity.cl(56) : error C2182: 'setIdentity' : illegal use of type 'void'
3>..\..\..\opencv\modules\core\src\opencl\normalize.cl(30) : error C2182: 'normalizek' : illegal use of type ... (more) |
2017-03-16 11:39:25 -0600
| commented answer | cv::flip keeps throwing bad ptr exceptions Perfect that worked- thank you!! |
2017-03-16 10:48:43 -0600
| asked a question | cv::flip keeps throwing bad ptr exceptions No matter which flip code I call with cv::flip, I keep getting bad ptr exceptions. For flipcode <1, it errors out at flipVert (copy.cpp, l.418) on src1. const uchar* src1 is defined at l.405 with a simple equation, not sure why that should be an issue. For flipcode==1, the error is in flipHoriz (copy.cpp, l.395). I am calling cv::flip(imgcv,imgcv2,flipcode) after I convert a QImage into a Mat using: Mat imgcv = QImage2Mat(img);
Mat imgcv2;
cv::flip(imgcv,imgcv2,flipcode);
/*static*/ Mat DisplayVideoQt::QImage2Mat(QImage const& src)
{
QImage temp = src.copy();
Mat res(temp.height(),temp.width(),CV_8UC3,(uchar*)temp.bits(),temp.bytesPerLine());
cvtColor(res,res, CV_BGR2RGB);
return res;
}
|
2017-03-14 19:39:20 -0600
| commented question | image.data won't load Yes - I am using a hardcoded static path as my arg |
2017-03-10 14:17:50 -0600
| commented question | Building OpenCV 3.2.0 with VS2015 as x86 I got it eventually - your code helped once I figured it out. Thanks!! |
2017-03-10 13:56:38 -0600
| commented question | image.data won't load also, how do I get my includes and namespaces into the copy-pasted code box - they get formatted funny? |
2017-03-10 13:55:58 -0600
| asked a question | image.data won't load I'm sure this has been asked before but my basic sample 'load image' code keeps failing. #include "opencv2\core\core.hpp"
#include "opencv2\highgui\highgui.hpp"
#include "iostream"
using namespace cv;
using namespace std;
int main(int argc, char** argv)
{
if( argc != 2)
{
cout <<" Usage: display_image ImageToLoadAndDisplay" << endl;
return -1;
}
Mat image;
image = imread(argv[1],CV_LOAD_IMAGE_COLOR); // Read the file
if(! image.data ) // Check for invalid input
{
cout << "Could not open or find the image" << std::endl ;
cout << image.size();
return -1;
}
namedWindow( "Display window", WINDOW_AUTOSIZE );// Create a window for display.
imshow( "Display window", image ); // Show our image inside it.
waitKey(0); // Wait for a keystroke in the window
return 0;
}
This code always errors at at the second test (! image.data). The image.size() returned is [0x0].
I have tried both .jpg and .bmp images that are definitely in the path (same dir as the .exe) I googled around and cannot find anything. My code compiles fine. I am working in VS2008 (Win32) for various necessary reasons. |
2017-03-07 14:30:02 -0600
| commented question | Building OpenCV 3.2.0 with VS2015 as x86 Your method worked for the test script but not for my actual project - I still get the same error. I'll keep working on it. |
2017-03-07 02:01:05 -0600
| received badge | ● Student
(source)
|
2017-03-06 23:29:03 -0600
| commented question | Building OpenCV 3.2.0 with VS2015 as x86 Not sure I totally understood this - I put it in and then I needed to find a FindOpenCV.cmake and then I had trouble figuring out all the paths like OpenCV_DIR_ROOT and OpenCV_CORE_DIR and OpenCV_HIGHGUI_LIBRARY, etc. Any ideas where these should all point? |
2017-03-03 14:24:06 -0600
| received badge | ● Editor
(source)
|
2017-03-03 14:23:35 -0600
| commented question | Building OpenCV 3.2.0 with VS2015 as x86 You're right - Im building OpenCV 3.2.0 - not 2.4.8 but that just was me being confused - I will revise the question - even the simplest code (below) fails #include <iostream>
#include <opencv2\core\core.hpp>
using namespace cv;
using namespace std;
int main(int argc, char** argv)
{
cv::Mat a;
return 0;
}
|
2017-03-03 14:04:50 -0600
| commented question | Building OpenCV 3.2.0 with VS2015 as x86 The code I was given (displayvideoqt) uses qt but it's not essential for what I want to do with opencv.
I am compiling the code for OpenCV 2.4.8 from the source. As part of this of course I build opencv_core320d.lib which I then put into my property>linker sheet |
2017-03-03 13:55:05 -0600
| asked a question | Building OpenCV 3.2.0 with VS2015 as x86 I have code written many years ago (displayvideoqt) for Win32 that I want to add opencv functions to. I did all the include, linker, and library options in VS2015, compiled from scratch using CMake, etc and no matter what I try to tweak I always get the following error just from trying to use cv::Mat (#include <opencv2\core\core.hpp> displayvideoqt.obj : error LNK2019: unresolved external symbol "int __cdecl cv::_interlockedExchangeAdd(int *,int)" (?_interlockedExchangeAdd@cv@@YAHPAHH@Z) referenced in function "public: void __thiscall cv::Mat::release(void)" (?release@Mat@cv@@QAEXXZ) I have found that in cv::Mat::release() CVX_ADD is defined as this cv::_interlockedExchangeAdd(int *, int) in core/system.hpp. It appears that the function is actually defined in core/operations.hpp but that the definition is not being linked to despite the fact that I have the opencv_core320d.lib in my linker. I am using CMake, VS2015, and on Windows 10. Any help would be much appreciated! |