D - Getting started with D
- Berin Loritsch (10/10) Nov 21 2003 I have the DMD compiler and the DM linker, but I can't seem to run
- Andy Friesen (9/21) Nov 21 2003 When time to link comes 'round, you have to specify the .LIB files to
I have the DMD compiler and the DM linker, but I can't seem to run any of the programs that actually use other libraries. For instance, the "test.d" program that is supposed to pop up a window won't compile due to some unresolved dependencies. I am having issues doing anything more than the "toy" programs provided in the samples. Anything more robust that might include a UI or something seems to be out of my reach for the time being. I miss the simplicity of the Java environment where all you have to do is include JARs in the class path. Is there some equivelant feature that I am missing with DMD?
Nov 21 2003
Berin Loritsch wrote:I have the DMD compiler and the DM linker, but I can't seem to run any of the programs that actually use other libraries. For instance, the "test.d" program that is supposed to pop up a window won't compile due to some unresolved dependencies. I am having issues doing anything more than the "toy" programs provided in the samples. Anything more robust that might include a UI or something seems to be out of my reach for the time being. I miss the simplicity of the Java environment where all you have to do is include JARs in the class path. Is there some equivelant feature that I am missing with DMD?When time to link comes 'round, you have to specify the .LIB files to link in. If you're compiling everything with one invocation of DMD, it's real easy: dmd -ofstuff.exe source1.d source2.d source3.d somelib.lib someotherlib.lib ... The .LIBs should be someplace where the DM linker can find them. (like \dm\lib, or your source directory) -- andy
Nov 21 2003