Compilation Problem
- From: "MERT TUGCU" <merttugcu hotmail com>
- To: gtkmm-list gnome org
- Subject: Compilation Problem
- Date: Thu, 15 Sep 2005 16:01:44 -0500
Hi everone,
I am having a compilation problem here it goes:
g++ main.cpp src/*.cpp -o main `pkg-config gtkmm-2.4 --cflags --libs`
-I/usr/X11R6/include -L/usr/X11R6/lib -lXv -lraw1394 -lpthread -ldv -O3
In file included from /usr/include/glibmm-2.4/glibmm/interface.h:24,
from /usr/include/glibmm-2.4/glibmm.h:38,
from /usr/include/gtkmm-2.4/gtkmm/drawingarea.h:6,
from src/../include/XvDisplayer.h:10,
from src/XvDisplayer.cpp:5:
/usr/include/glibmm-2.4/glibmm/object.h:117: error: expected unqualified-id
before numeric constant
/usr/include/glibmm-2.4/glibmm/object.h:117: error: expected `)' before
numeric constant
/usr/include/glibmm-2.4/glibmm/object.h:118: error: expected identifier
before numeric constant
/usr/include/glibmm-2.4/glibmm/object.h:118: error: expected `,' or `...'
before numeric constant
/usr/include/glibmm-2.4/glibmm/object.h:118: error: ISO C++ forbids
declaration of `parameter' with no type
In file included from /usr/include/gdkmm-2.4/gdkmm/gc.h:31,
from /usr/include/gdkmm-2.4/gdkmm/drawable.h:33,
from /usr/include/gdkmm-2.4/gdkmm/window.h:27,
from /usr/include/gdkmm-2.4/gdkmm/event.h:28,
from /usr/include/gtkmm-2.4/gtkmm/widget.h:31,
from /usr/include/gtkmm-2.4/gtkmm/drawingarea.h:29,
from src/../include/XvDisplayer.h:10,
from src/XvDisplayer.cpp:5:
/usr/include/gdkmm-2.4/gdkmm/types.h:186: error: expected identifier before
"int"
/usr/include/gdkmm-2.4/gdkmm/types.h:187: error: expected unqualified-id
before '{' token
/usr/include/gdkmm-2.4/gdkmm/types.h:187: error: expected `,' or `;' before
'{' token
/usr/include/gdkmm-2.4/gdkmm/types.h:203: error: missing `>' to terminate
the template argument list
/usr/include/gdkmm-2.4/gdkmm/types.h:203: error: template argument 1 is
invalid
/usr/include/gdkmm-2.4/gdkmm/types.h:203: error: expected unqualified-id
before '>' token
/usr/include/gdkmm-2.4/gdkmm/types.h:203: error: expected `;' before '>'
token
All my header files have #ifndef statement and I don't know what the problem
is. Any help is greatly appreciated. Thank you for your time.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]