:: Re: [DNG] gcc error: "error: unknow…
Top Pagina
Delete this message
Reply to this message
Auteur: Edward Bartolo
Datum:  
Aan: aitor_czr
CC: dng
Oude Onderwerpen: Re: [DNG] gcc error: "error: unknown type name,‘GtkObject’"
Onderwerp: Re: [DNG] gcc error: "error: unknown type name,‘GtkObject’"
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_czr@???> 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 <edbarx@???> 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
>
>