运行某个Demo时,经过了vc6.0->vs2010版本格式转换。运行时弹出框如下:

Unable to start program "...\Debug\xxx.exe/".系统找不到指定的文件。     

 图1

                                                                                       

 

经查资料为:Link时生成exe文件存放路径跟Debug时调用文件的路径不一样所导致。如下图

Unable to start program "...\Debug\xxx.exe/".系统找不到指定的文件。

图2

 

Unable to start program "...\Debug\xxx.exe/".系统找不到指定的文件。

图3

 

经测试为,统一两个路径。

要么在Output FIle处改为.\Debug\CGSnap.exe

或者在Output directory和Intermediate directory处都改为../bin/

 

-----------------------------------------------------------------------------------

问题来了,在这些文件里面路径的表达方式是怎样的规律?

 

相关文章:

  • 2022-12-23
  • 2022-01-01
  • 2021-05-12
  • 2021-09-06
  • 2021-09-29
  • 2021-10-29
  • 2022-01-22
  • 2021-10-02
猜你喜欢
  • 2021-04-25
  • 2021-08-07
  • 2022-12-23
  • 2021-06-13
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案