delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/22/06:28:46

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.2 required=5.0 tests=AWL,BAYES_05,SARE_RECV_FREESERVE
X-Spam-Check-By: sourceware.org
From: "Richard Dickinson" <richard AT dickinson350 DOT freeserve DOT co DOT uk>
To: <cygwin AT cygwin DOT com>
Subject: Cygwin and gtk+ compiling problems still
Date: Fri, 22 Jan 2010 11:28:34 -0000
Message-ID: <543DC5078E3F41DC9878CE344C0A52AE@DadPC>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi
I am still not able to compile gtk+ or gtkmm programs in cygwin on my Vista
machine & I would
appreciate some advice on how to do this. I have already posted recently
about this and I had a=20
reply but as yet no further help to my follow up
(http://cygwin.com/ml/cygwin/2010-01/msg00850.html).=20

I have been trying to get this sorted for many days now and this is becoming
frustrating.=20
My latest attempt was this (again unsuccessful as shown):

Dad AT Dad-PC
/cygdrive/c/RPD_Programming/RPD_Gtk_Gimp_toolkit/helloworld/www_gtk_o
rg_hw_tutorial
$ cc `pkg-config --cflags --libs gtk+-2.0` helloworld.c -o helloworld
: No such file or directory
cygwin warning:
=A0 MS-DOS style path detected: C:/gtkmm/include/gtk-2.0
=A0 Preferred POSIX equivalent is: /cygdrive/c/gtkmm/include/gtk-2.0
=A0 CYGWIN environment variable option "nodosfilewarning" turns off this
warning.
=A0 Consult the user's guide for more details about POSIX paths:
=A0=A0=A0 http://cygwin.com/cygwin-ug-net/using.html#using-pathnames

Dad AT Dad-PC
/cygdrive/c/RPD_Programming/RPD_Gtk_Gimp_toolkit/helloworld/www_gtk_o
rg_hw_tutorial
$ gcc `pkg-config --cflags --libs gtk+-2.0` helloworld.c -o helloworld
: Invalid argument

This compile line is from:
Compiling GTK+ Applications
Compiling GTK+ Applications =97 How to compile your GTK+ application
http://library.gnome.org/devel/gtk/unstable/gtk-compiling.html

I will also add that I would eventually like to set up my Vista cmd prompt
so I can compile gtk+ and gtkmm directly from cmd prompt
but my first step is to get this cygwin bash shell compiling to work.

I am grateful for and look forward to some helpful replies, many thanks

Richard=20





--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019