“No source file named” error debugging Eclipse CDT

后端 未结 7 1657
醉梦人生
醉梦人生 2020-12-31 03:25

I\'ve got a project with a shared library (loaded dynamically), and I\'m attempting to debug it. I get the following error message:

No source file named /ho         


        
7条回答
  •  醉梦人生
    2020-12-31 03:50

    I had the same problem but my solution was different. Open up the project "debug/src" + "release/src" directories and ensure that there are no [filename].d files that contain the name of any source files that may have changed their names or that no longer exist. I had one, deleted it, and since no more errors.

    I would therefore presume, at least in my case, that the errors are created by objects that have fallen out of scope.

提交回复
热议问题