Re: [DNG] gcc error: "error: unknown type name, ‘GtkObject’"

2015-11-29 Thread aitor_czr
You have to use g++ instead of gcc: g++ -export-dynamic -o listview ListView.cpp `pkg-config --libs--cflags gtkmm-3.0` If g++ doesn't find the headers , use the Makefile. I just also pushed a CMakeList.txt. Aitor. On 11/30/2015 07:46 AM, Edward Bartolo wrote: Hi Aitor, I downloaded both

Re: [DNG] problems with CUPS

2015-11-29 Thread Dr. Nikolaus Klepp
Hi! Have you tried this: # apt-get install cups=1.7.5-11+deb8u1.0nosystemd1 Nik Am Montag, 30. November 2015 schrieb Antonio Trkdz.tab: > Dear All, > > I finally removed systemd from my devuan system with: apt-get purge systemd > libsystemd0 libsystemd-daemon0. > > I would like to install CU

Re: [DNG] gcc error: "error: unknown type name, ‘GtkObject’"

2015-11-29 Thread Edward Bartolo
Hi Aitor, I downloaded both the cpp and ui file and tried to compile them into an executable using this command: gcc -export-dynamic -o ListView ListView.cpp `pkg-config --libs --cflags gtk+-3.0 gtkmm-3.0` Compilation failed with: /usr/bin/ld: /tmp/ccWunzkf.o: undefined reference to symbol '_ZNS

[DNG] problems with CUPS

2015-11-29 Thread Antonio Trkdz.tab
Dear All, I finally removed systemd from my devuan system with: apt-get purge systemd libsystemd0 libsystemd-daemon0. I would like to install CUPS from angband.pl repo as suggested, but when I issue: apt-get install -t nosystemd cups cups-client I get this: ... The following packages have unmet

Re: [DNG] gcc error: "error: unknown type name, ‘GtkObject’"

2015-11-29 Thread aitor_czr
Hi Edward, Here you are an example of a GtkTreeView (ListStore model) using Gtkmm: https://gitlab.com/aitor_cz/ListView/tree/master How to build: make -f Makefile HTH, Aitor. On 11/29/2015 10:06 PM, Edward Bartolo wrote: Hi All, But as usual with GUI programming in C or C++, in this ca

Re: [DNG] gcc error: "error: unknown type name ‘GtkObject’"

2015-11-29 Thread Roger Leigh
On 29/11/2015 16:51, Edward Bartolo wrote: Hi Aitor, Thanks for taking some time to answer my question. I did as you instructed me and successfully compile and run the test program. However, the test program failed to close even though I closed its window. I had to kill it using Ctrl + C. g_si

Re: [DNG] gcc error: "error: unknown type name ‘GtkObject’"

2015-11-29 Thread Edward Bartolo
Hi All, But as usual with GUI programming in C or C++, in this case gtk3, the way to access components, subcomponents and their data, is extremely contorted. Edward On 29/11/2015, Edward Bartolo wrote: > Hi All, > > Finally I succeeded to create a simple window with a button and a > multiline t

[DNG] involuntary humour

2015-11-29 Thread Rainer Weikusat
(Redacted) version of something someone just posted to clpm: The transition to EL7 was a nightmare [...] Red Hat [...] has some extraordinary programming chaps. NB: I'm honestly convinced to have kept the original meaning intact. _

Re: [DNG] gcc error: "error: unknown type name ‘GtkObject’"

2015-11-29 Thread Edward Bartolo
Hi All, Finally I succeeded to create a simple window with a button and a multiline text box! Edward On 29/11/2015, Edward Bartolo wrote: > Hi Aitor, > > Thanks for taking some time to answer my question. I did as you > instructed me and successfully compile and run the test program. > However,

Re: [DNG] gcc error: "error: unknown type name ‘GtkObject’"

2015-11-29 Thread Edward Bartolo
Hi Aitor, Thanks for taking some time to answer my question. I did as you instructed me and successfully compile and run the test program. However, the test program failed to close even though I closed its window. I had to kill it using Ctrl + C. Thanks On 29/11/2015, aitor_czr wrote: > Hi Edwa