Re: How can I go into theora library function while debugging the encoder_example

"janaka priyadarshana" <[email protected]>
Newsgroups gmane.comp.multimedia.ogg.theora.devel
Message-ID <[email protected]>
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
@TH_LIB_CURRENT@:@TH_LIB_REVISION@:@TH_LIB_AGE@ @THEORA_LDFLAGS@
libtheora_la_LIBADD = $(OGG_LIBS) $(LIBS_NET)

debug:
    $(MAKE) all CFLAGS="@DEBUG@" LDFLAGS="-lefence"

profile:
    $(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 <[email protected]> wrote:

> On 06/02/2008, janaka priyadarshana <[email protected]> wrote:
> > hi all,
> >
> > I want to go into functions defined in the "lib" directory while i am
> > debugging the encoder_example
>
> Hi,
>
> 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).
>
> Conrad.
>



-- 
-----------
Regards,
Janaka Priyadarshana

_______________________________________________
theora-dev mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/theora-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.