ngl-devel
[Top][All Lists]
Advanced

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

Re: [ngl-devel] Compilation error 0.7.10


From: Sebastien Metrot
Subject: Re: [ngl-devel] Compilation error 0.7.10
Date: Wed, 26 Nov 2003 11:30:59 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3

I think you need to apt-get install ogg* or vorbis* and their devel package for this to compile. Shouldn't the autostuff guess about this and disable it if they aren't found?

Meeloo

Loic Dachary wrote:

Timothee Besset writes:
> Well if that can be a consolation, ngl CVS fails on Debian Sid here also,
> with a different error:
> > libtool: link: unable to infer tagged configuration
> libtool: link: specify a tag with `--tag'
> make[2]: *** [libngl.la] Error 1
> > Given how much I hate autocrap and it's evil sidekick libtool, I won't
> look further.

        ... I won't bite the bait ;-)

        I think the --tag problem appears when using ccache. Disabling
ccache or arranging for it to be hidden under g++ (symlink) would fix
the issue.  It would be better if libtool knew about ccache, of
course.

        I just updated from CVS and got more compilation errors. I guess
I'll just wait a bit before trying again:

make  all-recursive
make[1]: Entering directory `/home/local/src/ngl/ngl/nui'
Making all in doc
make[2]: Entering directory `/home/local/src/ngl/ngl/nui/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/local/src/ngl/ngl/nui/doc'
Making all in include
make[2]: Entering directory `/home/local/src/ngl/ngl/nui/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/local/src/ngl/ngl/nui/include'
Making all in src
make[2]: Entering directory `/home/local/src/ngl/ngl/nui/src'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/local/src/ngl/ngl/nui/src'
Making all in examples
make[2]: Entering directory `/home/local/src/ngl/ngl/nui/examples'
Making all in data
make[3]: Entering directory `/home/local/src/ngl/ngl/nui/examples/data'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/local/src/ngl/ngl/nui/examples/data'
Making all in filetable
make[3]: Entering directory `/home/local/src/ngl/ngl/nui/examples/filetable'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/local/src/ngl/ngl/nui/examples/filetable'
Making all in nuitest
make[3]: Entering directory `/home/local/src/ngl/ngl/nui/examples/nuitest'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/local/src/ngl/ngl/nui/examples/nuitest'
Making all in oggplayer
make[3]: Entering directory `/home/local/src/ngl/ngl/nui/examples/oggplayer'
if ccache g++ -DHAVE_CONFIG_H -I. -I. -I../..     -Wall -Wpointer-arith 
-Wstrict-prototypes -g  -pipe -D_DEBUG_ -I/usr/local/include/ngl -I/usr/X11R6/include 
-I/usr/include/libpng12 -I/usr/include/freetype2  -I../../include -MT AudioSample.o -MD 
-MP -MF ".deps/AudioSample.Tpo" \
 -c -o AudioSample.o `test -f 'AudioSample.cpp' || echo './'`AudioSample.cpp; \
then mv -f ".deps/AudioSample.Tpo" ".deps/AudioSample.Po"; \
else rm -f ".deps/AudioSample.Tpo"; exit 1; \
fi
In file included from AudioSample.cpp:22:
AudioSample.h:24:26: vorbis/codec.h: No such file or directory
AudioSample.h:25:31: vorbis/vorbisfile.h: No such file or directory
In file included from AudioSample.cpp:22:
AudioSample.h:35: error: `ogg_int64_t' was not declared in this scope
AudioSample.h:35: error: syntax error before `)' token
AudioSample.h:39: error: 'OggVorbis_File' is used as a type, but is not defined as a type.
AudioSample.cpp: In constructor `AudioSample::AudioSample(const char*)':
AudioSample.cpp:31: error: `m_VorbisFile' undeclared (first use this function)
AudioSample.cpp:31: error: (Each undeclared identifier is reported only once for each function it appears in.)
AudioSample.cpp:31: error: `ov_open' undeclared (first use this function)
AudioSample.cpp:34: error: `ov_comment' undeclared (first use this function)
AudioSample.cpp:35: error: `vorbis_info' undeclared (first use this function)
AudioSample.cpp:35: error: `vi' undeclared (first use this function)
AudioSample.cpp:35: error: `ov_info' undeclared (first use this function)
AudioSample.cpp: In destructor `AudioSample::~AudioSample()':
AudioSample.cpp:49: error: `ov_clear' undeclared (first use this function)
AudioSample.cpp: In member function `long int AudioSample::Decode(char*, unsigned int)':
AudioSample.cpp:58: error: `ov_read' undeclared (first use this function)
AudioSample.cpp: At global scope:
AudioSample.cpp:62: error: prototype for `int AudioSample::Seek(long long int)' does not match any in class `AudioSample'
AudioSample.h:35: error: candidate is: int AudioSample::Seek(...)
AudioSample.cpp: In member function `int AudioSample::Seek(long long int)':
AudioSample.cpp:63: error: `ov_pcm_seek' undeclared (first use this function)
make[3]: *** [AudioSample.o] Error 1
make[3]: Leaving directory `/home/local/src/ngl/ngl/nui/examples/oggplayer'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/local/src/ngl/ngl/nui/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/local/src/ngl/ngl/nui'
make: *** [all] Error 2








reply via email to

[Prev in Thread] Current Thread [Next in Thread]