473,406 Members | 2,620 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

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 3109
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
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
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
by: errmaker | last post by:
hi i have msdn tcp/ip sample : #include "stdafx.h" //int _tmain(int argc, _TCHAR* argv) //{ // return 0;
2
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
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
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
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
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
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
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
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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
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...

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.