Thread overview
Descent eclipse IDE setup
Aug 26, 2009
Joel Christensen
Aug 26, 2009
Ary Borenszweig
Aug 30, 2009
Joel Christensen
Aug 30, 2009
Ary Borenszweig
August 26, 2009
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.
August 26, 2009
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.
August 30, 2009
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=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.
August 30, 2009
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=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.