我正在尝试将当前正在运行的项目移植到另一台计算机上,两者都使用最新的Visual Studio版本,并且该项目使用opencv库。
我有两个项目:
目标平台是x64,配置管理器设置是:
当我尝试建立安装项目时,出现错误:
ERROR: File 'Apptest.exe' of project output 'Primary Output from Apptest(Active)' targeting 'AMD64' is not compatible with the project's target platform 'x86'
如果我的项目明确设置为以64位为目标,那么任何人都知道或有任何线索为什么我会收到此错误?
谢谢。