opencv test.cpp program not enough parameters on vs2010
Hi, I am new to opencv and I've followed http://docs.opencv.org/doc/tutorials/introduction/windows_install/windows_install.html#windows-installation and http://docs.opencv.org/doc/tutorials/introduction/windows_visual_studio_Opencv/windows_visual_studio_Opencv.html#windows-visual-studio-how-to
the problem is that whenever i build the test program it's says in the console not enough parameters have I done something wrong or did I miss important details I don't know which is which and I am using version 2.4.6 and don't know due to the fact I am still a beginner in opencv
you probably should call it like:
my.exe d:\video\file1.avi d:\video\file2.avi 60 600 // no idea if 60 is a good psr threshold
you mean by renaming the executable file??
whaa, no.
(sorry my error, 'call' might have been misleading.)
let's try it the other way round: how are you running it ?
oh,,, i am running it by pressing ctrl+f5 i am in debug mode and using 32bit vs2010... will it help?
in the property sheet, there's a debugging section, you can set the cmdline args there.(d:\video\file1.avi d:\video\file2.avi 60 600)
or open a cmd window, cd to where your exe is and type
name_of_my_program d:\video\file1.avi d:\video\file2.avi 60 600
I do as you told in opening a cmd window but it is saying that
no suitable location found for browsing database and intellisense files
Visual C++ did not find a suitable location to store its browsing database and IntelliSense files for the solution "E:\C++ programs\test\test.sln."
Visual C++ examined the folder "E:\C++ programs\test." This folder is not suitable because of the following: The browsing database in this directory is open by another instance of Visual Studio and cannot be reopened. User Gary on GARY2-PC has it open.
Because a 'Fallback Location' was not specified in the C++ Advanced Options, Visual C++ is attempting to use your temporary directory.
Visual C++ examined the folder "C:\Users\Gary\AppData\Local\Temp\VC++\test-cde080b2." This folder is not suitable becaus
e of the following: The browsing database in this directory is open by another instance of Visual Studio and cannot be reopened. User Gary on GARY2-PC has it open.
The 'Fallback Location' is configurable under C++ Advanced Options.
Press OK to continue without C++ browsing information and IntelliSense.
and what you mean by debugging section in the property sheet you mean by the linker part?
hey, no idea why you run into such trouble running a simple console prog
// sorry, 2008 here
I don't even know myself why I am having these kinds of error or what is going, I am at a loss... and thanks for helping me berak and I appreciate your help even though I am really a beginner, I will continue it tomorrow or later on as I have to go to school I will comment later what would be the outcome.