Author Topic: howto use glade with code::blocks in windows ?  (Read 10476 times)

paspas

  • Guest
howto use glade with code::blocks in windows ?
« on: November 08, 2006, 04:21:20 pm »
Hi again,

i want to use a glade with code::blocks project (previously made with ubuntu) in windows but i can't. I make this steps:

1) I've installed code::blocks and gtk+ for windows
2) in "Settings > Compiler > Custom Variables" i've added GTK_HOME=C:\GTK
3) in "Settings > Compiler > Directories > Compiler"
$(GTK_HOME)\include
$(GTK_HOME)\include\gtk-2.0
$(GTK_HOME)\include\glib-2.0
$(GTK_HOME)\include\pango-1.0
$(GTK_HOME)\include\atk-1.0
$(GTK_HOME)\include\gtkglext-1.0
$(GTK_HOME)\lib\gtk-2.0\include
$(GTK_HOME)\lib\glib-2.0\include
$(GTK_HOME)\lib\gtkglext-1.0\include
$(GTK_HOME)\include\libglade-2.0
$(GTK_HOME)\include\libxml2
$(GTK_HOME)\include\freetype2
$(GTK_HOME)\include\sigc++-2.0
$(GTK_HOME)\lib\sigc++-2.0\include
$(GTK_HOME)\include\cairo
$(GTK_HOME)\lib\gtkmm-2.4\include
$(GTK_HOME)\include\gtk-2.0\gdk
4) in "Settings > Compiler > Directories > Linker": $(GTK_HOME)\lib

my questions are:

1) how can i run autogen.sh to make "makefile"?
2) if i can't use makefile from code::blocks, how can i compile and run the files?

snifff, i'm very lost :(

if someone works with code::blocks, gtk and could help me .... thank you 


paspas

  • Guest
Re: howto use glade with code::blocks in windows ?
« Reply #1 on: November 09, 2006, 10:19:47 am »
nobody ? :(

nobody has compiled glade's project in windows? any urls?

thank you.


paspas

  • Guest
Re: howto use glade with code::blocks in windows ?
« Reply #2 on: November 09, 2006, 07:02:24 pm »
 :D i did it!

to future people in the same place that me :

1) install gtk develop from http://gladewin32.sourceforge.net/
2) install code::blocks with mingw option
3) in "Settings > Compiler > Custom Variables" i've added GTK_HOME=C:\GTK
4) in "Settings > Compiler > Directories > Compiler"
$(GTK_HOME)\include
$(GTK_HOME)\include\gtk-2.0
$(GTK_HOME)\include\glib-2.0
$(GTK_HOME)\include\pango-1.0
$(GTK_HOME)\include\atk-1.0
$(GTK_HOME)\include\gtkglext-1.0
$(GTK_HOME)\lib\gtk-2.0\include
$(GTK_HOME)\lib\glib-2.0\include
$(GTK_HOME)\lib\gtkglext-1.0\include
$(GTK_HOME)\include\libglade-2.0
$(GTK_HOME)\include\libxml2
$(GTK_HOME)\include\freetype2
$(GTK_HOME)\include\sigc++-2.0
$(GTK_HOME)\lib\sigc++-2.0\include
$(GTK_HOME)\include\cairo
$(GTK_HOME)\lib\gtkmm-2.4\include
$(GTK_HOME)\include\gtk-2.0\gdk
5) in "Settings > Compiler > Directories > Linker": $(GTK_HOME)\lib
6) in Project--> Build Options --> compiler --> other options
-mms-bitfields
7) in Project--> Build Options --> linker
link libraries: every libraries that end with .dll.a
8) add all files from glade's project
9) compile and run.

that's all

see you