Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » No Run button(Run External Tools is empty)
No Run button [message #1436266] Thu, 02 October 2014 16:31 Go to next message
Kenny Pal is currently offline Kenny PalFriend
Messages: 2
Registered: October 2014
Junior Member
Edit: my bad. I didn't notice you had to switch From "Resource" to "C/C++".
Mods; feel free to delete this thread.


Hi

I felt like refreshing my programming knowledge (12 years later) and chose C++ and Eclipse. I installed latest Java, JDK, GCC and Eclipse. I wrote a simple Hello World program to test it out, but I'm unable to run it. I don't have a Run button, only External Tools. When I click it, my left hand browser is empty (I read online that Java should be an option, but it isn't there).

How do I go about fixing this?

Here's my eclipse.ini:

-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
C:\Program Files\Java\jre7\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx1024m


index.php/fa/19370/0/

Thanks in advance.
  • Attachment: Untitled.png
    (Size: 108.50KB, Downloaded 1923 times)

[Updated on: Thu, 02 October 2014 21:46]

Report message to a moderator

Re: No Run button [message #1436374 is a reply to message #1436266] Thu, 02 October 2014 20:39 Go to previous messageGo to next message
Tauno Voipio is currently offline Tauno VoipioFriend
Messages: 742
Registered: August 2014
Senior Member
Did you build it first (the hammer icon on toolbar)?

--

Tauno Voipio
Re: No Run button [message #1436375 is a reply to message #1436266] Thu, 02 October 2014 20:39 Go to previous messageGo to next message
Tauno Voipio is currently offline Tauno VoipioFriend
Messages: 742
Registered: August 2014
Senior Member
Did you build it first (the hammer icon on toolbar)?

--

Tauno Voipio
Re: No Run button [message #1436378 is a reply to message #1436374] Thu, 02 October 2014 20:41 Go to previous messageGo to next message
Kenny Pal is currently offline Kenny PalFriend
Messages: 2
Registered: October 2014
Junior Member
Yes I did. No issues.
Re: No Run button [message #1436385 is a reply to message #1436378] Thu, 02 October 2014 20:54 Go to previous message
Tauno Voipio is currently offline Tauno VoipioFriend
Messages: 742
Registered: August 2014
Senior Member
You are now at 'External tools'. Close the boxes and pick from
the 'Run' menu 'Run Configurations' and add your executable there.

The configurations can also be accesses from the little triangle
on the right side of the run button icon.

For details, please see the Eclipse help pages at C/C++ Development
User Guide -> Tasks -> Running and debugging projects.



--

Tauno Voipio
Previous Topic:Eclipse debugging a Qt form with strange behaviour
Next Topic:Unresolved symbols while including C++ version of C header
Goto Forum:
  


Current Time: Tue Oct 15 00:12:11 GMT 2024

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

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

Back to the top