Welcome to Dream.In.Code
Become an Expert!

Join 136,928 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,833 people online right now. Registration is fast and FREE... Join Now!




Setting up Code::Blocks to compile D programs

 
Reply to this topicStart new topic

Setting up Code::Blocks to compile D programs

gabehabe
11 Mar, 2008 - 02:13 PM
Post #1

Donkey DIC
Group Icon

Joined: 6 Feb, 2008
Posts: 5,551



Thanked: 98 times
Dream Kudos: 2650
Expert In: ruling the world.

My Contributions
I only recently downloaded Code::Blocks, so I'm still really new to the layout

It compiles C and C++ code fine, but if I choose to create a new D program, it says:
"Beginning D - Debug" uses an invalid compiler. Skipping...
Nothing to be done.

I have tried selecting both GDC and DMD as the compiler from the dropdown for the project, and have downloaded both compilers.

The only thing I can think of is that maybe I have put them in the wrong place?

Or is there some kind of detection that I have to do in Code::Blocks and locate it manually?
User is offlineProfile CardPM
+Quote Post

gabehabe
RE: Setting Up Code::Blocks To Compile D Programs
14 Mar, 2008 - 02:49 PM
Post #2

Donkey DIC
Group Icon

Joined: 6 Feb, 2008
Posts: 5,551



Thanked: 98 times
Dream Kudos: 2650
Expert In: ruling the world.

My Contributions
OK, I think I'm getting there. It starts to compile the program, but it comes up saying:
File Not Found phobos.lib
==Build finished: 1 errors, 0 warnings==

I've tried loads of different ways to set it to find phobos.lib, but it doesn't seem to work...

Any ideas where to go from here?
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/3/08 10:28PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month