Sign in to follow this  

Configuring D in Eclipse

This topic is 2119 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I decided to give D a try to see if I can improve my productivity - I used to use C++ until now.

So I downloaded dmd compiler and managed to configure it in Code::Blocks. But what puts me off is the lack of code completion.
Then I read about the Descent plugin for eclipse, that provides code completion. I downloaded and installed it, but cannot compile any D code.

The problem is, I can't find how I can setup the D compiler - this was easy in Code::Blocks. Does anyone know how to do it?

This is the error I get:
[i]Error starting process
Cannot run program "C:\Users\Minas\Documents\Eclipse\D test\main.d" (in directory "C:\Users\Minas\Documents\Eclipse\D test"): CreateProcess error=193, %1 is not a valid Win32 application
Cannot run program "C:\Users\Minas\Documents\Eclipse\D test\main.d" (in directory "C:\Users\Minas\Documents\Eclipse\D test"): CreateProcess error=193, %1 is not a valid Win32 application
Cannot run program "C:\Users\Minas\Documents\Eclipse\D test\main.d" (in directory "C:\Users\Minas\Documents\Eclipse\D test"): CreateProcess error=193, %1 is not a valid Win32 application[/i]

Share this post


Link to post
Share on other sites
[quote name='Antheus' timestamp='1329924276' post='4915518']
Did you download the Windows version of the compiler? Is it located in the path c:\users\....?
[/quote]

I can compile and run D programs from inside Code::Blocks and the win32 command line, so yes.

Share this post


Link to post
Share on other sites

This topic is 2119 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this