static library project for win32, doesn't compile
When downloading from either subversion or the 1.0 release; and trying to compile static libraries for theora, using the theora_static.dsp, a compilation error occurs:
where codec_internal.h cannot be found, adding a relative path to lib\enc fixes this.
however, when using the compiled .lib, the linker errors:
1>theora_static_d.lib(decinfo.obj) : error LNK2019: unresolved external symbol _theorapackB_readinit referenced in function _th_decode_headerin 1>theora_static_d.lib(decinfo.obj) : error LNK2019: unresolved external symbol _theorapackB_read referenced in function _oc_dec_headerin 1>theora_static_d.lib(huffdec.obj) : error LNK2001: unresolved external symbol _theorapackB_read 1>theora_static_d.lib(dequant.obj) : error LNK2001: unresolved external symbol _theorapackB_read 1>theora_static_d.lib(decinfo.obj) : error LNK2019: unresolved external symbol _theorapackB_bytes referenced in function _oc_comment_unpack 1>theora_static_d.lib(huffdec.obj) : error LNK2019: unresolved external symbol _theorapackB_read1 referenced in function _oc_huff_tree_unpack 1>theora_static_d.lib(dequant.obj) : error LNK2001: unresolved external symbol _theorapackB_read1
occur, I was unable to find any reasoning for this, after a bit of searching it seems that 'bitpack.c' was not included in the project, which causes it's sources not to be compiled into the lib.
this error is going to make windows users (who often just want to open a project file and compile) think there is something genuinely wrong with theora, which this is not the case. I could see this being an acceptable issue with the top of the svn, but the 'official' 1.0 release has this issue too, a 'stable' release like this should have had the windows projects checked, especially if they are included at all.