Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

visual studio issue #1

Open
forestguan opened this issue May 18, 2016 · 11 comments
Open

visual studio issue #1

forestguan opened this issue May 18, 2016 · 11 comments

Comments

@forestguan
Copy link

I want to run the code in the Visual studo 2013. what should I do ? How to chang the code?
Sincerely.

@asolis
Copy link
Owner

asolis commented May 18, 2016

You could check the wiki's page for more details. Also this other projects' wiki can show you a similar set of steps to run it in Visual Studio

@forestguan
Copy link
Author

Dr.Montero, thank you for the reply. I am studying for master's degree in Beijing jiaotong university.
I am learing your sKCF method recently. I complie this project successfully.
And I edit the code like this:

`int main(int argc, const char * argv[])
{
const String keys =
"{h help |h | print this message}"
"{@sequence |vot2015/CarScale/ | url, file, folder, vot_sequence, sequence, or cameraID}"
"{m method |skcf | tracking method: kcf, kcf2, skcf, ncc, opentld, struck, ...}"
"{p pause |p | start sequence paused}"
"{n no | | not display gui window}"
"{g groundtruth |vot2015/CarScale/groundtruth_rect.txt | specify groundtruth file}"
"{o output | | filename for tracking results}"
"{v video |outpuvideo | output video filename / folder for images output}"
;

CommandLineParser parser(argc, argv, keys);

if (parser.has("h"))
        parser.printMessage();`

The value of' parser.has("h") ' is always false. I do not know why.
Could you give me some advice? Sincerely.

@forestguan
Copy link
Author

I read the wiki's parper again and find more details. I have to run the vivaTracker.exe in windows CMD. I will have a try again. :-)

@bianliangpai
Copy link

I followed the 'quick start' page and got error LNK1104: cannot open file 'trackers\skcf\Debug\skcf.lib' when I tried to build the solution.
What should I do to fix it? Thanks a lot.

@forestguan
Copy link
Author

Do we need the skcf.lib? Maybe your run mode is wrong .

@bianliangpai
Copy link

Thanks for your reply.
But I don't understand what the words, "run mode", means.

@forestguan
Copy link
Author

My english is poor. You can send your project to me. My e-mail is [email protected]

@bianliangpai
Copy link

Thanks.

@bianliangpai
Copy link

To be honest, I don't want to use English, too.
But it seems that everybody on the github does so.
We have no choice.

@addvaluejack
Copy link
Contributor

@bianliangpai Did you forget to select "WITH_SKCF" when you were generating this project's Visual Studio solution with CMake?

@bianliangpai
Copy link

@addvaluejack Thanks for your reply. I have solved this problem. The reason lied in this page http://stackoverflow.com/questions/5004858/stdmin-gives-error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants