Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse CDT error(Unable to generate binary files)
Eclipse CDT error [message #1438108] Sun, 05 October 2014 14:11 Go to next message
Mona P is currently offline Mona PFriend
Messages: 1
Registered: October 2014
Junior Member
down vote favorite


I recently started using Eclipse CDT for developing C++ applications. I downloaded the Eclpse Kepler CDT bundle, and it opened up properly, but when i created a simple hello world application I was getting an error"Binary Not Found", even after building the project.

Ill show you what my console display

19:54:11 **** Incremental Build of configuration Debug for project HelloWorld **** make all Building file: ../src/HelloWorld.cpp Invoking: GCC C++ Compiler

g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/HelloWorld.d"-MT"src/HelloWorld.d" -o "src/HelloWorld.o" "../src/HelloWorld.cpp"

cc1plus: error: to generate dependencies you must specify either -M or -MM make: *** [src/HelloWorld.o] Error 1

19:54:11 Build Finished (took 106ms)

I tried running the program with 2 toolchains Cross GCC and Linux GCC.

Could someone please tell me whats going wrong?
Re: Eclipse CDT error [message #1438200 is a reply to message #1438108] Sun, 05 October 2014 17:45 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 10/05/2014 10:53 AM, Mona P wrote:
> down vote favorite
>
>
> I recently started using Eclipse CDT for developing C++ applications. I
> downloaded the Eclpse Kepler CDT bundle, and it opened up properly, but
> when i created a simple hello world application I was getting an
> error"Binary Not Found", even after building the project.
>
> Ill show you what my console display
>
> 19:54:11 **** Incremental Build of configuration Debug for project
> HelloWorld **** make all Building file: ../src/HelloWorld.cpp Invoking:
> GCC C++ Compiler
>
> g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP
> -MF"src/HelloWorld.d"-MT"src/HelloWorld.d" -o "src/HelloWorld.o"
> "../src/HelloWorld.cpp"
>
> cc1plus: error: to generate dependencies you must specify either -M or
> -MM make: *** [src/HelloWorld.o] Error 1
>
> 19:54:11 Build Finished (took 106ms)
>
> I tried running the program with 2 toolchains Cross GCC and Linux GCC.
>
> Could someone please tell me whats going wrong?
>

As prompted by sticky posts at top of forum, could you post this
question to the Eclipse CDT forum?
Previous Topic:Exception in thread "main" java.lang.Error: Unresolved compilation problem error?
Next Topic:Eclipse Crashes every time I type anything that triggers auto-complete
Goto Forum:
  


Current Time: Tue Oct 22 21:27:40 GMT 2019

Powered by FUDForum. Page generated in 0.03260 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top