Skip to main content



      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 00:38 Go to next message
Eclipse UserFriend
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 2350 times)

[Updated on: Thu, 23 June 2016 04:09] by 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 08:12 Go to previous messageGo to next message
Eclipse UserFriend
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 08:51 Go to previous messageGo to next message
Eclipse UserFriend
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 10:40 Go to previous messageGo to next message
Eclipse UserFriend
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 07:33 Go to previous messageGo to next message
Eclipse UserFriend
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 07:41 Go to previous messageGo to next message
Eclipse UserFriend
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 07:45 Go to previous messageGo to next message
Eclipse UserFriend
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 07:44 Go to previous message
Eclipse UserFriend
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: Wed Mar 19 15:06:17 EDT 2025

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

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

Back to the top