[Glade-users] how to add a library



Hi.
My name is Takahashi using glade2.0.
I don't know how to add a library to a project.
please give me an advice.

is the following method incollect?

 1) edit [makefile.am]
   INCLUDES = $(default)
                     -I(my own library name)  <add>
   project1_LDADD = $(default)
                             -L(my own library name) <add>

 2) do [autogen.sh].

 3) add (a) function of my own library in callbacks.c.

after 1)-3),
 when doing [make], undefined reference to (a)  showed.

 why undefined?



$B!c(B takahashi wwtaka hotmail com $B!d(B

_________________________________________________________________
$B$"$J$?$N(BPC$B$r<i$k$?$a$KDj4|E*$J%;%-%e%j%F%#BP:v$r!#%^%$%/%m%=%U%H(B $B%;%-%e%j(B
$B%F%#>pJs%;%s%?!<(B http://www.microsoft.com/japan/protect/hm.asp 





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]