> I often have a problem with code that compiles/executes fine in Linux > and compiles in Win32 but bails on execution. > > The only thing I can think of is my versions of GTK/GTKmm aren't compatible(?) > > Installed: > GTK+ dev. env. for Windows 2.10.7-1 > - from Tor's site > gtkmm dev. env. 2.8 (2.8.8-2 I believe) > - from http://www.pcpm.ucl.ac.be/~gustin/win32_ports/ Try upgrading your gtkmm to 2.10. There are updated binaries located here: http://ftp.gnome.org/pub/GNOME/binaries/win32/gtkmm/2.10/
(I'll reply to the list this time) Thanks for the link and quick reply. I'm now at: gtkmm-win32-devel-2.10.6-1 I rebooted Winders, and since I'm using Dev-C++, I ran pkg-config against gtkmm-2.4 for --cflags and --libs output and stuck that into my project. However, I still only get good binaries intermittently. I wish I could put my finger on it, but it just seems really finicky on Win32 (i.e., I make a small change, it compiles and then produces a bad binary all of a sudden) . Several times I've verified that my code is producing a good binaries in Linux, and when I bring the code over to Win32 it'll compile w/o error, but it very often produces a bad binary (around half the time). I've attached some code for a simple program I'm trying to work up. It doesn't have any functionality really; it's just laying out the GUI. Let me know if I can provide any more info. I still wonder if my gtk/gtkmm environment is not setup correctly. Maybe I should downgrade gtk to 2.10.6 as well (currently at 2.10.7)? Thanks for reading, Eric P.
Attachment:
customsAgency.zip
Description: Zip archive