www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - Descent eclipse IDE setup

reply Joel Christensen <joelcnz gmail.com> writes:
I can't seem to get Descent to compile my D programs in eclipse 3.4.2.

I get the error: 'Could not detect versions.' in thr Console view.
Aug 25 2009
parent reply Ary Borenszweig <ary esperanto.org.ar> writes:
Joel Christensen escribiˇ:
 I can't seem to get Descent to compile my D programs in eclipse 3.4.2.
 
 I get the error: 'Could not detect versions.' in thr Console view.

Hi Joel, What happens if you try to compile from the command line? It might be a problem of the setup of the compiler you are using. Searching in google "DMD could not detect versions" I found these: http://www.dsource.org/forums/viewtopic.php?t=3644&sid=8fdff19981fac656d423a66786ce2dd0 http://www.dsource.org/forums/viewtopic.php?p=18614#18614 "Usually when I see the "Could not detect versions" message when using DSSS's rebuild, I can fix it by adding the directory with dmd.exe to the path. (I don't understand why it's such a cryptic error message though.)" So there's a big chance you are using DSSS. :) Well, if that's not the case let me know.
Aug 26 2009
parent reply Joel Christensen <joelcnz gmail.com> writes:
Thanks that improved the situation. I /was/ using rebuild, but I was 
only following the instructions from the Descent dsource page.

But now I get nothing, or 'Launching Jake has encounted a problem. 
Variable references empty selection: ${project_loc}' I've also got a 
list of undefines at one point.

Ary Borenszweig wrote:
 Joel Christensen escribiˇ:
 I can't seem to get Descent to compile my D programs in eclipse 3.4.2.

 I get the error: 'Could not detect versions.' in thr Console view.

Hi Joel, What happens if you try to compile from the command line? It might be a problem of the setup of the compiler you are using. Searching in google "DMD could not detect versions" I found these: http://www.dsource.org/forums/viewtopic.php?t=3644&sid=8fdff19981fa 656d423a66786ce2dd0 http://www.dsource.org/forums/viewtopic.php?p=18614#18614 "Usually when I see the "Could not detect versions" message when using DSSS's rebuild, I can fix it by adding the directory with dmd.exe to the path. (I don't understand why it's such a cryptic error message though.)" So there's a big chance you are using DSSS. :) Well, if that's not the case let me know.

Aug 29 2009
parent Ary Borenszweig <ary esperanto.org.ar> writes:
When running the external tool make sure the project you want to build 
is selected.

Joel Christensen escribiˇ:
 Thanks that improved the situation. I /was/ using rebuild, but I was 
 only following the instructions from the Descent dsource page.
 
 But now I get nothing, or 'Launching Jake has encounted a problem. 
 Variable references empty selection: ${project_loc}' I've also got a 
 list of undefines at one point.
 
 Ary Borenszweig wrote:
 Joel Christensen escribiˇ:
 I can't seem to get Descent to compile my D programs in eclipse 3.4.2.

 I get the error: 'Could not detect versions.' in thr Console view.

Hi Joel, What happens if you try to compile from the command line? It might be a problem of the setup of the compiler you are using. Searching in google "DMD could not detect versions" I found these: http://www.dsource.org/forums/viewtopic.php?t=3644&sid=8fdff19981fa 656d423a66786ce2dd0 http://www.dsource.org/forums/viewtopic.php?p=18614#18614 "Usually when I see the "Could not detect versions" message when using DSSS's rebuild, I can fix it by adding the directory with dmd.exe to the path. (I don't understand why it's such a cryptic error message though.)" So there's a big chance you are using DSSS. :) Well, if that's not the case let me know.


Aug 29 2009