473,511 Members | 14,951 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

GTK errors with Visual C++

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
3 3111
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
1573
by: Gernot Frisch | last post by:
Hi, I get these errors, but I'm totally lost. It's a large cpp file and I don't know where to search for the error, since it does not point to any of my code lines. Can someone suggest where to...
0
2637
by: JW | last post by:
I'm using MSVC7.0 and I'm getting a ton of errors with most of them occurring in cstdio. Any thoughts as to what might cause this? d:\Program Files\Microsoft Visual Studio .NET\Vc7...
2
4916
by: errmaker | last post by:
hi i have msdn tcp/ip sample : #include "stdafx.h" //int _tmain(int argc, _TCHAR* argv) //{ // return 0;
2
4676
by: dejavue82 | last post by:
Does anybody know how to resolve the following errors? They were caused by the designer.cs file that was auto-generated by the LINQ to SQL designer. I am using the March 2007 Orcas CTP version of...
8
3165
by: ftjonsson | last post by:
hello, I was wondering if anyone could tips me on what I am doing wrong when writing the following code: #include <iostream> using namespace std; int main () {
2
3066
by: Manikandan | last post by:
Hi, I have a program written in .Net Framework 1.1 using Visual studio enterprise edition 2003. I tried compiling the same program in visual c# express edition 2005. I'm getting following...
4
2796
by: rhivka | last post by:
I'm going to try to keep this question within the student posting guidelines. I've been working on a class file, and I'm not sure I've constructed it correctly. I'm getting several errors concerning...
1
2052
by: JavaNme | last post by:
I need someone to debug the following errors for me, so that i can run the program. 1>------ Build started: Project: TheBankProject, Configuration: Debug Win32 ------ 1>Compiling... 1>BANK.cpp...
2
1966
by: =?Utf-8?B?UmFuZHlz?= | last post by:
This just started when I updated to sp 1 working on a APS.net, Visual Studio 2008, c# Project. When I open a project, I get tons of Errors showing in the list 300+ if I double click on them I go...
1
1154
by: Oltmans | last post by:
Hi all, I've been writing C# code using Visual Studio 2005 for some time now but for the first time I've to write ANSI C code using Visual Studio 2005. I followed this article...
0
7237
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7137
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7417
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7074
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5659
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5063
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4734
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3210
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
780
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.