LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 06-21-2007, 08:55 AM   #1
Kiran_rajaratnam
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
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
 
  


Reply

Tags
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


All times are GMT -5. The time now is 09:24 AM.

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