Re: Re: Re: [Dev-C++] Help compiling a GTK+ program
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Jameel J. A'l. <ja...@el...> - 2004-03-31 00:53:39
|
Hey Tor!
I fixed the problem, this is what the Makefile.win looks now:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Project: Gtk_Test
# Makefile created by Dev-C++ 4.9.8.5
CPP =3D g++.exe
CC =3D gcc.exe
WINDRES =3D windres.exe
RES =3D=20
OBJ =3D ../Downloads/Programs/Gtk/gtk/chapter2/gtkfun.o $(RES)
LINKOBJ =3D ../Downloads/Programs/Gtk/gtk/chapter2/gtkfun.o $(RES)
LIBS =3D -L"C:/DEV-CPP/lib" -L"C:/Dev-Cpp/Lib/libz.a" -L"C:/Dev-Cpp/Lib/=
libglib-2.0.dll.a" -L"C:/Dev-Cpp/Lib/libgtk.dll.a" -L"C:/Dev-Cpp/Lib/libg=
dk.dll.a" -mwindows -lgtk-win32-2.0 -lgdk-win32-2.0 -lgthread-2.0 -lgdi32=
-lole32 -luuid -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpan=
go-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv=20
INCS =3D -I"C:/DEV-CPP/include" -I"C:/Dev-Cpp/include/gtk-2.0" -I"C:/D=
ev-Cpp/include/gtk-2.0/gdk" -I"C:/Dev-Cpp/include/gtk-2.0/gdk-pixbuf" -=
I"C:/Dev-Cpp/include/gtk-2.0/gtk" -I"C:/Dev-Cpp/include/gdk" -I"C:/Dev-=
Cpp/include/atk-1.0/atk"=20
CXXINCS =3D -I"C:/DEV-CPP/include/c++" -I"C:/DEV-CPP/include/c++/mingw3=
2" -I"C:/DEV-CPP/include/c++/backward" -I"C:/DEV-CPP/include" -I"C:/De=
v-Cpp/include/gtk-2.0" -I"C:/Dev-Cpp/include/gtk-2.0/gdk" -I"C:/Dev-Cpp=
/include/gtk-2.0/gdk-pixbuf" -I"C:/Dev-Cpp/include/gtk-2.0/gtk" -I"C:/D=
ev-Cpp/include/gdk" -I"C:/Dev-Cpp/include/atk-1.0/atk"=20
BIN =3D Gtk_Test.exe
CXXFLAGS =3D $(CXXINCS)=20
CFLAGS =3D $(INCS)-lC:\Dev-Cpp\include\gtk-2.0 -lC:\Dev-Cpp\include\atk-1=
=2E0 -lC:\Dev-Cpp\include\pango-1.0 -lC:\Dev-Cpp\lib\glib-2.0 -lC:\Dev-Cp=
p\include\glib-2.0 -lC:\Dev-Cpp\lib\glib-2.0 \include -lC:\Dev-Cpp\lib\gt=
k-2.0\include -mwindows -mno-cygwin -DHAVE_CONFIG_H =20
=2EPHONY: all all-before all-after clean clean-custom
all: all-before Gtk_Test.exe all-after
clean: clean-custom
rm -f $(OBJ) $(BIN)
$(BIN): $(OBJ)
$(CPP) $(LINKOBJ) -o "Gtk_Test.exe" $(LIBS)
=2E./Downloads/Programs/Gtk/gtk/chapter2/gtkfun.o: ../Downloads/Programs/=
Gtk/gtk/chapter2/gtkfun.c
$(CC) -c ../Downloads/Programs/Gtk/gtk/chapter2/gtkfun.c -o ../Downloads=
/Programs/Gtk/gtk/chapter2/gtkfun.o $(CFLAGS)
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++=
+++++
What really bothers me is that Dev-C++ has packages and it makes it so co=
nvenient; all one has to do is to create the project using the GUI toolki=
t and all the settings are arranged by the "Package". The problems is tha=
t none of the C++ toolkits have a books so to learn GUI programming. I, b=
eing a complete ignorant when it comes to GUI programming, don't have any=
other choice but to learn C GUI development with GTK+. Win32 would be a =
wast of time since it is platform restricted.
I got a GTK+ Package, but the damed thing won't set the right parameters =
and, as you can see, it has become very, very annoying.
I am getting so frustrated with this that I was even considering Java to =
develop the project, worse! MSC++ crossed my head. Any way, I hope I am n=
ot imposing too much on you if I keep asking questions regarding this mat=
ter.
I also apologize to the rest of you who have, one way or anther, been aff=
ected by my constant emails.
Thanks
* E-Mail Policy
http://www.vif.com/users/escalante/Email_Policy.html
Ent=E9rate de las noticias m=E1s actualizadas de El Salvador y el mundo e=
n www.elsalvador.com
|