Skip to main content



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

[Updated on: Thu, 02 October 2014 17:46] by Moderator

Re: No Run button [message #1436374 is a reply to message #1436266] Thu, 02 October 2014 16:39 Go to previous messageGo to next message
Eclipse UserFriend
Did you build it first (the hammer icon on toolbar)?
Re: No Run button [message #1436375 is a reply to message #1436266] Thu, 02 October 2014 16:39 Go to previous messageGo to next message
Eclipse UserFriend
Did you build it first (the hammer icon on toolbar)?
Re: No Run button [message #1436378 is a reply to message #1436374] Thu, 02 October 2014 16:41 Go to previous messageGo to next message
Eclipse UserFriend
Yes I did. No issues.
Re: No Run button [message #1436385 is a reply to message #1436378] Thu, 02 October 2014 16:54 Go to previous message
Eclipse UserFriend
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.

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: Sat Apr 19 14:15:14 EDT 2025

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

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

Back to the top