DUB: "Invalid source/import path"

JamesD me at mail.com
Wed Nov 29 14:19:04 UTC 2017


On Monday, 27 November 2017 at 07:53:21 UTC, Manuel Maier wrote:
> On Monday, 15 May 2017 at 06:24:12 UTC, Ivan Trombley wrote:
>> Never mind. Figured it out.
>
> It would be nice to know what it was that you figured out. I 
> just ran into the same issue building gdub 
> (https://github.com/jasc2v8/gdub).
>
> Invalid source/import path: 
> C:\Users\mjmai\AppData\Roaming\dub\packages\dwtlib-3.1.1\dwtlib\dwt\src
> Invalid source/import path: 
> C:\Users\mjmai\AppData\Roaming\dub\packages\dwtlib-3.1.1\dwtlib\dwt\views
>
> Indeed, these paths do not exist. The question is why?

Thank you for your feedback, I updated the readme instructions 
for gdub to help avoid this issue for others.

The pre-requistite is to dub fetch dwtlib and build the static 
libraries first, then run the gdub build.bat.  See the dwtlib 
readme instructions at https://github.com/jasc2v8/dwtlib

The errors above are resolved after building the dwtlib static 
libraries, then cloning gdub and running gdub build.bat.

Note: If you don't delete gdub and start with a fresh clone, then 
be sure to delete the src and src_bak folders before running gdub 
build.bat again.




More information about the Digitalmars-d-dwt mailing list