Hi Aitor, I compiled and run the application successfully.
Edward On 30/11/2015, aitor_czr <aitor_...@gnuinos.org> wrote: > Hi Edward, > > There was a mistake in the CMakeLists.txt. I fixed it and pushed the > commit. > > Here you are a screenshot: > > http://s12.postimg.org/mxp57q8p9/listview.png > > Cheers, > > Aitor. > > On 30/11/15 09:00, aitor_czr <aitor_...@gnuinos.org> wrote: >> 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 <gtkmm.h>, 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 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 >>> >'_ZNSsD1Ev@@GLIBCXX_3.4' >>> >//usr/lib/x86_64-linux-gnu/libstdc++.so.6: error adding symbols: DSO >>> >missing from command line >>> >collect2: error: ld returned 1 exit status >>> > >>> >Thanks for helping me. >>> > >>> >Edward >>> > >>> >On 29/11/2015, aitor_czr<aitor_...@gnuinos.org> wrote: >>>>> >> >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<edb...@gmail.com> wrote: >>>>>>> >>> >>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 > > _______________________________________________ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng