www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Problems setting up Eclipse/DDT

reply Joseph Rushton Wakeling <joseph.wakeling webdrake.net> writes:
What with all the IDE discussion going on, I thought I'd have a go at trying
out 
Eclipse with the DDT plugin.

I'm running Eclipse 3.8 installed from system repos on Ubuntu 13.10.  Adding
the 
DDT plugin as per the instructions here:
http://code.google.com/p/ddt/wiki/Installation

... seems to work fine.  Now I go to the Window menu and select Preferences,
and 
then click on DDT > Compilers, and click the Search button.

The search process freezes when it discovers LDC, with the "Progress 
Information" window reading:

     Found 3007 - Searching /opt/ldc/bin/ldmd2

... and I'm forced to kill Eclipse manually.  Can anyone advise what the
problem 
might be and how to correct it?

I asked this on the DDT Google Group but had no response, so thought I'd ask 
here.  Suffice to say that I think that, even if LDC isn't supported via DDT 
yet, it's pretty bad that the search for compilers should freeze up if LDC is 
installed.
Sep 16 2013
parent reply Jacob Carlborg <doob me.com> writes:
On 2013-09-16 11:56, Joseph Rushton Wakeling wrote:
 What with all the IDE discussion going on, I thought I'd have a go at
 trying out Eclipse with the DDT plugin.

 I'm running Eclipse 3.8 installed from system repos on Ubuntu 13.10.
 Adding the DDT plugin as per the instructions here:
 http://code.google.com/p/ddt/wiki/Installation

 ... seems to work fine.  Now I go to the Window menu and select
 Preferences, and then click on DDT > Compilers, and click the Search
 button.

 The search process freezes when it discovers LDC, with the "Progress
 Information" window reading:

      Found 3007 - Searching /opt/ldc/bin/ldmd2

 ... and I'm forced to kill Eclipse manually.  Can anyone advise what the
 problem might be and how to correct it?

 I asked this on the DDT Google Group but had no response, so thought I'd
 ask here.  Suffice to say that I think that, even if LDC isn't supported
 via DDT yet, it's pretty bad that the search for compilers should freeze
 up if LDC is installed.
I think it's better that you manually add paths to the compiler, then searching for it, if possible, -- /Jacob Carlborg
Sep 16 2013
parent Joseph Rushton Wakeling <joseph.wakeling webdrake.net> writes:
On 16/09/13 12:58, Jacob Carlborg wrote:
 I think it's better that you manually add paths to the compiler, then searching
 for it, if possible,
Seems like it's a known issue: http://code.google.com/p/ddt/issues/detail?id=10
Sep 16 2013