• Advertisement
Sign in to follow this  

Configuring D in Eclipse

This topic is 2187 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:
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

Share this post


Link to post
Share on other sites
Advertisement
Did you download the Windows version of the compiler? Is it located in the path c:\users\....?

Share this post


Link to post
Share on other sites

Did you download the Windows version of the compiler? Is it located in the path c:\users\....?


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
Sign in to follow this  

  • Advertisement