Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » NEON fails to build binary ?(project no binary build )
NEON fails to build binary ? [message #1751579] Wed, 11 January 2017 16:12 Go to next message
Anne Creek is currently offline Anne CreekFriend
Messages: 275
Registered: September 2014
Senior Member
Here is yet another NEON anomaly.
Compiles but fails to build binary.
See attached file.
Run "Clear project" several times between "Build project"
Can I get a hint how to fix it ?
  • Attachment: NEON_3.odt
    (Size: 329.65KB, Downloaded 102 times)

[Updated on: Wed, 11 January 2017 16:13]

Report message to a moderator

Re: NEON fails to build binary ? [message #1751582 is a reply to message #1751579] Wed, 11 January 2017 16:37 Go to previous messageGo to next message
Tauno Voipio is currently offline Tauno VoipioFriend
Messages: 690
Registered: August 2014
Senior Member
Next time, please attach images in image format (e.g. jpg, png ...). The attachment is now in OpenDocument text file format. Insert the text part in the message text.

Your code does not compile cleanly - correct it first.


--

Tauno Voipio

[Updated on: Wed, 11 January 2017 16:38]

Report message to a moderator

Re: NEON fails to build binary ? [message #1751583 is a reply to message #1751579] Wed, 11 January 2017 16:40 Go to previous messageGo to next message
Marc-André Laperle is currently offline Marc-André LaperleFriend
Messages: 256
Registered: July 2009
Senior Member
Are you compiling for Arduino or Ubuntu? When you hit Debug without configuring manually a Debug Configuration, it will try to detect binaries to find what to debug. The format of the binaries detected depends on the toolchain you are using. Do you know which toolchain you are using? If you use Linux GCC, it will detect GNU Elf, on Windows it's PE, Mac is Mach-O, etc. But if you create a debug configuration manually, you still be able to browse for a program to debug manually so maybe you could try that.
http://help.eclipse.org/neon/topic/org.eclipse.cdt.doc.user/tasks/cdt_t_new_run_config.htm?cp=8_3_5_0_1
This documentation is pretty old but it should give you a general idea of what to do.
Re: NEON fails to build binary ? [message #1751585 is a reply to message #1751583] Wed, 11 January 2017 16:55 Go to previous messageGo to next message
Anne Creek is currently offline Anne CreekFriend
Messages: 275
Registered: September 2014
Senior Member
Using Ubuntu.
The real issue is - the initial program compiled and run fine.
Added some libraries and now I am getting the error.
But it complies, I guess question is where it puts the binary if it cannot find it.

Did not change anything else , did not touch configuration because I was working before. No reason to go that route if it works.
It make no difference if I do menu "Build project" or icon Build all.
I'll try to specifically build and run "debug"
You can see that the console output looks normal - no errors.

Re: NEON fails to build binary ? [message #1751598 is a reply to message #1751585] Wed, 11 January 2017 18:17 Go to previous messageGo to next message
David VavraFriend
Messages: 1413
Registered: October 2012
Senior Member
TEST_1 has a missing "*/" somewhere which is causing a compiler warning. You should fix it.
Open_BASE is in the project Debug directory (CWD when make for Open_BASE runs) from the first log line,
Link command for Open_BASE: g++ ... -o "Open_BASE" ...
Temporarily change the linker command to pwd to verify.

[Updated on: Wed, 11 January 2017 18:30]

Report message to a moderator

Re: NEON fails to build binary ? [message #1751618 is a reply to message #1751582] Wed, 11 January 2017 22:55 Go to previous messageGo to next message
Anne Creek is currently offline Anne CreekFriend
Messages: 275
Registered: September 2014
Senior Member
Wrong thread

[Updated on: Wed, 11 January 2017 22:56]

Report message to a moderator

Re: NEON fails to build binary ? [message #1751626 is a reply to message #1751618] Thu, 12 January 2017 02:35 Go to previous message
Anne Creek is currently offline Anne CreekFriend
Messages: 275
Registered: September 2014
Senior Member
Update
Attempted to just rename the Open_BASE project.
Received an error " ...file not in synch with system" .
Did "Restore from local history "
Project compiles and runs.
Previous Topic:Unwanted Highlight in Dark Theme
Next Topic:Eclipse CDT does not index code between #if .... #endif
Goto Forum:
  


Current Time: Sun Jan 23 03:36:58 GMT 2022

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

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

Back to the top