0
votes

I am getting strange error. I configured my eclipse for c/c++. when I build my c/c++ project they are getting build successfully. When I run my c binary it shows nothing to build and then actually runs the program and shows the output.

Now, the fun part is when I execute c++ binary it also shows nothing to build and shows nothing.

1
Are you running your binary from within eclipse? I.e. CTRL+F11 or clicking the green "run" button? "Nothing to build" is probably a message from eclipse that no source files have changed so it won't rebuild your executable before running it. Try executing from the command line. What do you see? - Dave Rager
Try compiling your program with make so write your Makefile - Basile Starynkevitch

1 Answers

0
votes

Ok had the same problem. Try

  • to see in the console if any other previous processes are still running, If they do the red square (for stopping it forced) is there at least
  • to clean your project (right click project then clean), if that doesn't do the deal
  • use right click project, then compil. Then again right click the project, then use run as, and select the option that apears there.

Hope it helps, good luck