[vorbis-dev] Vorbis on Windows

Fred Rastgar frastgar1 at yahoo.com
Tue Aug 29 16:22:03 PDT 2000



Michael,

I tried what you suggested that this is what I ended
up with.  If I look at the Makefile it appears that I
may need some extra files.  I tried that as well
however the results did not change much.  A copy of
the error log is attached below.

FR

Compiling...
oggenc.c
Linking...
LINK : warning LNK4049: locally defined symbol
"_strdup" imported
LINK : warning LNK4049: locally defined symbol
"_realloc" imported
LINK : warning LNK4049: locally defined symbol
"_toupper" imported
LINK : warning LNK4049: locally defined symbol "_free"
imported
LINK : warning LNK4049: locally defined symbol
"_calloc" imported
LINK : warning LNK4049: locally defined symbol
"_malloc" imported
LINK : warning LNK4049: locally defined symbol
"_memmove" imported
LINK : warning LNK4049: locally defined symbol
"__strdup" imported
oggenc.obj : error LNK2001: unresolved external symbol
_wav_close
oggenc.obj : error LNK2001: unresolved external symbol
_wav_open
oggenc.obj : error LNK2001: unresolved external symbol
_oe_encode
oggenc.obj : error LNK2001: unresolved external symbol
_raw_open
oggenc.obj : error LNK2001: unresolved external symbol
_rindex
oggenc.obj : error LNK2001: unresolved external symbol
_setbinmode
oggenc.obj : error LNK2001: unresolved external symbol
_optind
oggenc.obj : error LNK2001: unresolved external symbol
_optarg
oggenc.obj : error LNK2001: unresolved external symbol
_getopt_long
vorbis_debug.lib(info.obj) : error LNK2001: unresolved
external symbol _vorbis_staticbook_clear
vorbis_debug.lib(codebook.obj) : error LNK2001:
unresolved external symbol _vorbis_staticbook_clear
vorbis_debug.lib(psy.obj) : error LNK2001: unresolved
external symbol __imp__floor
vorbis_debug.lib(res0.obj) : error LNK2001: unresolved
external symbol __imp__floor
vorbis_debug.lib(floor0.obj) : error LNK2001:
unresolved external symbol __imp__floor
vorbis_debug.lib(mdct.obj) : error LNK2001: unresolved
external symbol __imp__floor
vorbis_debug.lib(codebook.obj) : error LNK2001:
unresolved external symbol __book_maptype1_quantvals
vorbis_debug.lib(codebook.obj) : error LNK2001:
unresolved external symbol __ilog
vorbis_debug.lib(floor0.obj) : error LNK2001:
unresolved external symbol __ilog
vorbis_debug.lib(codebook.obj) : error LNK2001:
unresolved external symbol __best
vorbis_debug.lib(floor0.obj) : error LNK2001:
unresolved external symbol __best
vorbis_debug.lib(codebook.obj) : error LNK2001:
unresolved external symbol _vorbis_book_besterror
vorbis_debug.lib(res0.obj) : error LNK2001: unresolved
external symbol _vorbis_book_besterror
vorbis_debug.lib(block.obj) : error LNK2001:
unresolved external symbol _vorbis_book_init_decode
vorbis_debug.lib(block.obj) : error LNK2001:
unresolved external symbol _vorbis_book_init_encode
vorbis_debug.lib(block.obj) : error LNK2001:
unresolved external symbol _vorbis_book_clear
vorbis_debug.lib(block.obj) : error LNK2001:
unresolved external symbol _alloca
vorbis_debug.lib(lsp.obj) : error LNK2001: unresolved
external symbol __imp__qsort
vorbis_debug.lib(envelope.obj) : error LNK2001:
unresolved external symbol _IIR_init
vorbis_debug.lib(envelope.obj) : error LNK2001:
unresolved external symbol _IIR_clear
vorbis_debug.lib(envelope.obj) : error LNK2001:
unresolved external symbol _IIR_filter
Debug/oggenc.exe : fatal error LNK1120: 23 unresolved
externals
Error executing link.exe.

oggenc.exe - 31 error(s), 8 warning(s)

--- Michael Smith <msmith at labyrinth.net.au> wrote:
> At 12:12 PM 8/28/00 -0700, you wrote:
> >I believe you are correct.  I managed to
> successfully
> >compile the library file using the
> project/workspace
> >files provided, however; when I tried to compile
> the
> >examples (i.e. the encoder/decoder, etc.) I
> followed
> >the path that you mentioned by opening up a project
> >and compiling the file along with the other C
> >programs.  That is when I ran into trouble.
> >
> >Do you know of a better way??
> 
> The example encoder and decoder work correctly on
> windows. Just compile
> that one file (encoder_example.c or
> decoder_example.c), and link to the
> library you just built. You shouldn't be adding in
> any other extra files.
> 
> The other things that should run correctly on
> windows are the winamp plugin
> (obviously) and oggenc (a more comprehensive encoder
> - but there aren't any
> windows project files for it. Looking at Makefile.in
> should let you know
> which files need to be included).
> 
> Michael
> 
> --- >8 ----
> List archives:  http://www.xiph.org/archives/
> Ogg project homepage: http://www.xiph.org/ogg/

__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/



More information about the Vorbis-dev mailing list