Hi again, After ours of trial and error i will give some feedback and share my results (maybe it is usefull for anyone out there, finding this on the list archiv via Google (Date of writing is: 12/29/2011).
Ok, Cygwin 1.7.x worked at compilation level, but if you wish to run the GTK Gnome2 App on Win you need more thand 42 Cygwin DLL's and the Cygwin X11-Server or the Program stops simply with the messeage it thadt cannot find display 0:0 Just for fun i was trying to Install Cygwin x11 xfree server and run my test Program in it and it works, but the Taskmanager shows thadt my X11 Test GTK Programm was on a 32* (32-Bit) Process. It runs but this suckz and i go not further this direction. I found a easier Solution outside from Cygwin.I was able to find a way how gmake and pkg-config works seamles side by side and get my little Testprogram working on Windows Vista 7 64-Bit. It just shows a little GTK2 Widget Mainwindow, but it works as expected (HINT: My Testprgrogramm was C++ NOT C, so C might work, but i only tested the official gtkmm C++ Wrapper! Downloads you need: gtkmm-win64-devel-2.22.0-2.exe http://ftp.gnome.org/Public/gnome/binaries/win64/gtkmm/2.22/ mingw-w64-bin_x86_64-mingw_20111101_sezero.zip http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/sezero_4.5_20111101/ Used Utilities: A Windows/Dos Console and an Texteditor, the builded Program is an Win64 GTK2.22 GUI-Executable. You only need this two files: The Makefile: mymake.mak PROGRAM = test CC=g++ LDLIBS= $(shell pkg-config gtkmm-2.4 --libs) CFLAGS=-Wall -g $(shell pkg-config gtkmm-2.4 --cflags) OBJS = gtkmmtest.o #other_objects.o gtkmmtest: $(OBJS) $(CC) $(OBJS) $(LDLIBS) -o gtkTest gtkmmtest.o: gtkmmtest.cc $(CC) $(CFLAGS) -c gtkmmtest.cc clean: rm -f *.o The simple C++ Testprogramm (NOT C !!) Filename: gtkmmtest.cc #include <gtkmm.h> int main(int argc, char *argv[]) { Gtk::Main kit(argc, argv); Gtk::Window window; kit.run(window); return 0; } gmake -f mymake.mak As result you get "gtkTest.exe" (172 KBytes) This Files you need in an independant Setup.exe / MSI-Installer for Binary distribution: 175.547 gtkTest.exe 104.448 libatk-1.0-0.dll 456.704 libatkmm-1.6-1.dll 953.344 libcairo-2.dll 868.352 libcairomm-1.0-1.dll 152.576 libexpat-1.dll 193.024 libfontconfig-1.dll 484.352 libfreetype-6.dll 77.312 libgcc_s_sjlj-1.dll 1.099.771 libgdk-win32-2.0-0.dll 488.448 libgdkmm-2.4-1.dll 199.168 libgdk_pixbuf-2.0-0.dll 811.520 libgio-2.0-0.dll 996.864 libgiomm-2.4-1.dll 1.267.577 libglib-2.0-0.dll 1.183.744 libglibmm-2.4-1.dll 19.968 libgmodule-2.0-0.dll 258.560 libgobject-2.0-0.dll 24.576 libgthread-2.0-0.dll 5.207.359 libgtk-win32-2.0-0.dll 4.502.528 libgtkmm-2.4-1.dll 240.862 libintl-8.dll 252.928 libpango-1.0-0.dll 48.640 libpangocairo-1.0-0.dll 207.360 libpangoft2-1.0-0.dll 280.576 libpangomm-1.4-1.dll 60.928 libpangowin32-1.0-0.dll 145.408 libpng14-14.dll 705.536 libsigc-2.0-0.dll 980.480 libstdc++-6.dll 191.825 zlib1.dll 21 Files, 21 MBytes (7 MBytes in a compressed Zipfile) Tested on Windows 8 64-Bit (Oracle VirtualBox 4.1) Ok, thadts it. The next step for me, is a crosstarget build for Win64 and Win32 so i can produce a 32-Bit and 64-Bit MSI Installer (with the free OpenSource Windows Installer XML Toolkit from Sourceforge from Microsoft) for automated MSI Setups generation. Greetings, Peter ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public