This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Problem with debugging a code.

Hi,

I'm trying to debug and run the blinking LED code but I got the error massege below:

console

MSP430: GEL: Encountered a problem loading file: C:\Users\Alon\LaunchPad_Projects\alon11\Debug\alon11.out Could not open file

problems:

1. #10010 errors encountered during linking; "alon11.out" not built

2. #10056 symbol "main" redefined: first defined in "./main.obj"; redefined in "./blink_alon.obj"

  • The debugger is reporting an error because it can't find the executable alon11.out. This is because the linker reported that it failed to create the alon11.out executable due to the following error:

    #10056 symbol "main" redefined: first defined in "./main.obj"; redefined in "./blink_alon.obj"
    The cause of the linker error is that the project links object files, main.obj and blink_alon.obj, which define the system main.

    The project needs to be corrected so that it only contains one main.