This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problem compiling the simplest of glade projects


Hi all,

I have talked about this for more than one time, but somehow I dont even
know if my mails are directed to the group.

My problem is this:

I use glade to design GTK interfaces and found some problems using the
autogen.sh and make programs for compiling my programs in the src/
directory.

I used a simple script like this:

g++ \
*.c \
-o project1.exe \
-mms-bitfields \
-mwindows \
-DPACKAGE_DATA_DIR="\"/C/GTK/share\"" \
-DPACKAGE="\"project1\"" \
-DPACKAGE_LOCALE_DIR=\"\" \
-DPACKAGE_PREFIX=\"\" \
-Iinclude/ `pkg-config --cflags --libs gtk+-2.0`


I get no errors while I run this script,and the result is like this:

cygwin_prompt>./com[name of the script]
: No such file or directory

cygwin_prompt>

And I get no project1.exe.

When I redirected output to an error file, I found this:

cygwin_prompt>./com 2>error

cygwin_prompt>

And the error file read like this:

g++: ^M: No such file or directory

I have attached the results of cygcheck with this.


Please help.

Vijayasarathy

Attachment: cygcheck.out
Description: Binary data

--
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/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]