Skip to main content



      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 11:12 Go to next message
Eclipse UserFriend
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 155 times)

[Updated on: Wed, 11 January 2017 11:13] by Moderator

Re: NEON fails to build binary ? [message #1751582 is a reply to message #1751579] Wed, 11 January 2017 11:37 Go to previous messageGo to next message
Eclipse UserFriend
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.

[Updated on: Wed, 11 January 2017 11:38] by Moderator

Re: NEON fails to build binary ? [message #1751583 is a reply to message #1751579] Wed, 11 January 2017 11:40 Go to previous messageGo to next message
Eclipse UserFriend
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 11:55 Go to previous messageGo to next message
Eclipse UserFriend
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 13:17 Go to previous messageGo to next message
Eclipse UserFriend
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 13:30] by Moderator

Re: NEON fails to build binary ? [message #1751618 is a reply to message #1751582] Wed, 11 January 2017 17:55 Go to previous messageGo to next message
Eclipse UserFriend
Wrong thread

[Updated on: Wed, 11 January 2017 17:56] by Moderator

Re: NEON fails to build binary ? [message #1751626 is a reply to message #1751618] Wed, 11 January 2017 21:35 Go to previous message
Eclipse UserFriend
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: Wed Jul 16 00:08:03 EDT 2025

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

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

Back to the top