Answers to: changing color of pupil cross in quicklinkhttp://answers.eyetechds.com/questions/450/changing-color-of-pupil-cross-in-quicklink<p>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.</p>enMon, 06 Feb 2017 10:51:47 -0500Answer by chintonhttp://answers.eyetechds.com/questions/450/changing-color-of-pupil-cross-in-quicklink/452<p>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.</p>
<p>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.</p>
<p>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.</p>
<p>While in the Debug configuration change </p>
<pre><code>Project Properties-&gt;Configuration Properties-&gt;Linker-&gt;General-&gt;Output File
</code></pre>
<p>to be </p>
<pre><code>$(OutDir)$(ProjectName).exe
</code></pre>
<p>and change </p>
<pre><code>Project Properties-&gt;Configuration Properties-&gt;General-&gt;Target Name
</code></pre>
<p>to be</p>
<pre><code>$(ProjectName)D
</code></pre>
<p>This will make it so that running the debugger in Visual Studio while in the Debug configuration will actually run the debug binary.</p>chintonMon, 06 Feb 2017 10:51:47 -0500http://answers.eyetechds.com/questions/450/changing-color-of-pupil-cross-in-quicklink/452