RE: [gtkmm] Problems compiling simple program
- From: Murray Cumming Comneon com
- To: darksidex charter net, gtkmm-list gnome org
- Subject: RE: [gtkmm] Problems compiling simple program
- Date: Fri, 23 May 2003 11:46:58 +0200
gtkmm 2.2.2 was horribly broken. Please try gtkmm 2.2.3.
Murray Cumming
murrayc usa net
www.murrayc.com
> -----Original Message-----
> From: DarkSide [mailto:darksidex charter net]
> Sent: Freitag, 23. Mai 2003 11:44
> To: gtkmm-list gnome org
> Subject: [gtkmm] Problems compiling simple program
>
>
> When I try to compile a simple program that uses gtkmm, I get
> the following error:
>
> g++ -Wall main.C -o main `pkg-config gtkmm-2.0 --cflags --libs`
> /usr/lib/gcc-lib/i386-slackware-linux/3.2.2/../../../../i386-s
> lackware-linux/bin/ld: cannot find -lgtkmm-2.0
> collect2: ld returned 1 exit status
>
> gtkmm is installed in /usr/local/lib. That directory is
> listed in /etc/ld.so.conf, ldconfig has been re-run.
>
> Also, if I try to create a MessageDialog object, I get
> "MessageDialog undeclared in namespace Gtk".
>
> What am I doing wrong? I'm using gtkmm 2.2.2 and gtk+ 2.2.1
> on Slackware 9.0, gcc 3.2.2
>
> thanks,
> -darkside
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]