www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.dwt - DUB: "Invalid source/import path"

reply Ivan Trombley <itrombley dot-borg.org> writes:
If I use DWT 3.0.0 as a dependency in my dub.json then DUB 
reports "Invalid source/import path" for 
~/.dub/packages/dwtlib-3.0.0/dwtlib/dwt/src and 
~/.dub/packages/dwtlib-3.0.0/dwtlib/dwt/views.

Any ideas?
May 14 2017
parent reply Ivan Trombley <itrombley dot-borg.org> writes:
Never mind. Figured it out.
May 14 2017
next sibling parent JamesD <me mail.com> writes:
On Monday, 15 May 2017 at 06:24:12 UTC, Ivan Trombley wrote:
 Never mind. Figured it out.
I'm glad you were able to resolve the issue. Thank you for checking out dwtlib!
May 18 2017
prev sibling parent reply Manuel Maier <mjmaier gmx.de> writes:
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?
Nov 26 2017
parent JamesD <me mail.com> writes:
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.
Nov 29 2017