error LNK1112: The module computer type "x64" conflicts with the target computer type "X86"
After modifying the target computer type to "X64", an error still occurs:
The modification method is shown in the figure:
error LNK1112: The module computer type "x86" conflicts with the target computer type "X64"
Then, after modifying the target computer type to "X64", an error still occurs: the
modification method is the same as the above.
error LNK1112: The module computer type "x64" conflicts with the target computer type "X86"
(This is exactly the same as the problem in the first step, which is strange)
1. I just changed the infinite loop. I thought that there might be an environment variable configuration error, but other programs are fine, but the HoughCircles program that detects circles is the only one that has a problem. So I checked the environment variables in detail and found no errors.
2. Check and find:
Edit the library directory and adjust the x64 position to the second position, and adjust the x86 position to the first position:
As shown in the figure before adjustment:
To sum up: I did not find the answer to this question on the Internet, and then I thought about it for a long time. A solution to this problem.