Thread overview | ||||||
---|---|---|---|---|---|---|
|
March 09, 2020 Introduction and request for help | ||||
---|---|---|---|---|
| ||||
Hey Everyone, I'm a new D developer and therefore new to Gtkd. By day I'm an android developer using Kotlin and most of my hobby projects are in Go. So far I've enjoyed my time working in D. I've been working on this project, https://gitlab.com/kendellfab/rest-scope, a rest testing project much like postman. So far I've had no problems building this project with DUB. However I want to move over to meson so that I can build it for flatpak. I am finding that I am unable to build with meson. I've had two issues. First, I was unable to find the dependencies wit this, gtkd_dep = dependency('gtk-d:gtkd', version: '~>3.9.0', method: 'dub'). This dep is added to the dependencies array passed to the executable. The build would fail as it could not find the gsv.SourceView. I was able to fix this issue, by passing in a directory to the dependency array, such as this. declaredependency(includedirectories: packagedir + '/gtk-d-3.9.0/gtk-d/generated/sourceview'). The packagedir string being set by an option with generating the meson build directory, this is to my home folder .dub directory. But this created a new build issue with the linker. The linker can not find the source view objects to link with the executable. So again my builds are failing. But I'm unsure where to find the object files for the linker to link in. Does any one have any insights on how I could get this project to build? -- Cross post from gtkd forum |
March 10, 2020 Re: Introduction and request for help | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kendell | On Monday, 9 March 2020 at 22:48:35 UTC, Kendell wrote: > Hey Everyone, > > I'm a new D developer and therefore new to Gtkd. > So far I've had no problems building this project with DUB. However I want to move over to meson so that I can build it for flatpak. I am finding that I am unable to build with meson. Hi Kendell, If I may be so bold... Welcome to the D forum. I also saw your post over on the GtkD forum. I didn't want you to think everyone's ignoring you, but... I can't help you, but sometimes when someone (in this case, me) jumps in with an initial reply, it attracts more attention to a thread. Mike, the guy who moderates the GtkD forum may be quite busy ATM which may be why he didn't reply. Here's hoping someone will notice your plea. |
March 10, 2020 Re: Introduction and request for help | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ron Tarrant Attachments:
| On Tue, 2020-03-10 at 14:18 +0000, Ron Tarrant via Digitalmars-d-learn wrote: > On Monday, 9 March 2020 at 22:48:35 UTC, Kendell wrote: > > > Hey Everyone, > > > > I'm a new D developer and therefore new to Gtkd. > > So far I've had no problems building this project with DUB. > > However I want to move over to meson so that I can build it for > > flatpak. I am finding that I am unable to build with meson. > > […] > > Here's hoping someone will notice your plea. I have got stuck in to this on the GtkD forum. -- Russel. =========================================== Dr Russel Winder t: +44 20 7585 2200 41 Buckmaster Road m: +44 7770 465 077 London SW11 1EN, UK w: www.russel.org.uk |
March 10, 2020 Re: Introduction and request for help | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kendell | On Monday, 9 March 2020 at 22:48:35 UTC, Kendell wrote: > > > Hey Everyone, > > I'm a new D developer and therefore new to Gtkd. By day I'm an android developer using Kotlin and most of my hobby projects are in Go. > > [...] I opened an issue about a year ago when I started playing around with d. looks like a similar problem. https://github.com/mesonbuild/meson/issues/4761 |
Copyright © 1999-2021 by the D Language Foundation