[Vorbis] Compile Encoder_example.c

Lion Heart leonhearts25 at yahoo.com
Sun Nov 27 23:02:12 PST 2005


Hi,
I'm a highschool student, 
I'm looking for information about converting Wave file
(*.wav)
into Ogg file (*.ogg) and i found encoder_example.c
inside libvorbis's example directory. I try to compile
it using Microsoft Visual C++ 6.0 ,but it goes error
like this :
--------------------Configuration: encoder_example -
Win32 Debug--------------------
Linking...
encoder_example.obj : error LNK2001: unresolved
external symbol _vorbis_info_clear
encoder_example.obj : error LNK2001: unresolved
external symbol _vorbis_comment_clear
encoder_example.obj : error LNK2001: unresolved
external symbol _vorbis_dsp_clear
encoder_example.obj : error LNK2001: unresolved
external symbol _vorbis_block_clear
encoder_example.obj : error LNK2001: unresolved
external symbol _ogg_stream_clear
encoder_example.obj : error LNK2001: unresolved
external symbol _ogg_page_eos
encoder_example.obj : error LNK2001: unresolved
external symbol _ogg_stream_pageout
encoder_example.obj : error LNK2001: unresolved
external symbol _vorbis_bitrate_flushpacket
encoder_example.obj : error LNK2001: unresolved
external symbol _vorbis_bitrate_addblock
encoder_example.obj : error LNK2001: unresolved
external symbol _vorbis_analysis
encoder_example.obj : error LNK2001: unresolved
external symbol _vorbis_analysis_blockout
encoder_example.obj : error LNK2001: unresolved
external symbol _vorbis_analysis_buffer
encoder_example.obj : error LNK2001: unresolved
external symbol _vorbis_analysis_wrote
encoder_example.obj : error LNK2001: unresolved
external symbol _ogg_stream_flush
encoder_example.obj : error LNK2001: unresolved
external symbol _ogg_stream_packetin
encoder_example.obj : error LNK2001: unresolved
external symbol _vorbis_analysis_headerout
encoder_example.obj : error LNK2001: unresolved
external symbol _ogg_stream_init
encoder_example.obj : error LNK2001: unresolved
external symbol _vorbis_block_init
encoder_example.obj : error LNK2001: unresolved
external symbol _vorbis_analysis_init
encoder_example.obj : error LNK2001: unresolved
external symbol _vorbis_comment_add_tag
encoder_example.obj : error LNK2001: unresolved
external symbol _vorbis_comment_init
encoder_example.obj : error LNK2001: unresolved
external symbol _vorbis_encode_init_vbr
encoder_example.obj : error LNK2001: unresolved
external symbol _vorbis_info_init
Debug/encoder_example.exe : fatal error LNK1120: 23
unresolved externals
Error executing link.exe.

encoder_example.exe - 24 error(s), 0 warning(s)

I've set the lib and include directory on the 
"Tools>Options>Directories" but it won't work. Still
the same error.
I've tried to look for the solution on the net, i
found it, but i couldn't understand it.
Can someone explain to me the step so i could compile
the file ?

I've download these files from the official web:
1. libvorbis 1.1.1
2. libogg 1.1.1
3. vorbis-tools 1.1.1

What should i do first ? Maybe compile the library or
something else ? Thank you

Best Regards 


	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


More information about the Vorbis mailing list