gstreamermm: source file error: '/usr/include/gdkmm-2.4/gdkmm/types.h'



Hello everybody,

I am trying to create a small music player program in GStreamermm-0.10. I did according to the example provided in gtkmm-0.10-10 source code. However, when I tried to compiled, the program gave the following error:

g++ -Wall -g -c /home/phongcao/dingo/dingo-backend.cc `pkg-config --cflags --libs gtkmm-2.4 taglib gstreamermm-0.10 gtk+-2.0`
In file included from /usr/include/gdkmm-2.4/gdkmm/region.h:66:0,
                 from /usr/include/gdkmm-2.4/gdkmm/screen.h:32,
                 from /usr/include/gdkmm-2.4/gdkmm.h:27,
                 from /usr/include/gtkmm-2.4/gtkmm.h:89,
                 from /home/phongcao/dingo/dingo-backend.h:25,
                 from /home/phongcao/dingo/dingo-backend.cc:1:
/usr/include/gdkmm-2.4/gdkmm/types.h:189:6: error: expected identifier before ‘int’
/usr/include/gdkmm-2.4/gdkmm/types.h:190:1: error: expected unqualified-id before ‘{’ token
/usr/include/gdkmm-2.4/gdkmm/types.h:206:24: error: template argument 1 is invalid
/usr/include/gdkmm-2.4/gdkmm/types.h:206:63: error: template argument 1 is invalid

I am not sure if this is my program's error or error in gtkmmproc. Has anyone experienced this problem so far?

--
Phong V. Cao
phngcv gmail com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]