Hi, I would to make different color for pupil cross in quickstart opencv codes. I have changed the colors in displayvideo.cpp, but no thing changed. I would appreciate your assistance.

asked 05 Feb '17, 19:10

Jack's gravatar image

accept rate: 0%

The default project settings were modified so that both the Debug and Release configurations output to the ./bin directory with the Debug binary being post-fixed with the letter 'D'. This works correctly, but the debugging settings for the project were not using the binary with the 'D' post-fix.

So, you were correctly modifying the debug binary, but Visual studio was running the release build when running the debugger. That is why you never saw your changes when running. If you were to build and run the release version then you would see your changes correctly.

To fix the project settings so that it works correctly while in the Debug configuration, you should modify the location where the 'D' post-fix happens.

While in the Debug configuration change

Project Properties->Configuration Properties->Linker->General->Output File

to be


and change

Project Properties->Configuration Properties->General->Target Name

to be


This will make it so that running the debugger in Visual Studio while in the Debug configuration will actually run the debug binary.


answered 06 Feb '17, 10:51

chinton's gravatar image

chinton ♦♦
accept rate: 60%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 05 Feb '17, 19:10

Seen: 2,553 times

Last updated: 08 Mar '17, 03:53

Related questions

Copyright © 2014-2017 EyeTech Digital Systems Inc. All rights reserved. | About | FAQ | Privacy | Support | Contact | Powered by BitNami OSQA