Re: Makefile problem
- From: johannes_vuori web de
- To: gtkmm-list gnome org
- Subject: Re: Makefile problem
- Date: Fri, 11 Aug 2006 13:32:19 +0200
Hi,
thanks for the quick response. I have probably done something wrong since the same error output still comes (attached in a file). Here is what the Makefile looks like now:
#########################
main: functions/main.o functions/graphics/grph_init.o
g++ -o main functions/main.o functions/graphics/graph_init.o `--libs`
main.o: main.cpp functions/needed/main.h
g++ -c functions/main.cpp `--cflags`
grph_init.o: grph_init.cpp
g++ -c `gtkmm-config --cflags` functions/graphics/grph_init.cpp
#########################
To give some more information:
System: Linux 64-bit Suse 9.3
gtkmm-version: 1.2.10
Johannes
_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000071
johannes first-one:~> g++ -c -o functions/graphics/grph_init.o
functions/graphics/grph_init.cpp
In file included from functions/graphics/grph_init.cpp:1:
/usr/local/include/gtk--/main.h:27:25: gtk/gtkmain.h: No such file or
directory
In file included from /usr/local/include/gtk--/main.h:28,
from functions/graphics/grph_init.cpp:1:
/usr/local/include/gtk--/base.h:27:25: gtk--config.h: No such file or
directory
In file included from /usr/local/include/gtk--/base.h:33,
from /usr/local/include/gtk--/main.h:28,
from functions/graphics/grph_init.cpp:1:
/usr/local/include/gdk--.h:27:21: gdk/gdk.h: No such file or directory
In file included from /usr/local/include/gdk--.h:28,
from /usr/local/include/gtk--/base.h:33,
from /usr/local/include/gtk--/main.h:28,
from functions/graphics/grph_init.cpp:1:
/usr/local/include/gdk--/types.h:26:21: gdk/gdk.h: No such file or
directory
/usr/local/include/gdk--/types.h:27:25: gdk--config.h: No such file or
directory
/usr/local/include/gdk--/types.h:38:29: gtk/gtkfeatures.h: No such file or
directory
In file included from /usr/local/include/gdk--.h:28,
from /usr/local/include/gtk--/base.h:33,
from /usr/local/include/gtk--/main.h:28,
from functions/graphics/grph_init.cpp:1:
/usr/local/include/gdk--/types.h:77: error: syntax error before `;' token
/usr/local/include/gdk--/types.h:342: error: `GdkColorContextDither' was
not
declared in this scope
/usr/local/include/gdk--/types.h:342: error: template argument 1 is
invalid
/usr/local/include/gdk--/types.h:342: error: invalid base-class
specification
/usr/local/include/gdk--/types.h:343: error: `GdkColorContext' was not
declared
in this scope
/usr/local/include/gdk--/types.h:343: error: template argument 1 is
invalid
/usr/local/include/gdk--/types.h:343: error: invalid base-class
specification
/usr/local/include/gdk--/types.h:344: error: `GdkGCValues' was not
declared in
this scope
/usr/local/include/gdk--/types.h:344: error: template argument 1 is
invalid
/usr/local/include/gdk--/types.h:344: error: invalid base-class
specification
/usr/local/include/gdk--/types.h:358: error: `GdkWindowAttr' was not
declared
in this scope
/usr/local/include/gdk--/types.h:358: error: template argument 1 is
invalid
/usr/local/include/gdk--/types.h:358: error: invalid base-class
specification
/usr/local/include/gdk--/types.h:359: error: `GdkDeviceKey' was not
declared in
this scope
/usr/local/include/gdk--/types.h:359: error: template argument 1 is
invalid
/usr/local/include/gdk--/types.h:359: error: invalid base-class
specification
/usr/local/include/gdk--/types.h:360: error: `GdkDeviceInfo' was not
declared
in this scope
/usr/local/include/gdk--/types.h:360: error: template argument 1 is
invalid
/usr/local/include/gdk--/types.h:360: error: invalid base-class
specification
/usr/local/include/gdk--/types.h:361: error: `GdkTimeCoord' was not
declared in
this scope
/usr/local/include/gdk--/types.h:361: error: template argument 1 is
invalid
/usr/local/include/gdk--/types.h:361: error: invalid base-class
specification
/usr/local/include/gdk--/types.h:362: error: `GdkRegion' was not declared
in
this scope
/usr/local/include/gdk--/types.h:362: error: template argument 1 is
invalid
/usr/local/include/gdk--/types.h:362: error: invalid base-class
specification
In file included from /usr/local/include/gdk--/types.h:365,
from /usr/local/include/gdk--.h:28,
from /usr/local/include/gtk--/base.h:33,
from /usr/local/include/gtk--/main.h:28,
from functions/graphics/grph_init.cpp:1:
/usr/local/include/gdk--/color.h:32:21: gdk/gdk.h: No such file or
directory
In file included from /usr/local/include/gdk--/types.h:365,
from /usr/local/include/gdk--.h:28,
from /usr/local/include/gtk--/base.h:33,
from /usr/local/include/gtk--/main.h:28,
from functions/graphics/grph_init.cpp:1:
/usr/local/include/gdk--/color.h:46: error: syntax error before `{' token
/usr/local/include/gdk--/color.h:52: error: syntax error before `*' token
/usr/local/include/gdk--/color.h:56: error: syntax error before `const'
/usr/local/include/gdk--/color.h:57: error: syntax error before `const'
/usr/local/include/gdk--/color.h:58: error: syntax error before `const'
/usr/local/include/gdk--/color.h:59: error: syntax error before `const'
/usr/local/include/gdk--/color.h:60: error: destructors must be member
functions
/usr/local/include/gdk--/color.h:62: error: syntax error before `*' token
/usr/local/include/gdk--/color.h:63: error: syntax error before `*' token
/usr/local/include/gdk--/color.h:65: error: syntax error before `&' token
/usr/local/include/gdk--/color.h:66: error: `bool operator==(...)' must
have an
argument of class or enumerated type
/usr/local/include/gdk--/color.h:66: error: `bool operator==(...)' must
take
exactly two arguments
/usr/local/include/gdk--/color.h: In function `bool operator==(...)':
/usr/local/include/gdk--/color.h:67: error: `color' undeclared (first use
this
function)
/usr/local/include/gdk--/color.h:67: error: (Each undeclared identifier is
reported only once for each function it appears in.)
/usr/local/include/gdk--/color.h:67: error: `equal' undeclared (first use
this
function)
/usr/local/include/gdk--/color.h: At global scope:
/usr/local/include/gdk--/color.h:70: error: syntax error before `&' token
/usr/local/include/gdk--/color.h:72: error: `gushort' was not declared in
this
scope
/usr/local/include/gdk--/color.h:72: error: syntax error before `)' token
/usr/local/include/gdk--/color.h: In function `void set_grey(...)':
/usr/local/include/gdk--/color.h:74: error: `red' undeclared (first use
this
function)
/usr/local/include/gdk--/color.h:74: error: `green' undeclared (first use
this
function)
/usr/local/include/gdk--/color.h:74: error: `blue' undeclared (first use
this
function)
/usr/local/include/gdk--/color.h:74: error: `g' undeclared (first use this
function)
/usr/local/include/gdk--/color.h: At global scope:
/usr/local/include/gdk--/color.h:77: error: syntax error before `)' token
/usr/local/include/gdk--/color.h: In function `void set_grey_p(...)':
/usr/local/include/gdk--/color.h:79: error: `gushort' undeclared (first
use
this function)
/usr/local/include/gdk--/color.h: At global scope:
/usr/local/include/gdk--/color.h:82: error: `gushort' was not declared in
this
scope
/usr/local/include/gdk--/color.h:82: error: syntax error before `,' token
/usr/local/include/gdk--/color.h: In function `void set_rgb(...)':
/usr/local/include/gdk--/color.h:84: error: `red_' undeclared (first use
this
function)
/usr/local/include/gdk--/color.h:85: error: `green_' undeclared (first use
this
function)
/usr/local/include/gdk--/color.h:86: error: `blue_' undeclared (first use
this
function)
/usr/local/include/gdk--/color.h: At global scope:
/usr/local/include/gdk--/color.h:89: error: syntax error before `,' token
/usr/local/include/gdk--/color.h:96: error: `gdouble' was not declared in
this
scope
/usr/local/include/gdk--/color.h:96: error: syntax error before `,' token
/usr/local/include/gdk--/color.h:97: error: `gdouble' was not declared in
this
scope
/usr/local/include/gdk--/color.h:97: error: syntax error before `,' token
/usr/local/include/gdk--/color.h:99: error: syntax error before `::' token
/usr/local/include/gdk--/color.h:100: error: syntax error before `::'
token
/usr/local/include/gdk--/color.h:103: error: syntax error before `)' token
/usr/local/include/gdk--/color.h:104: error: syntax error before `)' token
/usr/local/include/gdk--/color.h:105: error: syntax error before `)' token
/usr/local/include/gdk--/color.h:107: error: `gushort' was not declared in
this
scope
/usr/local/include/gdk--/color.h:107: error: syntax error before `)' token
/usr/local/include/gdk--/color.h: In function `void set_red(...)':
/usr/local/include/gdk--/color.h:107: error: `r' undeclared (first use
this
function)
/usr/local/include/gdk--/color.h: At global scope:
/usr/local/include/gdk--/color.h:108: error: syntax error before `)' token
/usr/local/include/gdk--/color.h:109: error: `gushort' was not declared in
this
scope
/usr/local/include/gdk--/color.h:109: error: syntax error before `)' token
/usr/local/include/gdk--/color.h: In function `void set_blue(...)':
/usr/local/include/gdk--/color.h:109: error: `b' undeclared (first use
this
function)
/usr/local/include/gdk--/color.h: At global scope:
/usr/local/include/gdk--/color.h:111: error: syntax error before `)' token
/usr/local/include/gdk--/color.h:113: error: syntax error before `)' token
/usr/local/include/gdk--/color.h:114: error: syntax error before `)' token
/usr/local/include/gdk--/color.h:115: error: syntax error before `)' token
/usr/local/include/gdk--/color.h:119: error: syntax error before `&' token
/usr/local/include/gdk--/color.h:120: error: syntax error before `&' token
In file included from /usr/local/include/gdk--.h:28,
from /usr/local/include/gtk--/base.h:33,
from /usr/local/include/gtk--/main.h:28,
from functions/graphics/grph_init.cpp:1:
/usr/local/include/gdk--/types.h:367: error: `GdkPoint' was not declared
in
this scope
/usr/local/include/gdk--/types.h:368: error: template argument 1 is
invalid
/usr/local/include/gdk--/types.h:368: error: invalid base-class
specification
/usr/local/include/gdk--/types.h:371: error: syntax error before `(' token
/usr/local/include/gdk--/types.h:371: error: syntax error before `(' token
/usr/local/include/gdk--/types.h:376: error: ISO C++ forbids defining
types
within return type
/usr/local/include/gdk--/types.h:376: error: semicolon missing after
declaration of `class Gdk_Point'
/usr/local/include/gdk--/types.h: In function `int Gdk_Point()':
/usr/local/include/gdk--/types.h:376: error: only constructors take base
initializers
/usr/local/include/gdk--/types.h:376: error: `GdkPoint' undeclared (first
use
this function)
/usr/local/include/gdk--/types.h:376: error: template argument 1 is
invalid
/usr/local/include/gdk--/types.h:376: confused by earlier errors, bailing
out
make: *** [functions/graphics/grph_init.o] Error 1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]