View previous topic :: View next topic |
Author |
Message |
ChobinYY Apprentice
Joined: 23 Mar 2006 Posts: 156
|
Posted: Wed Nov 08, 2006 10:10 pm Post subject: [Risolto] problema compilazione gtkglarea |
|
|
Mi da questo errore, qualcuno sa come facci oa risolvere
Code: | In file included from gdkgl.c:20:
gdkgl.h:22:18: error: glib.h: No such file or directory
gdkgl.h:31:21: error: gdk/gdk.h: No such file or directory
In file included from gdkgl.c:20:
gdkgl.h:77: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gdk_gl_query'
gdkgl.h:78: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
gdkgl.h:80: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
gdkgl.h:81: error: expected ')' before '*' token
gdkgl.h:83: error: expected ')' before '*' token
gdkgl.h:84: error: expected ')' before '*' token
gdkgl.h:85: error: expected declaration specifiers or '...' before 'gint'
gdkgl.h:90: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gdk_gl_make_current'
gdkgl.h:91: error: expected ')' before '*' token
gdkgl.h:102: error: expected ')' before '*' token
gdkgl.h:106: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gdk_gl_pixmap_make_current'
gdkgl.h:110: error: expected ')' before '*' token
gdkgl.c:22:22: error: gdk/gdkx.h: No such file or directory
gdkgl.c:30: error: expected ')' before '*' token
gdkgl.c:59: error: expected specifier-qualifier-list before 'guint'
gdkgl.c:65: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gdk_gl_query'
gdkgl.c:71: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
gdkgl.c:82: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
gdkgl.c:100: error: expected ')' before '*' token
gdkgl.c:122: error: expected ')' before '*' token
gdkgl.c:128: error: expected ')' before '*' token
gdkgl.c:158: error: expected declaration specifiers or '...' before 'gint'
gdkgl.c: In function 'gdk_gl_context_attrlist_share_new':
gdkgl.c:160: error: 'GdkVisual' undeclared (first use in this function)
gdkgl.c:160: error: (Each undeclared identifier is reported only once
gdkgl.c:160: error: for each function it appears in.)
gdkgl.c:160: error: 'visual' undeclared (first use in this function)
gdkgl.c:162: error: 'direct' undeclared (first use in this function)
gdkgl.c:162: warning: return makes pointer from integer without a cast
gdkgl.c: In function 'gdk_gl_context_ref':
gdkgl.c:172: error: 'GdkGLContextPrivate' has no member named 'ref_count'
gdkgl.c: In function 'gdk_gl_context_unref':
gdkgl.c:183: error: 'GdkGLContextPrivate' has no member named 'ref_count'
gdkgl.c:185: error: 'GdkGLContextPrivate' has no member named 'ref_count'
gdkgl.c: At top level:
gdkgl.c:198: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gdk_gl_make_current'
gdkgl.c:217: error: expected ')' before '*' token
gdkgl.c:240: error: expected specifier-qualifier-list before 'GdkPixmap'
gdkgl.c:247: error: expected ')' before '*' token
gdkgl.c: In function 'gdk_gl_pixmap_ref':
gdkgl.c:291: error: 'GdkGLPixmapPrivate' has no member named 'ref_count'
gdkgl.c: In function 'gdk_gl_pixmap_unref':
gdkgl.c:302: error: 'GdkGLPixmapPrivate' has no member named 'ref_count'
gdkgl.c:304: error: 'GdkGLPixmapPrivate' has no member named 'ref_count'
gdkgl.c:310: error: 'GdkGLPixmapPrivate' has no member named 'front_left'
gdkgl.c: At top level:
gdkgl.c:317: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gdk_gl_pixmap_make_current'
gdkgl.c:334: error: expected ')' before '*' token
In file included from gtkglarea.c:19:
gdkgl.h:22:18: error: glib.h: No such file or directory
gdkgl.h:31:21: error: gdk/gdk.h: No such file or directory
In file included from gtkglarea.c:19:
gdkgl.h:77: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gdk_gl_query'
gdkgl.h:78: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
gdkgl.h:80: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
gdkgl.h:81: error: expected ')' before '*' token
gdkgl.h:83: error: expected ')' before '*' token
gdkgl.h:84: error: expected ')' before '*' token
gdkgl.h:85: error: expected declaration specifiers or '...' before 'gint'
gdkgl.h:90: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gdk_gl_make_current'
gdkgl.h:91: error: expected ')' before '*' token
gdkgl.h:102: error: expected ')' before '*' token
gdkgl.h:106: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gdk_gl_pixmap_make_current'
gdkgl.h:110: error: expected ')' before '*' token
In file included from gtkglarea.c:20:
gtkglarea.h:25:32: error: gtk/gtkdrawingarea.h: No such file or directory
In file included from gtkglarea.c:20:
gtkglarea.h:46: error: expected specifier-qualifier-list before 'GtkDrawingArea'
gtkglarea.h:52: error: expected specifier-qualifier-list before 'GtkDrawingAreaClass'
gtkglarea.h:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gtk_gl_area_get_type'
gtkglarea.h:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
gtkglarea.h:57: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
gtkglarea.h:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
gtkglarea.h:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gtk_gl_area_make_current'
gtkglarea.h:65: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gtk_gl_area_begingl'
gtkglarea.h:72: error: expected declaration specifiers or '...' before 'gint'
gtkglarea.h:73: error: expected declaration specifiers or '...' before 'gint'
gtkglarea.c:26: error: expected ')' before '*' token
gtkglarea.c:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
gtkglarea.c:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gtk_gl_area_get_type'
gtkglarea.c: In function 'gtk_gl_area_class_init':
gtkglarea.c:61: error: 'GtkObjectClass' undeclared (first use in this function)
gtkglarea.c:61: error: (Each undeclared identifier is reported only once
gtkglarea.c:61: error: for each function it appears in.)
gtkglarea.c:61: error: 'object_class' undeclared (first use in this function)
gtkglarea.c:63: error: 'parent_class' undeclared (first use in this function)
gtkglarea.c:64: error: expected expression before ')' token
gtkglarea.c:66: error: 'gtk_gl_area_destroy' undeclared (first use in this function)
gtkglarea.c: In function 'gtk_gl_area_init':
gtkglarea.c:73: error: 'GtkGLArea' has no member named 'glcontext'
gtkglarea.c:74: error: 'FALSE' undeclared (first use in this function)
gtkglarea.c: At top level:
gtkglarea.c:79: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
gtkglarea.c:108: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
gtkglarea.c:114: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
gtkglarea.c:166: error: expected ')' before '*' token
gtkglarea.c:185: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gtk_gl_area_make_current'
gtkglarea.c:195: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gtk_gl_area_begingl'
gtkglarea.c: In function 'gtk_gl_area_swap_buffers':
gtkglarea.c:219: error: invalid type argument of '->'
gtkglarea.c: At top level:
gtkglarea.c:222: error: expected declaration specifiers or '...' before 'gint'
gtkglarea.c:222: error: expected declaration specifiers or '...' before 'gint'
gtkglarea.c: In function 'gtk_gl_area_size':
gtkglarea.c:227: error: 'width' undeclared (first use in this function)
gtkglarea.c:227: error: 'height' undeclared (first use in this function)
make[1]: *** [gdkgl.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [gtkglarea.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtkglarea-1.99.0/work/gtkglarea-1.99.0/gtkgl'
make: *** [all-recursive] Error 1
!!! ERROR: x11-libs/gtkglarea-1.99.0 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
ebuild.sh, line 1255: Called gnome2_src_compile
gnome2.eclass, line 64: Called die
!!! compile failure
!!! If you need support, post the topmost build error, and the call stack if relevant.
|
Last edited by ChobinYY on Thu Nov 09, 2006 12:17 am; edited 1 time in total |
|
Back to top |
|
|
.:chrome:. Advocate
Joined: 19 Feb 2005 Posts: 4588 Location: Brescia, Italy
|
Posted: Wed Nov 08, 2006 10:27 pm Post subject: Re: problema compilazione gtkglarea |
|
|
Code: | gdkgl.h:22:18: error: glib.h: No such file or directory
gdkgl.h:31:21: error: gdk/gdk.h: No such file or directory |
questo sarebbe già un punto di partenza.
ma non molti giorni fa mi pare sia passato un altro thread sulla compilazione di gtkglarea |
|
Back to top |
|
|
ChobinYY Apprentice
Joined: 23 Mar 2006 Posts: 156
|
Posted: Wed Nov 08, 2006 11:02 pm Post subject: |
|
|
aveva lo stesso mio problema? |
|
Back to top |
|
|
MeMyselfAndI l33t
Joined: 15 Nov 2005 Posts: 784 Location: Between the monitor and the chair
|
Posted: Wed Nov 08, 2006 11:08 pm Post subject: |
|
|
fare uno sforzo e digitare 6 lettere nel quick search? |
|
Back to top |
|
|
ChobinYY Apprentice
Joined: 23 Mar 2006 Posts: 156
|
Posted: Wed Nov 08, 2006 11:11 pm Post subject: |
|
|
ti ringrazio della risposta, l'ho già fatto... |
|
Back to top |
|
|
MeMyselfAndI l33t
Joined: 15 Nov 2005 Posts: 784 Location: Between the monitor and the chair
|
Posted: Wed Nov 08, 2006 11:13 pm Post subject: |
|
|
e hai risolto? no perche' l'ho fatto anche io giusto per vedere quanti secondi ci avrei messo per trovare questo |
|
Back to top |
|
|
ChobinYY Apprentice
Joined: 23 Mar 2006 Posts: 156
|
Posted: Thu Nov 09, 2006 12:17 am Post subject: |
|
|
Ho risolto adesso, scusami per la risposta che può sembrare un pò sgarbata. Ho visto un casino di thread prima di risolvere. Ti ringrazio ciao |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|