Ask Your Question

bccopencv's profile - activity

2019-08-08 16:10:02 -0500 received badge  Famous Question (source)
2016-05-18 08:43:59 -0500 received badge  Notable Question (source)
2016-01-28 05:39:05 -0500 received badge  Student (source)
2015-06-04 00:54:02 -0500 received badge  Popular Question (source)
2014-11-17 11:00:16 -0500 asked a question OpenCL examples crash at clFlush in openCLExecuteKernel

OpenCL example example_ocl_tvl1_optical_flow crashes on my Mac system which has the following config: OSX 10.9.5 Graphics card: ATI Radeon HD 5750 with 1024MB CPU: 2.93 GHz Intel Core i7

I built OpenCV from source and tried running the example_ocl_tvl1_optical_flow example. It crashes either in the first loop or after it does a couple of loops but every time in the same place. Here is the crash log: example_ocl_tvl1_optical_flow crash log.png

Even the example example_ocl_pyrlk_optical_flow crashes in the same place. Is this a known issue? Is there something that needs to change with my configuration or setup?

Please let me know if you want me to provide more information.


2013-08-14 15:53:56 -0500 asked a question opencv_core246.lib(gl_core_3_1.obj) : error LNK2001: unresolved external symbol __imp_wglGetProcAddress

I built OpenCV 2.4.6 from source and that built fine. Next I try to incorporate it in my application and upon doing so I get the link error:

opencv_core246.lib(gl_core_3_1.obj) : error LNK2001: unresolved external symbol __imp_wglGetProcAddress

Has anyone seen this and have an idea on how to fix it?

Thanks in advance!

2013-07-17 12:36:51 -0500 asked a question OpenCV with GPU in application -user system installation question

I had built OpenCV with GPU support using CMAKE. My Windows system has CUDA toolkit 5.0 installed and has an NVIDIA GeForce Graphics card. I am using the BroxOpticalFlow algorithm in OpenCV inside my application successfully (Using Visual Studio 2008).

What I want to do now is to have my application (with OpenCV) run on any user system. Inside my application I do check whether an NVIDIA card is there on the system or not and if not, then it has a fallback software implementation for the optical flow algorithm. But what I am confused about is

  1. Whether the user system will still need to have NVIDIA toolkit installed on their system for my application to even load properly?

Currently, I am adding cudart64_50_35.dll, npp64_50_35.dll and cufft64_50_35.dll in the application executable folder. The other questions are -

  1. Should these dlls go into a program files folder as a part of my application, Or would it be better to install them into the system32 folder and if so, then how do i reference them into my application?
  2. Are there any other CUDA dependencies that i need to worry about for a user system that does not have an NVIDIA card for my application to load and be able to run the software fallback?
2013-04-05 13:40:23 -0500 commented answer OpenCV Error: No OpenGL support

Thanks for the answer! I built the OpenCV from sources and that built fine. I built it with gpu and OpenGL support

Now, when I try to run the brox_optical_flow.cpp from the samples by creating a project for it, MS Visual Studio throws an error stating -

"Unable to start application 'c:..\opencv.2.exe' This application has failed to start because the application configuration is incorrect. Review the manifest files for possible errors. Reinstalling the application may fix this problem...."

Are you aware of such an issue? Or would this perhaps be a Visual Studio / VC++ related error?

2013-04-03 15:25:38 -0500 received badge  Supporter (source)
2013-04-02 14:23:42 -0500 asked a question OpenCV Error: No OpenGL support

I installed OpenCV using the OpenCV_2_4_4.exe and the OpenCV-2.4.4-CUDA-vc10 and then placed these extracted files under C:\opencv. I also have CUDA4.2 installed on my system.

I then tried running the sample program under C:\opencv\samples\alpha_comp.cpp and it crashes at line 19 -namedWindow("Result", WINDOW_OPENGL); giving the following error-

OpenCV Error: No OpenGL support (Library was built without OpenGL support)

Since I did not build OpenCV and was using the pre-built libraries I am not sure how to handle this error. I tried defining HAVE_OPENGL in the alpha_comp.cpp file but that did not help.

Thanks for any help in advance.