SCons D tool: need help with building static library

Russel Winder russel at winder.org.uk
Mon Dec 17 12:07:29 PST 2012


On Mon, 2012-12-17 at 11:37 -0800, H. S. Teoh wrote:

[…]
> I haven't tried LDC yet, though I've heard good things about it. Maybe I
> should check it out sometime.

I checked out the Git repository and build master/HEAD, but then I am an
unstable, bleeding-edge kind of person.

> Did you define main() in prog.d (or somewhere)? The second line of the
> output here seems to indicate that you didn't. I think the latest git
> dmd is patched so that a more helpful error message is provided in this
> case, but this unhelpful screenful of errors is what the current release
> dmd gives when main() isn't defined.

I will try and hide the fact that I was a complete muppet and failed to
have a main function in prog.d.

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20121217/9aa72a61/attachment.pgp>


More information about the Digitalmars-d mailing list