Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Eclipse NEON CDT is not generating the .O file after build(I can't generating the .O file in windows xp with neon rc3 but with mars is fine.)
Eclipse NEON CDT is not generating the .O file after build [message #1735693] Wed, 22 June 2016 04:38 Go to next message
Dong Yang is currently offline Dong YangFriend
Messages: 4
Registered: June 2016
Junior Member
Eclipse CDT is not generating the .O file after build in windows xp with neon Release (4.6.0)
Build id: 20160613-1800,but I retune to use MAR 2 is fine.


No error but the .o and .exe files are not generated in debug directory
index.php/fa/26243/0/
  • Attachment: 123.png
    (Size: 96.11KB, Downloaded 2046 times)

[Updated on: Thu, 23 June 2016 08:09]

Report message to a moderator

Re: Eclipse NEON CDT is not generating the .O file after build [message #1735875 is a reply to message #1735693] Thu, 23 June 2016 12:12 Go to previous messageGo to next message
Timothee Fivaz is currently offline Timothee FivazFriend
Messages: 5
Registered: June 2016
Junior Member
Can you paste here the whole Console text ?
Generating object files is the job of the compiler, not the IDE. Maybe the call to the compiler is bad. Can you also show your project build settings ?
Re: Eclipse NEON CDT is not generating the .O file after build [message #1735885 is a reply to message #1735875] Thu, 23 June 2016 12:51 Go to previous messageGo to next message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
You don't execute the .o file. It's the output from the compile. It needs to be linked to the external libraries before it can be executed.
The console log is showing a compile with no errors but no link step. So, test.o was produced. What's missing is test.exe.
I don't use the internal builder however I doubt it has a built-in linker.
This may be a bug .

You could try setting CDT to build a Makefile and use make
(set Project --> Properties --> C/C++ Build ; Builder Type to External builder)
to see if it produces test.exe.
Re: Eclipse NEON CDT is not generating the .O file after build [message #1735914 is a reply to message #1735885] Thu, 23 June 2016 14:40 Go to previous messageGo to next message
Jonah Graham is currently offline Jonah GrahamFriend
Messages: 416
Registered: June 2014
Senior Member
Quick guess is that you are right-clicking on the file and choosing to build just it. The console log you have provided only shows one g++ invocation. Try right-clicking on project and choosing Build Project instead.
Re: Eclipse NEON CDT is not generating the .O file after build [message #1736423 is a reply to message #1735875] Wed, 29 June 2016 11:33 Go to previous messageGo to next message
Dong Yang is currently offline Dong YangFriend
Messages: 4
Registered: June 2016
Junior Member
Here is the Console text and some build settings .
index.php/fa/26295/0/
index.php/fa/26296/0/
Re: Eclipse NEON CDT is not generating the .O file after build [message #1736426 is a reply to message #1735885] Wed, 29 June 2016 11:41 Go to previous messageGo to next message
Dong Yang is currently offline Dong YangFriend
Messages: 4
Registered: June 2016
Junior Member
Thank you.
Yes, when I tried setting CDT to build a Makefile and use the External builder,it produced test.exe.
Re: Eclipse NEON CDT is not generating the .O file after build [message #1736427 is a reply to message #1735914] Wed, 29 June 2016 11:45 Go to previous messageGo to next message
Dong Yang is currently offline Dong YangFriend
Messages: 4
Registered: June 2016
Junior Member
Thank you.
It's not useful.I think that is a bug of the neon.
Re: Eclipse NEON CDT is not generating the .O file after build [message #1767072 is a reply to message #1736427] Fri, 30 June 2017 11:44 Go to previous message
Mickae Barril is currently offline Mickae BarrilFriend
Messages: 17
Registered: May 2017
Junior Member
Hey guys,

Does anybody know the cause of this?
Why is that bug only on XP?

Thank you
Previous Topic:multiple variable declaration
Next Topic:Syntax error reported for designated structure initializers when returning an anonymous structure
Goto Forum:
  


Current Time: Tue Mar 19 08:53:34 GMT 2024

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

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

Back to the top