By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,169 Members | 1,059 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,169 IT Pros & Developers. It's quick & easy.

GTK errors with Visual C++

P: n/a
I am desperatelly trying to build a 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);
Nov 13 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Alexander Lefter <al*****@rogers.com> wrote:
I am desperatelly trying to build a project using GTK with Visual C++. Maybe


Neither GTK nor C++ are topic of this Newsgroup. You maybe want to ask your
question in a C++ group or on the GTK mailing list.
Flo
--
"Wir muessen die Rechte der Andersdenkenden selbst dann beachten, wenn
sie Idioten oder schaedlich sind. Wir muessen aufpassen. Wachsamkeit ist
der Preis der Freiheit --- Keine Zensur!" - Wau Holland
Nov 13 '05 #2

P: n/a
Florian Weingarten wrote:
Alexander Lefter <al*****@rogers.com> wrote:
I am desperatelly trying to build a project using GTK with Visual C++. Maybe

Neither GTK nor C++ are topic of this Newsgroup. You maybe want to ask your
question in a C++ group or on the GTK mailing list.


Flo,
GTK+ is C, not C++, Visual C++ is also a C compiler, and (please read)
the OP posted here since he didn't get answer on the GTK mailing list.

That being said, I agree that neither GTK+ nor C++ nor Visual C++ are
topical here !-)

Nov 13 '05 #3

P: n/a
Alexander Lefter wrote:
I am desperatelly trying to build a 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);


Alexander,
Since you're using wingtk, the most specific mailing-list is here :
https://lists.sourceforge.net/lists/.../wingtk-wglade

which you could have found by yourself if you had taken the time to
google for wingtk, click the first link and Read the Fucking Page(tm).

Bruno

Nov 13 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.