Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Searching for Binaries
Searching for Binaries [message #759887] Wed, 30 November 2011 13:39 Go to next message
Thomas .Friend
Messages: 32
Registered: July 2009
Member
Could someone please tell me what "Searching for Binaries (<project>)" is?

This task is always running in my Eclipse progress view without ever ending.

How can I turn this thing off? What is it supposed to do?

Thank you very much in advance!

Thomas
Re: Searching for Binaries [message #760082 is a reply to message #759887] Thu, 01 December 2011 09:12 Go to previous messageGo to next message
Axel Mueller is currently offline Axel MuellerFriend
Messages: 1973
Registered: July 2009
Senior Member
Eclipse searches for the binaries to fill the virtual folder "Binaries" in your project (see Project Explorer). These binaries are also used when you create a Launch Configuration.
If you are using an external Makefile Eclipse does not which binaries were created by the build step. Therefore, after every build it searches the complete project for changes. You can limit the search scope in Project Properties->C/C++ General->Paths and Symbols>Output location



Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Re: Searching for Binaries [message #760134 is a reply to message #760082] Thu, 01 December 2011 13:01 Go to previous messageGo to next message
Thomas .Friend
Messages: 32
Registered: July 2009
Member
Thank you very much for your reply.

Indeed I use "external" makefiles, and I never build from within Eclipse.

By your guidance I found the "output location" tab. There is one entry "<project>", which I couldn't delete (even though the "delete" button is enabled).

Now I tried to add a filter "exclusion pattern: *". After hitting "apply" the "operation in progress" window appears and Eclipse hangs. this lasts for appr. 5 min's now.

Could you please advise?
Re: Searching for Binaries [message #760317 is a reply to message #760134] Thu, 01 December 2011 20:51 Go to previous messageGo to next message
Klaus km is currently offline Klaus kmFriend
Messages: 142
Registered: November 2011
Senior Member
Thomas,
i cannot understand why you don't use the Eclipse help? Eclipse has a comprehensive help.

You also find the help online:

http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Freference%2Fcdt_u_prop_build_settings_binparser.htm

http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Ftasks%2Fcdt_t_proj_parser.htm

Klaus


Re: Searching for Binaries [message #760319 is a reply to message #760317] Thu, 01 December 2011 20:56 Go to previous messageGo to next message
Thomas .Friend
Messages: 32
Registered: July 2009
Member
Thank you very much for pointing me to these help pages.
Because I don't build from within Eclipse, I didn't guess that these might help me.
I will try out the settings and then post the results.
Re: Searching for Binaries [message #760365 is a reply to message #760134] Fri, 02 December 2011 07:56 Go to previous messageGo to next message
Axel Mueller is currently offline Axel MuellerFriend
Messages: 1973
Registered: July 2009
Senior Member
Thomas wrote on Thu, 01 December 2011 14:01
Thank you very much for your reply.

Indeed I use "external" makefiles, and I never build from within Eclipse.

By your guidance I found the "output location" tab. There is one entry "<project>", which I couldn't delete (even though the "delete" button is enabled).

Now I tried to add a filter "exclusion pattern: *". After hitting "apply" the "operation in progress" window appears and Eclipse hangs. this lasts for appr. 5 min's now.

Could you please advise?

You should add the folder where your actual binaries are stored. Then you should delete the project entry.


Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Re: Searching for Binaries [message #760449 is a reply to message #760317] Fri, 02 December 2011 12:29 Go to previous messageGo to next message
Thomas .Friend
Messages: 32
Registered: July 2009
Member
Quote:
Thomas,
i cannot understand why you don't use the Eclipse help? Eclipse has a comprehensive help.

You also find the help online:

http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Freference%2Fcdt_u_prop_build_settings_binparser.htm

http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Ftasks%2Fcdt_t_proj_parser.htm

Klaus

The selection of the binary parser has no effect to my problem.
Thank you very much.
Thomas
Re: Searching for Binaries [message #760450 is a reply to message #760365] Fri, 02 December 2011 12:31 Go to previous messageGo to next message
Thomas .Friend
Messages: 32
Registered: July 2009
Member
Axel Mueller wrote on Fri, 02 December 2011 08:56

You should add the folder where your actual binaries are stored. Then you should delete the project entry.

Ah, yes. That seems to solve the problem.

However, I also tried the following: Add a filter to the "<project>" entry, which excludes some problematic files. This also soved the problem.

Again, thank you very much.
Thomas
Re: Searching for Binaries [message #760542 is a reply to message #760449] Fri, 02 December 2011 18:32 Go to previous messageGo to next message
Klaus km is currently offline Klaus kmFriend
Messages: 142
Registered: November 2011
Senior Member
Thomas wrote on Fri, 02 December 2011 07:29

The selection of the binary parser has no effect to my problem.


Hello Thomas,

even if you deselect all binary parsers, a binary parser is running?
On my PC (Windows+Indigo+CDT8) i can switch on or off the binary parser and it seems to work as expected.

If in your case the binary parser is running, even if you have deselect all parsers, than it looks like a Eclipse bug to me. Maybe you should drop an entry into eclipses bugzilla.

Klaus


Re: Searching for Binaries [message #760841 is a reply to message #760542] Mon, 05 December 2011 12:29 Go to previous messageGo to next message
Axel Mueller is currently offline Axel MuellerFriend
Messages: 1973
Registered: July 2009
Senior Member
Klaus wrote on Fri, 02 December 2011 19:32
Thomas wrote on Fri, 02 December 2011 07:29

The selection of the binary parser has no effect to my problem.


Hello Thomas,

even if you deselect all binary parsers, a binary parser is running?
On my PC (Windows+Indigo+CDT8) i can switch on or off the binary parser and it seems to work as expected.

If in your case the binary parser is running, even if you have deselect all parsers, than it looks like a Eclipse bug to me. Maybe you should drop an entry into eclipses bugzilla.

Klaus

I guess there is some misunderstanding on your side. I did not suggest to disable the binary parsers completely but to limit the search scope.


Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Re: Searching for Binaries [message #760851 is a reply to message #760841] Mon, 05 December 2011 12:50 Go to previous messageGo to next message
Thomas .Friend
Messages: 32
Registered: July 2009
Member
Axel Mueller wrote on Mon, 05 December 2011 13:29
Klaus wrote on Fri, 02 December 2011 19:32
Thomas wrote on Fri, 02 December 2011 07:29

The selection of the binary parser has no effect to my problem.


Hello Thomas,

even if you deselect all binary parsers, a binary parser is running?
On my PC (Windows+Indigo+CDT8) i can switch on or off the binary parser and it seems to work as expected.

If in your case the binary parser is running, even if you have deselect all parsers, than it looks like a Eclipse bug to me. Maybe you should drop an entry into eclipses bugzilla.

Klaus

I guess there is some misunderstanding on your side. I did not suggest to disable the binary parsers completely but to limit the search scope.


@Klaus: It seems I got you wrong in first instance. I selected different binary parsers, but did not deselect all of them. After reading the help pages you have posted, I felt interested in retaining the functionality...

@Axel: That's what I did: I added a filter to exclude some problematic files. Now the parser starts, but comes to an end. This solved my original problem.

Thank you both for your kind assistance!
Thomas
Re: Searching for Binaries [message #1270115 is a reply to message #760851] Wed, 12 March 2014 14:08 Go to previous message
slajerek . is currently offline slajerek .Friend
Messages: 20
Registered: April 2010
Junior Member
What if I use internal makefiles, never touched them and this process does not end too?
Previous Topic:Blank Stack Trace
Next Topic:Setting preferences (CDT Environment) using plugin_customization.ini
Goto Forum:
  


Current Time: Mon Oct 25 11:36:19 GMT 2021

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

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

Back to the top