Need example of usage DerelictPQ

Suliman via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Dec 24 11:26:10 PST 2014


On Wednesday, 24 December 2014 at 14:08:53 UTC, Adam D. Ruppe 
wrote:
> I haven't used the derelict version but I have used the C 
> library itself and wrapped it briefly in my postgres.d here:
>
> https://github.com/adamdruppe/arsd/blob/master/postgres.d

Thanks! But few questions:
1. how to build it with dub?
2. I tried to: dmd app.d database.d postgres.d but get message 
that "File Not Found pq.lib"
3. Can I build it's simply: dmd app.d ?
Would it able to import other 2 file?




More information about the Digitalmars-d-learn mailing list