Home>

Please write your question in detail here.

If i try to run and debug with Eclipse from a directory with multiple c ++ files and header files, it will not work.
I also want to debug, but I can't debug well.
The environment is win10 visual studio 2019 c ++.
I don't know the Eclipse settings well, so I'd be happy if you could tell me how to set them up.
The project is created in this way.

The execution configuration is set in this way.

The debug configuration is set in this way.

If i try to debug, you will get this message.
I'm using a header, but I get an error.
Why can't I run and debug?
Nice to meet you.

Applicable source code
c ++

Please describe what you tried for the problem here.

Supplemental information (FW/tool version etc.)

Please provide more detailed information here.

  • Answer # 1

    The error is "No such file or directory"
    1) File doesn't exist anywhere
    2) The file exists somewhere, but it is in a directory that is not in the include path (the list of directories to search for files to include) Either.

    First, confirm the location of the file with the file name in question.
    Next, let's check the settings for where to find the file, such as include path.

    I think the problem is usually solved by moving the file to the correct location or setting the include path etc. correctly.