473,503 Members | 1,501 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

GTK Libraries in WIndows

I use the GTK libraries in linux. The book I use is "Begining
GTK+/Gnome Programming" by Peter Wright. The book is intended for
linux users. So, I am wondering how I can do the same thing in
windows? I am mostly having trouble compiling in windows since the
compiler says that it cant open the gtk headers: "gtk/gtk.h"

May 23 '06 #1
15 2158
ri*************@gmail.com wrote:
I use the GTK libraries in linux. The book I use is "Begining
GTK+/Gnome Programming" by Peter Wright. The book is intended for
linux users. So, I am wondering how I can do the same thing in
windows? I am mostly having trouble compiling in windows since the
compiler says that it cant open the gtk headers: "gtk/gtk.h"


This group only discusses ISO C. GTK is a very popular GUI toolkit and
must surely have groups and mailing lists of it's own where this
question will be better answered.

May 23 '06 #2
ri*************@gmail.com wrote:
I use the GTK libraries in linux. The book I use is "Begining
GTK+/Gnome Programming" by Peter Wright. The book is intended for
linux users. So, I am wondering how I can do the same thing in
windows? I am mostly having trouble compiling in windows since the
compiler says that it cant open the gtk headers: "gtk/gtk.h"


You could try the Windows port of GTK. However, this is off topic here
ince GTK is not part of C. I suggest you try the GTK mailing list and/or
a Windows group.
--
Flash Gordon, living in interesting times.
Web site - http://home.flash-gordon.me.uk/
comp.lang.c posting guidelines and intro:
http://clc-wiki.net/wiki/Intro_to_clc
May 23 '06 #3
I find it hard to believe that GTK is off topic since it is written in
C :O

May 23 '06 #4
richardcarra...@gmail.com wrote:
I find it hard to believe that GTK is off topic since it is written in
C :O


Literally millions of programs, large and small, targetting dozens of
platforms have used and continue to use C. If this group is opened up
to discussions pertaining to all the platforms, and their specialities,
traffic would increase to such levels that the current "regulars" in
the group, who are contributing a part of their valueble time and
expertise, may find it too chaotic to continue to participate in.

Besides, we do have groups, mailing-lists or forums for *most* of the
current popular C implementations, and programs. One such example would
be GTK. I'm sure they would be having mailing-lists on their website.
There you'll be able to post to an audience who would be knowing much
more about GTK than shooting in the dark here and hoping to catch
someone with the required knowledge to answer your question.

May 23 '06 #5
ri*************@gmail.com wrote:
I find it hard to believe that GTK is off topic since it is written in
C :O

[Follow-ups set.]

Logical error. Apache (the web server) is written in C, and yet this
would not be a good forum to discuss Apache, or even development on
Apache modules.

This newsgroup is pretty strict about adhering conversations regarding
ISO C. Since any non-standard libraries or APIs are not part of the
standard, they are by definition off-topic.

You have a GTK-on-Windows problem, not a C-the-language problem. You
will likely get more help in the appropriate forums. See a GNU/Gimp
specific newsgroup, or try the web: <http://www.gimp.org/~tml/gimp/win32/>
May 23 '06 #6
richardcarra...@gmail.com wrote:
I find it hard to believe that GTK is off topic since it is written in
C :O


Try this page as a starter for better places to post your question.

http://www.gtk.org/mailinglists.html

May 23 '06 #7
On 23 May 2006 12:12:23 -0700, ri*************@gmail.com wrote:
I find it hard to believe that GTK is off topic since it is written in
C :O


Can you help me with the video editor I just installed? It's written
in C, and it's telling me it can't find an index on the DVD. What's
wrong?

--
Al Balmer
Sun City, AZ
May 23 '06 #8
By the way, the book I qouted above is about C programs that are used
to form GUI's and use the GTK libraries. It is a very well known book
and it has many many free programs in C that are used with GTK. Maybe
you are not familiar with GTK but that doesnt mean that it is not part
of the C discussion

May 23 '06 #9
richardcarra...@gmail.com wrote:
By the way, the book I qouted above is about C programs that are used
to form GUI's and use the GTK libraries. It is a very well known book
and it has many many free programs in C that are used with GTK. Maybe
you are not familiar with GTK but that doesnt mean that it is not part
of the C discussion


As an aside, please quote context in your replies. Not all readers of
this group will have access to the previous articles at all times. Read
the following to familiarise yourself with this group and it's
netiquette:

<http://cfaj.freeshell.org/google/>
<http://clc-wiki.net/wiki/Introduction_to_comp.lang.c>
<http://www.safalra.com/special/googlegroupsreply/>
<http://en.wikipedia.org/wiki/USENET>
<http://en.wikipedia.org/wiki/Netiquette>

Coming to the actual content of your post, my previous reply to you
still stands relevant. While this group may have hundreds of posters it
has only a few dozen "regulars" who make posts to this group
worthwhile. It seems their consensus is that this newsgroup should
continue to be devoted to ISO C, as it seems to be one of the very few
groups, (if not the only one), for this subject.

If posts on every C implementation and program were allowed, the group
would stand the risk of becoming overloaded and might lose it's
"regulars" and hence, some of it's value. See also one of my other
replies to you where I've indicated a link to a page with several
mailing-lists devoted to GTK.

May 23 '06 #10
Al Balmer <al******@att.net> writes:
On 23 May 2006 12:12:23 -0700, ri*************@gmail.com wrote:
I find it hard to believe that GTK is off topic since it is written in
C :O


Can you help me with the video editor I just installed? It's written
in C, and it's telling me it can't find an index on the DVD. What's
wrong?


There's at least one Ada compiler front-end written in C. Can you
help me figure out why my task rendezvous isn't working?

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
May 23 '06 #11
ri*************@gmail.com wrote:
By the way, the book I qouted above is about C programs that are used
to form GUI's and use the GTK libraries. It is a very well known book
and it has many many free programs in C that are used with GTK.
So? Tell me where it is mentioned in the C standard. Or how I can use
those programs on my router. Or in one of the IR cameras I used to deal
with.
Maybe
you are not familiar with GTK but that doesnt mean that it is not part
of the C discussion


OK, I've got a C application that talks to the UK government gateway
over SOAP but I'm not sure whether I should use one scheme for each of
my companies divisions or one to cover the hole company. What do you
think? It's not topical? But the application is written in C and the
government gateway is a government standard, so surely I should be able
to get help on it here!

BTW, the bulk of the application I just mentioned really is written in C
+ 3rd party libraries which themselves are mostly written in C.
--
Flash Gordon, living in interesting times.
Web site - http://home.flash-gordon.me.uk/
comp.lang.c posting guidelines and intro:
http://clc-wiki.net/wiki/Intro_to_clc
May 23 '06 #12

<ri*************@gmail.com> wrote
I find it hard to believe that GTK is off topic since it is written in
C :O

Let's say that someone writes a knitting program in C.
Does that make the knitting vs crotcheting debate, conducted with passion on
tech.fabrics.knitting, topical here?

--
Buy my book 12 Common Atheist Arguments (refuted)
$1.25 download or $7.20 paper, available www.lulu.com/bgy1mm
May 23 '06 #13
ri*************@gmail.com said:
I use the GTK libraries in linux. The book I use is "Begining
GTK+/Gnome Programming" by Peter Wright. The book is intended for
linux users. So, I am wondering how I can do the same thing in
windows? I am mostly having trouble compiling in windows since the
compiler says that it cant open the gtk headers: "gtk/gtk.h"


Your compiler will have some way of adding into its include search path the
directory that contains your headers. The exact way of doing this depends
on your compiler.

For example, under Visual Studio it's in Tools/Options/Directories (and in
roughly the same place you will find something else you need - a way for
adding the GTK library directory to the linker's library search path).

For other implementations, it will not be precisely the same, but there will
be *some* way to do it. Sometimes it's a command line option, of course,
although I suspect you're probably using an IDE so that may not apply to
you.

You will, I hope, appreciate that we can't provide expertise on every
implementation under the sun. Fortunately, specific newsgroups do cater for
specific compilers, so with the above hint under your belt you should find
your answer easily enough in a group that deals with your particular
compiler.

Best of luck with GTK+ - you'll need it! :-)

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
May 23 '06 #14
Malcolm wrote:
<ri*************@gmail.com> wrote
I find it hard to believe that GTK is off topic since it is written in
C :O

Let's say that someone writes a knitting program in C.
Does that make the knitting vs crotcheting debate, conducted with passion on
tech.fabrics.knitting, topical here?

Is it as contentious as the Emacs vs. vi debate?
May 23 '06 #15
Flash Gordon wrote:
ri*************@gmail.com wrote:
By the way, the book I qouted above is about C programs that are used
to form GUI's and use the GTK libraries. It is a very well known book
and it has many many free programs in C that are used with GTK.

So? Tell me where it is mentioned in the C standard. Or how I can use
those programs on my router. Or in one of the IR cameras I used to deal
with.


I think my operating system is mainly written in C...

So: How do I complete any or all games for my computer? Can we discuss
that then?
Best regards / Med venlig hilsen
Martin Jørgensen

--
---------------------------------------------------------------------------
Home of Martin Jørgensen - http://www.martinjoergensen.dk
May 23 '06 #16

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
7170
by: Robert Ferrell | last post by:
I'm trying to do some debugging of python extensions on Windows2K. MS Visual Studio (.NET) says it can't find the debug version of the python libraries. (The message is "python.exe does not...
10
2026
by: Alf P. Steinbach | last post by:
The fifth part of my attempted Correct C++ tutorial is now available, although for now only in Word format (use free Open Office if no Word), and also, it's not yet been reviewed at all -- ...
1
2511
by: John S Dalzell | last post by:
Hi, I have a C++ app which needs to work with a server on a remote machine. The manufacturer has given us a set of DLL's which provide API calls to send requests to the server and receive an...
2
2266
by: Yang Pang | last post by:
I have a project where the GUI is in VB.NET, the libraries in unmanaged C++ which is wrapped in managed C++ and compiled as DLL. The application runs fine on Windows 2000 with VC++ development...
2
5993
by: anand.ba | last post by:
Hi all I need to find equivalent windows libraries for the following unix ones. #include <sys/prctl.h> #include <sys/ioctl.h> #include <unistd.h>
4
1562
by: pek | last post by:
Two questions: 1. Is there a way I can find a list of all available php libraries and with which version they can run..? 2. Using php code, is they a way I can find out if I have loaded a...
1
1365
by: Alexandre Guimond | last post by:
Hi. I want to create a portable setup.py file for windows / linux for an extension package that i need to link with external libraries (gsl and boost). on windows i do something like this: ...
7
13504
by: barias | last post by:
Although circular dependencies are something developers should normally avoid, unfortunately they are very easy to create accidentally between classes in a VS project (i.e. circular compile-time...
2
2347
by: Mahmoud Al-Qudsi | last post by:
I'm trying to start cross-platform development with Mono/.NET and GTK#. However, I love the VS.NET IDE, so I'd like to do my coding on Windows with Visual Studio 2005 instead of on Linux with...
4
1455
by: GiuseppeDini | last post by:
I'm new to c++ and I'm trying to understand how libraries work with c+ +. I have a project (opencv, but this question is not opencv specific) with a folder for each library, and in each folder two...
0
7203
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
7282
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
7463
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5581
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
5017
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
4678
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
3157
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
738
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
389
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.