[theora-dev] How can I go into theora library function while
debugging the encoder_example
rpjanaka at gmail.com
Thu Feb 7 00:50:30 PST 2008
In the Makefile.am in lib directory there are three lines that specify
CFLAGS. it is as follow
libtheora_la_CFLAGS = $(OGG_CFLAGS) $(DEFS_NET) $(INCS_NET)
libtheora_la_LDFLAGS = -version-info
libtheora_la_LIBADD = $(OGG_LIBS) $(LIBS_NET)
$(MAKE) all CFLAGS="@DEBUG@" LDFLAGS="-lefence"
$(MAKE) all CFLAGS="@PROFILE@"
I just modify this as follow
libtheora_la_CFLAGS = -g -Wall $(OGG_CFLAGS) $(DEFS_NET) $(INCS_NET)
But still the problem remain same,(can not go into "theora_encode_init"
function while debug)
so what should I do, please can you explain more about how to compiling the
library with debugging support...?
On Feb 7, 2008 1:10 PM, Conrad Parker <conrad at metadecks.org> wrote:
> On 06/02/2008, janaka priyadarshana <rpjanaka at gmail.com> wrote:
> > hi all,
> > I want to go into functions defined in the "lib" directory while i am
> > debugging the encoder_example
> in general, you need to make sure you are compiling the library with
> debugging support, eg. by adding "-g" in CFLAGS when building the
> library (if using gcc).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the theora-dev