Deepak Thukral writes: > I am developing an GTK2+ application on cygwin for win32.
You mean you don't want the application to use Cygwin? OK. > 2. I used -mno-cygwin Yep. > 3. All packages has been installed on cygwin, Bad move. What you have installed is apparently a Cygwin/X11 build of GTK+. > - -L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf- > 2.0 -lpangoxft-1.0 -lXft -lfreetype -lz -lXrender -lXext - > lfontconfig -lpangox-1.0 -lX11 -lpango-1.0 -lm -lgobject-2.0 - > lgmodule-2.0 -lglib-2.0 -lintl -liconv As you see above, you are linking with the Cygwin GTK for X11, and various Cygwin X libraries. This is very contradictory with using -mno-cygwin. > This application is working fine with X-Server on Cygwin. Any Help > from your guys are appericiated. You need to install the GTK+, Pango, atk and GLib developer and run-time packages for Win32. Go to ftp://ftp.gtk.org/pub/gtk/v2.8/win32/ . Remember to get the dependencies, too. The .pc files included in the above packages are supposed to be used with the Win32 port of pkg-config, which automatically translates the prefix usd in a .pc file into the one where the package that includes the .pc file is installed. (For this to work you should not move .pc files out from where they are after unzipping. Instead, set up a PKG_CONFIG_PATH if necessary.) If you use them with the Cygwin pkg-config, you will have to manually edit them so the prefix matches the path where you installed the packages. --tml _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list