How to setup GTKmm in Visual Studio 2010?Create a empty console app. -> Project Properties page of your MSVS -IDEright click Adding an Existing Property Sheet -> choose the one in your gtkmm path realese/debug _be sure you pick the right one the -d-2_4 is for debug, ->"#include <gtkmm.h> &&& something simple in the -" main.cpp-> Control +F5 to avoid the console window on startup ->Windows (/SUBSYSTEM:WINDOWS) and as entry point type -> mainCRTStartup that is the answer for your question ...or if im wrong ? a. timoshenko > Date: Sun, 16 Oct 2011 04:59:12 +1100 > Subject: Re: Re: How to setup GTKmm in Visual Studio 2010? > From: alec taylor6 gmail com > To: harryhaaren gmail com > CC: gtkmm-list@gno me.org > > I set all the search directory stuff to C:\libraries\gtkmm > > C:\libraries>tree2 gtkmm gtkmm64 -L 1 > gtkmm > |-- MSVC > |-- bin > |-- etc > |-- gtkmm-demo > |-- gtkmm-uninst.exe > |-- gtkmm.ico > |-- gtkmm.url > |-- gtkmm_win32.txt > |-- include > |-- lgpl.txt > |-- lib > |-- redist > `-- share > gtkmm64 > |-- MSVC > |-- bin > |-- etc > |-- gtkmm-demo > |-- gtkmm-uninst.exe > |-- gtkmm.ico > |-- gtkmm.url > |-- gtkmm_win32.txt > |-- include > |-- lgpl.txt > |-- lib > |-- redist > `-- share > > 16 directories, 10 files > > What should I try next? > > Thanks for all suggestions, > > Alec Taylor > > On Sun, Oct 16, 2011 at 4:45 AM, <harryhaaren gmail com> wrote: > > The backticks are used to make a unix shell run the command, and output the > > result into the next command. > > You rightfully guess you don't need those. > > > > Leads on to "no such file or dir" errors, you've installed the 64 bit gtkmm? > > Or 32 bit? > > You link the windows32 file, but mention that gtkmm64 is installed beside > > it, perhaps something is going wrong there... > > > > -Harry > > > > PS: Following this thread so I can try it myself in a while... I'm not > > compiling GTKmm on windows at all ATM > > > > On , Alec Taylor <alec taylor6 gmail com> wrote: > >> Removing the '`' characters gave me a different error log: > >> > >> > >> > >> mingw32-gcc.exe: gtkmm-2.4: No such file or directory > >> > >> mingw32-gcc.exe: gtkmm-2.4: No such file or directory > >> > >> Process terminated with status 1 (0 minutes, 0 seconds) > >> > >> 0 errors, 0 warnings > >> > >> > >> > >> On Sun, Oct 16, 2011 at 4:24 AM, Alec Taylor alec taylor6 gmail com> > >> wrote: > >> > >> > I'm getting an error: > >> > >> > C:\libraries\gtkmm\include\glibmm-2.4\glibmm\refptr.h|24|error: > >> > >> > expected '=', ',', ';', 'asm' or '__attribute__' before 'Glib'| > >> > >> > C:\libraries\gtkmm\include\glibmm-2.4\glibmm\unicode.h|30|fatal error: > >> > >> > cctype: No such file or directory| > >> > >> > ||=== Build finished: 2 errors, 0 warnings ===| > >> > >> > > >> > >> > (Note that gtkmm was the location > >> > >> > > &g t;> > http://ftp.gnome.org/pub/GNOME/binaries/win32/gtkmm/2.22/gtkmm-win32-devel-2.22.0-2.exe > >> > >> > was installed, gtkmm64 is in the gtkmm64, on the same dir level as > >> > >> > gtkmm) > >> > >> > > >> > >> > I've set everything to use MinGW g++ (4.5.2), and set all the things > >> > >> > you mentioned [to the letter]. > >> > >> > > >> > >> > How can I get this to work? > >> > >> > > >> > >> > Thanks for all suggestions, > >> > >> > > >> > >> > Alec Taylor > >> > >> > > >> > >> > On Sun, Oct 16, 2011 at 2:31 AM, lecas malecas darkiiiiii gmail com> > >> > wrote: > >> > >> >& gt; By the way, you're looking into the gtkmm3 tutorials, but for windows > >> > >> >> there's only the previous version at the moment. > >> > >> >> > >> > >> >> On Sat, Oct 15, 2011 at 4:29 PM, lecas malecas darkiiiiii gmail com> > >> >> wrote: > >> > >> >>> In code blocks: > >> > >> >>> > >> > >> >>> go project -> build options > >> > >> >>> > >> > >> >>> on compiler settings -> other options write: > >> > >> >>> > >> > >> >>> `pkg-config --cflags gtkmm-2.4 --libs gtkmm-2.4` > >> > >> >>> > >> > >> >>> and write the same in linker settings -> other li nker options > >> > >> >>> > >> > >> >>> Then on search directories in both the compiler and linker tab, add > >> > >> >>> the directory where you installed gtkmm. > >> > >> >>> > >> > >> >>> (for example, in my case c:\gtkmm) > >> > >> >>> > >> > >> >>> That's it. > >> > >> >>> > >> > >> >>> On Sat, Oct 15, 2011 at 6:33 AM, Alec Taylor alec taylor6 gmail com> > >> >>> wrote: > >> > >> >>>> Good afternoon, > >> > >> >>>> > >> > >> >>>> How do I setup GTK-- in Visual Studio 2010? > >> > >> >>>> > >> > >> >>>> This guide didn't work: > >> >>>> http://live.gnome.org/gtkmm/MSWindows/UsingMSVC > >> > >> >>>> > >> > >> >>>> Not even when I used the new example: > >> > >> >>>> > >> >>>> http://developer.gnome.org/gtkmm-tutorial/unstable/sec-helloworld.html.en > >> > >> >>>> > >> > >> >>>> I installed GTKmm using > >> > >> >>>> > >> >>>> http://ftp.gnome.org/pub/GNOME/binaries/win64/gtkmm/2.22/gtkmm-win64-devel-2.22.0-2.exe > >> > >> >>>> > >> > >> >>>> I even tried extracting this: > >> > >> >>>> > >> >>>> http://ftp.gnome.org/pub/GNOME/sources/lib xml++/2.34/libxml++-2.34.2.tar.bz2 > >> > >> >>>> to the same directory... to no avail > >> > >> >>>> > >> > >> >>>> Please help me get GTK-- compiled and working in Visual Studio 2010. > >> > >> >>>> > >> > >> >>>> Thanks for all suggestions, > >> > >> >>>> > >> > >> >>>> Alec Taylor > >> > >> >>>> > >> > >> >>>> PS: I'm happy to use Code::Blocks instead, if you can show me how > >> > >> >>>> _______________________________________________ > >> > >> >>>> gtkmm-list mailing list > >> > >> >>>> gtkmm-list gnome org > >> > >> > ;>>> http://mail.gnome.org/mailman/listinfo/gtkmm-list > >> > >> >>>> > >> > >> >>> > >> > >> >> > >> > >> > > >> > >> _______________________________________________ > >> > >> gtkmm-list mailing list > >> > >> gtkmm-list gnome org > >> > >> http://mail.gnome.org/mailman/listinfo/gtkmm-list > >> > _______________________________________________ > gtkmm-list mailing list > gtkmm-list gnome org > http://mail.gnome.org/mailman/listinfo/gtkmm-list |