digitalmars.D.learn - Introduction and request for help
- Kendell (28/28) Mar 09 2020 Hey Everyone,
- Ron Tarrant (11/16) Mar 10 2020 Hi Kendell,
- Russel Winder (10/22) Mar 10 2020 I have got stuck in to this on the GtkD forum.
- Ferhat =?UTF-8?B?S3VydHVsbXXFnw==?= (4/9) Mar 10 2020 I opened an issue about a year ago when I started playing around
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
Mar 09 2020
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.
Mar 10 2020
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: =20I have got stuck in to this on the GtkD forum. --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Dr Russel Winder t: +44 20 7585 2200 41 Buckmaster Road m: +44 7770 465 077 London SW11 1EN, UK w: www.russel.org.ukHey Everyone, =20 I'm a new D developer and therefore new to Gtkd. So far I've had no problems building this project with DUB.=20 However I want to move over to meson so that I can build it for=20 flatpak. I am finding that I am unable to build with meson.=20 [=E2=80=A6] =20 Here's hoping someone will notice your plea.
Mar 10 2020
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
Mar 10 2020