how to run opencv program based on opencv source
In order to see some code in opencv,I used cmake tool to make a solution based on VS2015.(My computer system is win7 X64).Finally I got a solution shown below.Now I can see the code using Ctrl+F and goto definition of some functions.How can I write some code using opencv source code so that I can debug opencv source code to see how some variables change?I cant figure it out base on this project cmake produce.Or is there some similar project I can download to get my purpose?
By the way,I just press run butten in vs2015 and it shows "fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'".How can I fix it?
Thans a lot!
you're trying to build a 32bit project, and the opencv libs are x64
toggle the (red marked) box at the top, where it says "Win32". there should be a "Win64" option (or similar), choose that instead.
again: x86 == Win32, x64 == Win64