I have a strange problem. When building my own application in debug mode, everything works fine. But, when switching to release mode, I find one error:
Code: Select all
tracking.obj : error LNK2001: unresolved external symbol _ar2Tracking
I have checked that if I change AR2.lib to AR2d.lib, it works in release mode, but the logic says that I should use AR2.lib in release mode and use AR2d.lib only in debug mode.
Any ideas about how to solve the problem?