Author Topic: Compiling D Programs  (Read 3278 times)

gabehabe

  • Guest
Compiling D Programs
« on: March 15, 2008, 12:00:05 am »
I recently downloaded C::B, but can't seem to get it to compile D programs  :(

At first, it just kept saying "Nothing to do," but I managed to get passed this point.

Now, it begins to build the project and goes on to say:
File Not Found phobos.lib
==Build finished: 1 errors, 0 warnings==

I have tried putting phobos.lib everywhere, but it still doesn't seem to work

Any ideas?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: Compiling D Programs
« Reply #1 on: March 15, 2008, 10:05:13 am »
What D Compiler are you using?
What is the version number of the Compiler?

I can try installing D and seeing if it works for me.

Tim S
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline afb

  • Developer
  • Lives here!
  • *****
  • Posts: 884
Re: Compiling D Programs
« Reply #2 on: March 15, 2008, 11:07:30 am »
If you enable the full command-line output in Code::Blocks, and then try the same thing from a shell - does it work then ? Sounds like there might be something (general configuration) with how DMD has been installed ?

Offline yaro

  • Single posting newcomer
  • *
  • Posts: 8
Re: Compiling D Programs
« Reply #3 on: March 17, 2008, 07:18:28 pm »
I can confirm D programs compile in the latest codeblocks. You need to change paths to dm and dmd directories. Download both zip files from digitalmars.