Glade autoconnect problem
I'm a newbie to forum so I apologise if I have posted this in the wrong forum.
I have an application that has been developed on SUSE 9.3, gcc 3.3.5 and the gui have been done in glade. I used the "glade_xml_signal_autoconnect" function to get my signal callbacks to work.
I now need to port my application over to windows. I am using MinGW and compiled the code fine but when I startup my executable I get the main GUI up but none of my signals seem to be picked up my the callbacks.cpp file. I suspect it is something to do with my autoconnect function.
I was wondering if anyone else have come across this problem or does anyone know of a way of compiling the application that allows the autoconnect function to work.
This is the makefile that I am using:
OBJS = ${SRC_FILES:.cpp=.o}
DEPS = ${SRC_FILES:.cpp=.d}
CPPFLAGS = -Wall -D _SG_WIN32 `pkg-config gtk+-2.0 glib-2.0 libglade-2.0 --cflags` -Wno-deprecated
CPPFLAGS += -g -O0 -D_DEBUG_FULL
$(APPNAME) : $(OBJS)
${CXX} --export-dynamic -o $(APPNAME) $(OBJS) -mwindows -lprogressbar -lgenericmessage `pkg-config --libs libglade-2.0 gtk+-2.0` -L. \
-lsimapi -lscenarioengine -lroutinginfo -ltemplateEx -lxerces-c -lpthreadGC1
%.d : %.cpp
@set -e; rm -f $@; \
$(CXX) -MM $(CPPFLAGS) $< > $@.$$$$; \
sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
rm -f $@.$$$$
-include $(DEPS)
Thanks,
Kiran
|