Problem compiling the simplest of glade projects

vijayasarathy@setsindia.net vijayasarathy@setsindia.net
Wed May 28 12:46:00 GMT 2008


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 27381 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20080528/9c88648b/attachment.obj>
-------------- 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