Yes I use the build from yesterday.
-------------- Build: default in D ---------------
Compiling: main.d
parse main
semantic main
object.d: module object cannot read file 'object.d'
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
I'm trying to compile:
void main()
{
printf("Hi");
}
I've unpacked these two files:
dmc.zip
dmd.zip
into a subfolder of codeblocks main installation folder
-> C:\Program Files\CodeBlocks\digital_mars\d\dmdthen I compiler stettings
Digital Mars D -> ProgramsC:\Program Files\CodeBlocks\digital_mars\d\dmd
Digital Mars D-> Programs->Additional paths
C:\Program Files\CodeBlocks\digital_mars\d\dmand
C:\Program Files\CodeBlocks\digital_mars\d\dm\binand I cannot compile.
NOTE: I've never used D. I'd like to try it but I don't want to use command line tools? So my questions are:
- How to make Code::Blocks to compile D sources.
- Where to find good tutorials/books
- How can I debug (can I use CB and gdb)?
- Should I always use set D compiler as default before I start a new D project? Can I use C/C++ and D (two compilers, without to select them manually) or a project type can specify which project should use which compiler?
What I've done too is to modificate the Console Application template, so it generates a simple template just like for C.
That's more elaborate now :shock: I hope somebody can answer my questions
I really love
"exotic" things
like new languages.