Compiling a simple glade project in cygwin

vijayasarathy@setsindia.net vijayasarathy@setsindia.net
Mon May 19 11:41:00 GMT 2008



Hey Dave,

Thanks, but that hasnt worked !

I am using a windows editor as you mentioned. I am not using a complicated
makefile for compiling my files, but a simple script which looks like
this:

[WRITTEN INTO A FILE]
g++ \
*.c \
-o project1.exe \
-mms-bitfields \
-mwindows \
-DPACKAGE_DATA_DIR="\"/C/GTK/share\"" \ /*THIS IS WHERE MY GTK IS */
-DPACKAGE="\"gladetest\"" \
-DPACKAGE_LOCALE_DIR=\"\" \
-DPACKAGE_PREFIX=\"\" \
-Iinclude/ `pkg-config --cflags --libs gtk+-2.0`


I used d2u to convert this file into unix format. Problem persists.

As the simplest of options, I tried typing this command by hand in cygwin,
and the problem still persists !

Result looks like this :

cygwin_prompt>g++ *.c .........
: No such file or Directory

cygwin_prompt>

And no executables are created.

Help pls.

Vijay

On Mon, May 19, 2008 4:40 pm, Dave Korn wrote:
> vijayasarathy@ wrote on 19 May 2008 12:26:
>
>> Hi all,
>>
>>
>> I have not been able to compile the simplest of glade projects in
>> cygwin. Can anyone help me ?
>>
>>
>>
>> The most strange error in keep getting is this :
>>
>>
>> ": No such file or directory "
>>
>>
>> (with no indication whatsoever of what is missing !!)
>>
>
> You've got DOS line-endings in your makefile or somewhere like that; the
> error message has half-overwritten itself.
>
> Common reasons why this might happen include unpacking a tarball using a
> windows GUI program (they often "helpfully" convert line-ends for you,
> always use cygwin's command-line tar), or manually making changes to a
> file using a windows editor such as notepad or wordpad.  The solution in
> the first case is to blow it away and re-unpack it properly, in the second
> case is to use 'd2u' after editing a file with a windows editor.
>
>
> cheers, DaveK
> --
> Can't think of a witty .sigline today....
>
>
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>
>
>
> ------=neXtPaRt_1211194834
> Content-Type: text/plain;
>
>
> *************************************************************************
> ************
> DISCLAIMER
> This e-mail and any files transmitted with it are for the sole use of the
> intended recipient(s) and may contain confidential and privileged
> information. Any use,distribution,copying or disclosure by any other
> person is strictly prohibited. If you have received this transmission in
> error please notify SETS immediately either by replying to this e-mail or
> by telephone +91-44-28205655 and then delete this e-mail. The sender does
> not accept any responsibility for any damage which you sustain as a
> result of software viruses or malicious programs. You should therefore
> scan attachments (if any) prior to opening them.
> *************************************************************************
> ***********
>
>
>
>
>
>
>
> ------=neXtPaRt_1211194834--
>
>


Vijayasarathy
Senior Research Associate
SETS

***************************************************************************
DISCLAIMER
This e-mail and any files transmitted with it are for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. Any use, distribution, copying or disclosure by any other
person is strictly prohibited. If you have received this transmission
in error please notify SETS immediately either by replying to this e-mail
or
by telephone on +91-44-28205655 and then delete this e-mail.
The sender does not accept any responsibility for any damage which
you sustain as a result of software viruses or malicious programs.
You should therefore scan attachments (if any) prior to opening them.
**************************************************************************


-------------- next part --------------
*************************************************************************************
DISCLAIMER 
This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. 
Any use,distribution,copying or disclosure by any other person is strictly prohibited. If you have received this transmission in error please notify SETS immediately either by replying to this e-mail or by telephone +91-44-28205655 and then delete this e-mail. The sender does not accept any responsibility for any damage which you sustain as a result of software viruses or malicious programs. You should therefore scan attachments (if any) prior to opening them. 
************************************************************************************






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


More information about the Cygwin mailing list