Re: Best practices of using const

2019-02-17 Thread Marco de Wild via Digitalmars-d-learn
On Wednesday, 13 February 2019 at 16:40:18 UTC, H. S. Teoh wrote: On Wed, Feb 13, 2019 at 11:32:46AM +, envoid via Digitalmars-d-learn wrote: Unfortunately, that guarantee also excludes a lot of otherwise useful idioms, like objects that cache data -- a const object cannot cache data

Re: Linux & DMD & GtkD

2019-02-17 Thread Russel Winder via Digitalmars-d-learn
On Sat, 2019-02-16 at 16:28 +, Ron Tarrant via Digitalmars-d-learn wrote: > > […] Apologies for the delay in replying. > It's been almost 20 years since I used Linux and my notes are > long gone. A ton of things have changed. Like, for instance, it > found all my hardware this time,

Error with matplotlib

2019-02-17 Thread Samir via Digitalmars-d-learn
I am trying to run the code from the "Simple Example" listed in the matplotlib-d package page[1] and am running into the following error: $ dub build Performing "debug" build using /usr/home/samir/dlang/dmd-2.082.0/freebsd/bin64/dmd for x86_64. matplotlib-d 0.1.4: building configuration

Re: Linux & DMD & GtkD

2019-02-17 Thread Jordi Sayol via Digitalmars-d-learn
El 17/2/19 a les 15:19, Jordi Sayol ha escrit: > Then you can compile/run a GtkD example contained on gtkd doc archive. To do > that just run the next line: > > $ dmd `pkg-config --cflags --libs gtkd-3` -run > /usr/share/libgtkd3-doc/demos/gtkD/TestWindow/*.d -ofTestWindow Sorry, do not run at

Re: Linux & DMD & GtkD

2019-02-17 Thread Jordi Sayol via Digitalmars-d-learn
El 16/2/19 a les 14:35, Ron Tarrant via Digitalmars-d-learn ha escrit: > Hi guys, > > I finally got a Linux Mint installation happening (very impressed, BTW) and > did the usual HelloWorld.d compile with dmd, but I'm having trouble working > out how to link to GtkD. > > dmd -de -w -m64 -L+gtkd