DUB mysql-native

Daniel Kozak kozzi11 at gmail.com
Tue Oct 8 14:48:33 UTC 2019


On Tuesday, 8 October 2019 at 14:19:10 UTC, Vino wrote:
> On Tuesday, 8 October 2019 at 14:02:03 UTC, Vino wrote:
>> On Tuesday, 8 October 2019 at 11:26:24 UTC, Daniel Kozak wrote:
>>> [...]
>>
>> Hi Daniel,
>>
>>    As stated I have removed those line and ran the below 
>> command
>>
>> [...]
>
> Hi Daniel,
>
>   Was able to resolve the dub test issue using the you tube 
> video "https://www.youtube.com/watch?v=zvrf7nlq5Og", but not 
> able to execute the code
>
> Code Execution
> cd HUB/source
> app.d(3): Error: module `mysql` is in file 'mysql.d' which 
> cannot be read
> import path[0] = .
> import path[1] = C:\D\dmd2\windows\bin\..\..\src\phobos
> import path[2] = C:\D\dmd2\windows\bin\..\..\src\druntime\import
> Failed: ["C:\\D\\dmd2\\windows\\bin\\dmd.exe", "-v", 
> "-o-","app.d", "-I."]
>
> From,
> Vino.B

You can not use rdmd on app.d with dependencies. You have to use 
dub. I am not sure what are you trying to do, but if you are able 
to build your app with dub, than you just can run it ./hub


More information about the Digitalmars-d-learn mailing list