FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Eclipse compile issue

 
Post new topic   Reply to topic     Forum Index -> Descent
View previous topic :: View next topic  
Author Message
wolftousen



Joined: 28 Jan 2008
Posts: 10

PostPosted: Mon Jan 28, 2008 6:35 pm    Post subject: Eclipse compile issue Reply with quote

Hello, I am trying to set up eclipse and am having an issue I can't seem to find an answer to. I have followed all the steps in the tutorials on this site:
http://d.whosme.de/index.php?language=en&site=tutorials

But, when I attempt to compile the Console output window spits:
Could not detect versions.

Using eclipse 3.3.1 and dsss 0.75...

My project fold, eclipse folder, dsss folder and ddgb folder are all in the c:\d folder... Can anyone help me out?

Saw a post that said to do something with user variables in the advance tab of system and add PATH C:\d\dsss-0.75-dmd-win\bin to user variable list but still have same problem...

~Wolftousen - "It is the role of the fate-less to free the fated..."
Back to top
View user's profile Send private message
asterite



Joined: 01 Jun 2006
Posts: 235
Location: Buenos Aires, Argentina

PostPosted: Tue Jan 29, 2008 7:50 am    Post subject: Reply with quote

Do you have the bin directory of DMD or GDC in your Windows PATH? The "Could not detect versions" message is produced by dsss if it can't find the DMD compiler.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
wolftousen



Joined: 28 Jan 2008
Posts: 10

PostPosted: Tue Jan 29, 2008 11:38 pm    Post subject: Reply with quote

Ok, got all that solved and eclipse compiles the exe, but it doesn't print the Hello World statement to the eclipse console output tab. I just get this:

C:\d\dmd\bin\..\..\dm\bin\link.exe .\_main+.\nmd_gcstats,main.exe,,user32+kernel32/noi;

The exe works fine if i run it from the console or double click it in the folder, but if i try to run it from within eclipse it says it isn't a valid win32 exe.

any ideas on this?

~Wolftousen - "It is the role of the fate-less to free the fated..."
Back to top
View user's profile Send private message
asterite



Joined: 01 Jun 2006
Posts: 235
Location: Buenos Aires, Argentina

PostPosted: Wed Jan 30, 2008 4:33 am    Post subject: Reply with quote

You need to do "Run -> Run as D application" on the executable, not on the D file. This will improve in future versions.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Descent All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group