[Otk-usage] trying to compile libotk.a
Status: Beta
Brought to you by:
kindman1
|
From: David B. <db...@ya...> - 2006-08-05 04:34:36
|
Hi, I'm not the best programmer in the world, but I am trying to create a libotk.a file for use with a non-C compiler. Anyway, I can compile lib_otk.c in to otk.o and I can put that in the lib and use the result. But when I try to compile the gadget_lib.c file, it fails. First because it needs to see otk_lib.h. So I add that. But then it fails because Otk_DZ is not declared in Otk_SetGauge2. Sure enough, I can't find any declaration for that. What really puzzles me though, is that the test suite, which includes gadget_lib.c, does compile. What am I missing? And how do I create a libotk.a library? Thanks, David |