Ask Your Question

katharine_fcy's profile - activity

2016-12-09 01:12:24 -0500 commented answer Linking error: libzlib

This works for me. but I don't know why it works...

2016-05-18 03:12:38 -0500 received badge  Scholar (source)
2016-05-18 03:11:13 -0500 asked a question building error: opencv3.1 with VS2015, 64-bit, CMake 3.5.2

when I am building opencv 3.1 with VS2015, in my own build directory, I double click OpenCV.sln, and then build the INSTALL project. but I got many errors.

Severity    Code    Description Project File    Line    Suppression State
Error   MSB6006 "cmd.exe" exited with code 1.   opencv_core C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets  171 
Error   MSB6006 "cmd.exe" exited with code 1.   opencv_cudaarithm   C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets  171 
Error   MSB6006 "cmd.exe" exited with code 1.   opencv_cudawarping  C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets  171 
Error   MSB6006 "cmd.exe" exited with code 1.   opencv_cudafilters  C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets  171 
Error   MSB6006 "cmd.exe" exited with code 1.   opencv_cudabgsegm   C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets  171 
Error   MSB6006 "cmd.exe" exited with code 1.   opencv_cudaimgproc  C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets  171 
Error   MSB6006 "cmd.exe" exited with code 1.   opencv_cudacodec    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets  171 
Error   MSB6006 "cmd.exe" exited with code 1.   opencv_photo    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets  171 
Error   MSB6006 "cmd.exe" exited with code 1.   opencv_cudafeatures2d   C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets  171 
Error   MSB6006 "cmd.exe" exited with code 1.   opencv_cudalegacy   C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets  171 
Error   MSB6006 "cmd.exe" exited with code 1.   opencv_cudastereo   C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets  171 
Error   MSB6006 "cmd.exe" exited with code 1.   opencv_cudaoptflow  C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets  171 
Error   MSB6006 "cmd.exe" exited with code 1.   opencv_cudaobjdetect    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets  171 
Error   MSB6006 "cmd.exe" exited with code 1.   opencv_stitching    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets  171 
Error   MSB6006 "cmd.exe" exited with code 1.   opencv_superres C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets  171 
Error   MSB6006 "cmd.exe" exited with code 1.   opencv_test_cudev   C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets  171 
Error   MSB6006 "cmd.exe" exited with code 1.   opencv_videostab    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets  171 
Error   LNK1104 cannot open file '..\..\lib\Debug\opencv_core310d.lib'  opencv_ml   C:\Users\b55880\Desktop\khronos\opencv\build_on\modules\ml\LINK 1   
Error   LNK1104 cannot open file '..\..\lib\Debug\opencv_core310d.lib'  opencv_imgproc  C:\Users\b55880\Desktop\khronos\opencv\build_on\modules\imgproc\LINK    1   
Error   LNK1104 cannot open file '..\..\lib\Debug\opencv_imgproc310d.lib'   opencv_video    C:\Users\b55880\Desktop\khronos\opencv\build_on\modules\video\LINK  1   
Error   LNK1104 cannot open file '..\..\lib\Debug\opencv_imgproc310d ...
(more)
2015-11-04 04:48:54 -0500 received badge  Supporter (source)
2015-09-24 05:40:11 -0500 received badge  Self-Learner (source)
2015-09-24 04:49:04 -0500 commented question can't get the trained parameter alpha and rho by any function

yes, I have moved to 3.0 and magically I got my problem solved. I have also looked into the source code of 2.4.9, and I found that in the construction function CvSVM::CvSVM(), there is a clear() function that release the decision_func, I am wondering why...

2015-09-24 00:45:12 -0500 received badge  Editor (source)
2015-09-24 00:39:41 -0500 asked a question can't get the trained parameter alpha and rho by any function

I have checked that the CvSVM member desicion_func is protected but I want to get the alpha and rho. But I cannot find any function which allows me to do that. I can save the svm parameters to an xml file. and I have tried to create a new class which derive the CvSVM to get the desicion_func but it still didn't work. so the only way is to read the xml file ?

I am using opencv2.4.9 + VS2013