Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-21-2007, 08:55 AM   #1
LQ Newbie
Registered: Jun 2007
Posts: 1

Rep: Reputation: 0
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

${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)




glade, windows

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
help with wireless autoconnect hockeyfan99 Linux - Newbie 3 02-11-2006 12:08 AM
GLADE compiling problem shegay18 Programming 3 07-03-2005 10:15 AM
glade problem AbhishekSamuel Linux - Software 0 05-05-2005 04:35 AM
Glade, GTK problem jpostma Programming 0 07-17-2004 01:39 PM
glade problem ??? Morpheus Linux - Software 0 03-04-2003 09:25 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:13 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration