[Glade-users] problem with extra components in glade
- From: darkeen at westnet.com.au (Jason Brisbane)
- Subject: [Glade-users] problem with extra components in glade
- Date: Sat, 24 Mar 2007 17:38:44 +0900
Hello,
I managed to get the makefile compiling correctly by modifying the
Makefile in the src directory. Now it compiles with the mysql includes
and libs in it!
I see that the clist object is deprecated. What is being used to replace it?
I am using table and gtk_entry as the table contents, but I want to be
able to know what row a user has clicked onto. I have activated the
signal_handler event for it and can read the gtk_entry widget which the
user clicks on, but I need to read column 0 of the row the user clicks on
ie: user clicks on row 3, column 4. I then need to read the Primary Key
from row 3, column 0 for storage and further lookup on another table.
Any help or ideas would be grateful.
Jason Brisbane wrote:
Hello ALl,
I'm not sure if thsi is the right forum to ask this question but
since I'm doign the progrmming in Glade, I thought I'd ask.
I am trying to add mySQL to the glade program. I am following a
tutorial listed in 'MYSQL: Building User Interfaces' book that is
mentioned on the Sams Publishing website.
Glade autocreates the Autoconf and makefiles in a project Dir when
you first save abnd Build the project.
How do I get Glade to recognise the Mysql extras that I am calling in
my program?
When I include the '#include <mysql/mysql.h>' line I get a compile
error 'unrecognised reference to 'mysql_init' '. if I follow the
exdefiniton.com solution and add the lines '-I/usr/niclude/mysql -L
/usr/lib/mysql -lmysqlclient' the program compiles..
So the makefile isnt finding or including the references to mysql.
Should the Glade makefile/autogen.sh program be searching for these
extras that I include?
If not, how do I modify the Makefile to inclue these, without me
having to manually add the extra lines to the gcc compile line?
(Which I cut and paste from a failed make and add the extra lines to
the end of....)
PS: I havent ever compiled c programs using makefiles and I havent
done this depth of compiling before - my experience has always been
with windoze and I want to get away from it and into Linux..
Thanks in advane.
Regards,
Jason Brisbane
_______________________________________________
Glade-users maillist - Glade-users at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-users
--
Regards,
Jason Brisbane
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]