question on dub and postgresql
Alaindevos
devosalain at ymail.com
Mon Oct 5 08:50:53 UTC 2020
On Monday, 5 October 2020 at 08:47:45 UTC, Alaindevos wrote:
> On Monday, 5 October 2020 at 08:34:37 UTC, Imperatorn wrote:
>> On Monday, 5 October 2020 at 08:24:26 UTC, Alaindevos wrote:
>>> [...]
>>
>> Take a look at:
>> https://code.dlang.org/packages/dpq2
>> https://code.dlang.org/packages/ddbc
>
> Say I want to use dpq2.
> Do I need to clone the git repository with "git clone ?"
rdmd is as expected unaware of includes and libraries needed.
rdmd --build-only test.d
test.d(3): Error: module `dpq2` is in file 'dpq2.d' which cannot
be read
import path[0] = .
import path[1] = /usr/local/include/d
Failed: ["/usr/local/bin/ldmd2", "-v", "-o-", "test.d", "-I."]
More information about the Digitalmars-d-learn
mailing list