GTK errors with Visual C++

From: Alexander Lefter (alefter_at_rogers.com)
Date: 11/29/03


Date: Sat, 29 Nov 2003 20:45:21 GMT

I am desperatelly trying to build a C project using GTK with Visual C++.
Maybe
someone here can help, cause I didn't get any feedback from the GTK list. I
get a lot of those errros:

c:\wingtk\gtk+-2.2.0\gtk\gtkclipboard.h(58) : error C2143: syntax error :
missing '{' before '*'
c:\wingtk\gtk+-2.2.0\gtk\gtkclipboard.h(58) : error C2143: syntax error :
missing ')' before '*'
c:\wingtk\gtk+-2.2.0\gtk\gtkclipboard.h(58) : error C2143: syntax error :
missing '{' before '*'
c:\wingtk\gtk+-2.2.0\gtk\gtkclipboard.h(58) : error C2059: syntax error :
')'

where
#define GTK_TYPE_CLIPBOARD (gtk_clipboard_get_type ())
#define GTK_CLIPBOARD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),
GTK_TYPE_CLIPBOARD, GtkClipboard))
#define GTK_IS_CLIPBOARD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),
GTK_TYPE_CLIPBOARD))

....
line 58: GdkDisplay *gtk_clipboard_get_display (GtkClipboard
*clipboard);

Thank you.



Relevant Pages

  • GTK errors with Visual C++
    ... I am desperatelly trying to build a project using GTK with Visual C++. ... cause I didn't get any feedback from the GTK list. ... missing '{' before '*' ...
    (comp.lang.c)
  • Re: libgtkhtml: need help with compilation error
    ... definitely looks like you're missing a library there. ... That's per google and I'm no ... My GTK does not ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • [SLE] libgtk2-dev ?
    ... script gives me an error which says libgtk2-dev is missing. ... I've gtk, ...
    (SuSE)
  • Re: libgtkhtml: need help with compilation error
    ... definitely looks like you're missing a library there. ... That's per google and I'm no ... dev. ... My GTK does not ...
    (Debian-User)
  • Re: [SLE] RE: Mplayer compile issue
    ... > Yes, you're right, moreover gtk-dev was missing too ... > (somebody mentioned that error in response to my ... Checking for gtk version ... ...
    (SuSE)