Hi all, I am Sahana. I am currently working on Libtheora for windows platform and very new to it. I am getting a lot of compiling errors. Since Libtheora depends on libogg and libvorbis i have added these as well to my workspace in VC++ 6. I have a doubt regarding the x86 and x86_vc folders described in the libtheora software.Since both these folders have the same set of files which one do we need to make use of. I also want to know what flags to set. I really appreciate all your help. regards, sahana -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/theora/attachments/20100520/4d733eb1/attachment.htm
On 20 May 2010 13:20, SAHANA DEVARAJU <sahanadevaraju at gmail.com> wrote:> I am Sahana. I am currently working on Libtheora for windows platform and > very new to it. I am getting a lot of compiling errors. Since Libtheora > depends on libogg and libvorbis i have added these as well to my workspace > in VC++ 6. I have a doubt regarding the x86 and x86_vc folders described in > the libtheora software.Since both these folders have the same set of files > which one do we need to make use of. I also want to know what flags to set. > I really appreciate all your help.The x86 directory contains gcc-style inline assembly for several of the more time-critical functions. The x86_vc folder contains a similar set of function implementations in MSVC inline assembly syntax. To compile under VC6, you'll want to include the files in the x86_vc directory, but not the ones in the x86 directory. The code should work without either, using pure-C implementations of the same functions, but will of course be slower. You also need to define the OC_X86_ASM preprocessor symbol (macro) for libtheora to use the assembly functions. I believe that's the only extra define you might need to use. The VS2008 project files also define WIN32, _CRT_SECURE_NO_DEPRECATE and _CRT_NONSTDC_NO_DEPRECATE, but I don't think those are necessary on VC6. Hope that's enough to get you compiling. Thanks for your interest in Theora. -r
On 20 May 2010 15:31, SAHANA DEVARAJU <sahanadevaraju at gmail.com> wrote:> Thank you very much for all the inputs. I did incorporate all that you > suggested me to. I still have errors popping up in the mathops.c and rate.c > files. The errors are related to bad suffix on number. I appreciate your > help.[...]> c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(19) : > error C2059: syntax error : 'bad suffix on number'[...]> C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(175) : > error C2059: syntax error : 'bad suffix on number' > C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(175) : > error C2146: syntax error : missing ')' before identifier 'L'The common element here is the 'LL' suffix for 64 bit integer literals. I guess VC6 must not support that syntax. I've cc'd the list again; I'm not an MSVC expert, and you'll have a better chance of getting quality help if the conversation remains open to other readers. -r
Hi all, I'm Sahana and i'm currently working on Libtheora for windows platform and very new to it.Compiler is vc++6. I have compiling errors popping up in the mathops.c and rate.c files. The errors are related to bad suffix on number. I appreciate all your help. regards, sahana mathops.c c:\users\vista business\desktop\sahana\ libtheora-1.1.1\lib\mathops.c(19) : error C2059: syntax error : 'bad suffix on number' c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(19) : warning C4067: unexpected tokens following preprocessor directive - expected a newline c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(95) : error C2059: syntax error : 'bad suffix on number' c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(95) : warning C4067: unexpected tokens following preprocessor directive - expected a newline c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(137) : error C2059: syntax error : 'bad suffix on number' c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(137) : error C2061: syntax error : identifier 'L' c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(137) : error C2059: syntax error : 'bad suffix on number' c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(137) : error C2059: syntax error : 'bad suffix on number' c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(138) : error C2059: syntax error : 'bad suffix on number' c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(138) : error C2059: syntax error : 'bad suffix on number' c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(138) : error C2059: syntax error : 'bad suffix on number' c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(139) : error C2059: syntax error : 'bad suffix on number' c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(139) : error C2059: syntax error : 'bad suffix on number' c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(139) : error C2059: syntax error : 'bad suffix on number' c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(140) : error C2059: syntax error : 'bad suffix on number' c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(140) : error C2059: syntax error : 'bad suffix on number' c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(140) : error C2059: syntax error : 'bad suffix on number' c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(141) : error C2059: syntax error : 'bad suffix on number' c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(141) : error C2059: syntax error : 'bad suffix on number' c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(141) : error C2059: syntax error : 'bad suffix on number' c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(142) : error C2059: syntax error : 'bad suffix on number' c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(142) : error C2059: syntax error : 'bad suffix on number' c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(142) : error C2059: syntax error : 'bad suffix on number' c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(143) : error C2059: syntax error : 'bad suffix on number' c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(143) : error C2059: syntax error : 'bad suffix on number' c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(143) : error C2059: syntax error : 'bad suffix on number' c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(144) : error C2059: syntax error : 'bad suffix on number' c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(144) : error C2059: syntax error : 'bad suffix on number' c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(144) : error C2059: syntax error : 'bad suffix on number' c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(145) : error C2059: syntax error : 'bad suffix on number' c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(145) : error C2059: syntax error : 'bad suffix on number' c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(145) : error C2059: syntax error : 'bad suffix on number' c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(146) : error C2059: syntax error : 'bad suffix on number' c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(146) : error C2059: syntax error : 'bad suffix on number' c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(146) : error C2059: syntax error : 'bad suffix on number' c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(147) : error C2059: syntax error : 'bad suffix on number' c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(147) : error C2059: syntax error : 'bad suffix on number' c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(157) : error C2059: syntax error : 'bad suffix on number' c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(157) : error C2146: syntax error : missing ';' before identifier 'L' c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(157) : error C2065: 'L' : undeclared identifier c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(177) : error C2059: syntax error : 'bad suffix on number' c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(177) : error C2146: syntax error : missing ';' before identifier 'L' c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(180) : warning C4554: '>>' : check operator precedence for possible error; use parentheses to clarify precedence c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(188) : warning C4554: '>>' : check operator precedence for possible error; use parentheses to clarify precedence c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(196) : warning C4554: '>>' : check operator precedence for possible error; use parentheses to clarify precedence c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(197) : warning C4554: '<<' : check operator precedence for possible error; use parentheses to clarify precedence c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(212) : warning C4244: '+=' : conversion from '__int64 ' to 'long ', possible loss of data c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(220) : warning C4244: '+=' : conversion from '__int64 ' to 'long ', possible loss of data c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(221) : warning C4554: '<<' : check operator precedence for possible error; use parentheses to clarify precedence c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(227) : warning C4554: '>>' : check operator precedence for possible error; use parentheses to clarify precedence c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(227) : warning C4554: '>>' : check operator precedence for possible error; use parentheses to clarify precedence c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(257) : warning C4554: '>>' : check operator precedence for possible error; use parentheses to clarify precedence c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(258) : warning C4554: '>>' : check operator precedence for possible error; use parentheses to clarify precedence c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(265) : warning C4554: '>>' : check operator precedence for possible error; use parentheses to clarify precedence c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(266) : warning C4554: '>>' : check operator precedence for possible error; use parentheses to clarify precedence c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(273) : warning C4554: '>>' : check operator precedence for possible error; use parentheses to clarify precedence c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(274) : warning C4554: '>>' : check operator precedence for possible error; use parentheses to clarify precedence c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(281) : warning C4554: '>>' : check operator precedence for possible error; use parentheses to clarify precedence c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(282) : warning C4554: '>>' : check operator precedence for possible error; use parentheses to clarify precedence c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(289) : warning C4554: '>>' : check operator precedence for possible error; use parentheses to clarify precedence c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(290) : warning C4554: '>>' : check operator precedence for possible error; use parentheses to clarify precedence c:\users\vista business\desktop\sahana\libtheora-1.1.1\lib\mathops.c(293) : warning C4554: '>>' : check operator precedence for possible error; use parentheses to clarify precedence rate.c C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(175) : error C2059: syntax error : 'bad suffix on number' C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(175) : error C2146: syntax error : missing ')' before identifier 'L' C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(175) : error C2059: syntax error : ')' C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(213) : error C2059: syntax error : 'bad suffix on number' C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(213) : error C2146: syntax error : missing ';' before identifier 'L' C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(213) : error C2065: 'L' : undeclared identifier C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(213) : error C2059: syntax error : 'bad suffix on number' C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(213) : error C2146: syntax error : missing ';' before identifier 'L' C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(215) : error C2059: syntax error : 'bad suffix on number' C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(215) : error C2146: syntax error : missing ';' before identifier 'L' C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(255) : error C2059: syntax error : 'bad suffix on number' C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(255) : error C2146: syntax error : missing ')' before identifier 'L' C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(255) : error C2059: syntax error : ')' C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(255) : error C2143: syntax error : missing ';' before '{' C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(256) : error C2059: syntax error : 'bad suffix on number' C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(256) : error C2146: syntax error : missing ';' before identifier 'L' C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(258) : error C2181: illegal else without matching if C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(267) : warning C4018: '<' : signed/unsigned mismatch C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(357) : error C2059: syntax error : 'bad suffix on number' C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(357) : error C2146: syntax error : missing ')' before identifier 'L' C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(357) : error C2059: syntax error : ')' C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(357) : error C2143: syntax error : missing ';' before '{' C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(358) : error C2059: syntax error : 'bad suffix on number' C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(358) : error C2146: syntax error : missing ';' before identifier 'L' C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(360) : error C2181: illegal else without matching if C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(364) : warning C4018: '<' : signed/unsigned mismatch C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(384) : warning C4018: '<' : signed/unsigned mismatch C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(424) : warning C4244: '=' : conversion from '__int64 ' to 'int ', possible loss of data C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(487) : warning C4244: '=' : conversion from '__int64 ' to 'unsigned __int32 ', possible loss of data C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(488) : warning C4018: '<' : signed/unsigned mismatch C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(526) : warning C4244: '=' : conversion from '__int64 ' to 'int ', possible loss of data C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(592) : error C2059: syntax error : 'bad suffix on number' C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(592) : error C2146: syntax error : missing ';' before identifier 'L' C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(595) : warning C4244: 'function' : conversion from '__int64 ' to '__int32 ', possible loss of data C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(631) : error C2059: syntax error : 'bad suffix on number' C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(631) : error C2146: syntax error : missing ';' before identifier 'L' C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(632) : error C2143: syntax error : missing ';' before 'type' C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(633) : error C2275: 'ogg_int64_t' : illegal use of this type as an expression c:\users\vista business\desktop\sahana\libogg-1.1.4rc1\include\ogg\os_types.h(53) : see declaration of 'ogg_int64_t' C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(633) : error C2146: syntax error : missing ';' before identifier 'rlo' C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(633) : error C2065: 'rlo' : undeclared identifier C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(634) : error C2275: 'ogg_int64_t' : illegal use of this type as an expression c:\users\vista business\desktop\sahana\libogg-1.1.4rc1\include\ogg\os_types.h(53) : see declaration of 'ogg_int64_t' C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(634) : error C2146: syntax error : missing ';' before identifier 'rhi' C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(634) : error C2065: 'rhi' : undeclared identifier C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(635) : error C2065: 'log_scale1' : undeclared identifier C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(635) : warning C4244: '=' : conversion from '__int64 ' to 'int ', possible loss of data C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(637) : warning C4244: '=' : conversion from '__int64 ' to 'int ', possible loss of data C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(651) : warning C4244: '=' : conversion from '__int64 ' to 'int ', possible loss of data C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(652) : warning C4244: '=' : conversion from '__int64 ' to 'int ', possible loss of data C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(693) : error C2059: syntax error : 'bad suffix on number' C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(693) : error C2146: syntax error : missing ';' before identifier 'L' C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(694) : error C2059: syntax error : 'bad suffix on number' C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(694) : error C2146: syntax error : missing ';' before identifier 'L' C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(929) : warning C4018: '<' : signed/unsigned mismatch C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(1056) : warning C4244: '=' : conversion from '__int64 ' to 'unsigned __int32 ', possible loss of data C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(1057) : warning C4244: '=' : conversion from '__int64 ' to '__int32 ', possible loss of data C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(1076) : warning C4018: '<' : signed/unsigned mismatch C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(1076) : warning C4018: '<' : signed/unsigned mismatch C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(1091) : warning C4244: '=' : conversion from '__int64 ' to 'unsigned __int32 ', possible loss of data C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(1092) : warning C4244: '=' : conversion from '__int64 ' to '__int32 ', possible loss of data C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(1111) : warning C4018: '<' : signed/unsigned mismatch C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\lib\rate.c(1111) : warning C4018: '<' : signed/unsigned mismatch Error executing cl.exe. libtheora.exe - 80 error(s), 43 warning(s) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/theora/attachments/20100521/a3cddba6/attachment-0001.htm
Hi all, I have been trying to compile libtheora on windows platform in vc++6. There are some linking errors that are popping up. Linking... LIBCD.lib(wwincrt0.obj) : error LNK2001: unresolved external symbol _wWinMain at 16 Debug/libogg.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. libtheora.exe - 2 error(s), 0 warning(s) I have tried different solutions but nothing seems to be working. Appreciate all your help. regards, sahana -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/theora/attachments/20100523/e442678c/attachment.htm
Hi Sahana,>unresolved external symbol _wWinMain at 16is an indication that you compile not a library, but an exe. Set in settings ( somewhere in VC6 properties of the project find General /Configuration type and set library) Regards Sergey On Mon, May 24, 2010 at 4:57 AM, SAHANA DEVARAJU <> wrote: -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/theora/attachments/20100524/ff4844d9/attachment.htm
Hi all, Thank you for your inputs. I'm working on libtheora and created the project as lib on vc++6. But i'm getting errors like these. I appreciate all your help regards, Sahana Compiling... psytune.c c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(46) : error C2078: too many initializers c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(55) : error C2061: syntax error : identifier '_vp_part0' c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(55) : error C2059: syntax error : ';' c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(55) : error C2059: syntax error : '[' c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(63) : error C2061: syntax error : identifier '_vp_couple0' c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(63) : error C2059: syntax error : ';' c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(63) : error C2059: syntax error : '[' c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(70) : error C2065: 'ATH_Bark_dB_lineaggressive' : undeclared identifier c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(70) : error C2099: initializer is not a constant c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(72) : warning C4244: 'initializing' : conversion from 'const float ' to 'int ', possible loss of data c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(83) : error C2078: too many initializers c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(157) : error C2065: '_vp_part0' : undeclared identifier c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(157) : error C2099: initializer is not a constant c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(158) : error C2065: '_vp_couple0' : undeclared identifier c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(158) : error C2099: initializer is not a constant c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(181) : error C2078: too many initializers c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(188) : warning C4047: 'initializing' : 'struct vorbis_info_mode *' differs in levels of indirection from 'const int ' c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(190) : warning C4133: 'initializing' : incompatible types - from 'struct vorbis_info_mapping0 *' to 'struct vorbis_info_mode *' c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(192) : warning C4047: 'initializing' : 'struct vorbis_info_mode *' differs in levels of indirection from 'const int ' c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(192) : warning C4133: 'initializing' : incompatible types - from 'struct vorbis_info_floor1 *' to 'struct vorbis_info_mode *' c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(193) : warning C4047: 'initializing' : 'struct vorbis_info_mode *' differs in levels of indirection from 'const int ' c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(195) : warning C4133: 'initializing' : incompatible types - from 'struct vorbis_info_psy *' to 'struct vorbis_info_mode *' c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(196) : warning C4133: 'initializing' : incompatible types - from 'struct vorbis_info_psy_global *' to 'struct vorbis_info_mode *' c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(286) : warning C4013: '_vorbis_window_create' undefined; assuming extern returning int c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(286) : warning C4047: '=' : 'float *' differs in levels of indirection from 'int ' c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(291) : warning C4020: 'function through pointer' : too many actual parameters c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(321) : warning C4244: 'initializing' : conversion from 'double ' to 'float ', possible loss of data c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(345) : warning C4244: 'initializing' : conversion from 'double ' to 'float ', possible loss of data c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(368) : warning C4013: '_vp_compute_mask' undefined; assuming extern returning int c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(389) : error C2039: 'forward' : is not a member of 'vorbis_func_floor' c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\backends.h(30) : see declaration of 'vorbis_func_floor' c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(399) : warning C4133: 'function' : incompatible types - from 'struct vorbis_look_psy_global *' to 'float *' c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(400) : warning C4133: 'function' : incompatible types - from 'float *' to 'int *' c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(402) : warning C4047: 'function' : 'int ' differs in levels of indirection from 'float *' c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(402) : warning C4024: '_vp_remove_floor' : different types for formal and actual parameter 5 c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(403) : warning C4020: '_vp_remove_floor' : too many actual parameters c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(415) : warning C4013: '_vp_partition_prequant' undefined; assuming extern returning int c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(425) : warning C4047: 'function' : 'int ' differs in levels of indirection from 'struct vorbis_look_psy *' c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(425) : warning C4024: '_vp_couple' : different types for formal and actual parameter 1 c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(426) : warning C4133: 'function' : incompatible types - from 'struct vorbis_info_mapping0 *' to 'struct vorbis_info_psy_global *' c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(427) : warning C4047: 'function' : 'struct vorbis_look_psy *' differs in levels of indirection from 'float *[2]' c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(427) : warning C4024: '_vp_couple' : different types for formal and actual parameter 3 c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(428) : warning C4133: 'function' : incompatible types - from 'int [2]' to 'struct vorbis_info_mapping0 *' c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(428) : error C2198: '_vp_couple' : too few actual parameters c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\psytune.c(489) : warning C4244: 'initializing' : conversion from 'double ' to 'int ', possible loss of data tone.c c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\tone.c(18) : warning C4013: 'alloca' undefined; assuming extern returning int c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\tone.c(18) : warning C4047: '=' : 'double *' differs in levels of indirection from 'int ' c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\tone.c(19) : warning C4047: '=' : 'double *' differs in levels of indirection from 'int ' c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\tone.c(40) : error C2065: 'M_PI' : undeclared identifier c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\tone.c(40) : warning C4244: '+=' : conversion from 'double ' to 'float ', possible loss of data c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\tone.c(41) : warning C4013: 'rint' undefined; assuming extern returning int c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\tone.c(43) : warning C4244: '=' : conversion from 'const float ' to 'int ', possible loss of data c:\users\vista business\desktop\sahana\libvorbis-1.2.3\lib\tone.c(44) : warning C4244: '=' : conversion from 'const float ' to 'int ', possible loss of data Error executing cl.exe. libvorbis.lib - 18 error(s), 34 warning(s) On Sun, May 23, 2010 at 10:00 PM, Sergey Kurdakov <sergey.forum at gmail.com>wrote:> Hi Sahana, > > unfortunately I do not have vc6 for many years > > I could suggest two things - either search on the web how to switch project > type in vc6, or recreate a project as lib/dll project and add files as you > already did. > > Regards > Sergey > > > On Mon, May 24, 2010 at 6:14 AM, SAHANA DEVARAJU <sahanadevaraju at gmail.com > > wrote: > >> Hi Sergey, >> >> I did go through the project settings but i'm not able to find the >> settings that you are refering to. Can you tell me exactly what to set? >> >> regards, >> sahana >> >> >> On Sun, May 23, 2010 at 8:46 PM, Sergey Kurdakov <sergey.forum at gmail.com>wrote: >> >>> Hi Sahana, >>> >>> >>> >Are you referring to the MFC(Microsoft foundation classes)???? >>> >>> no I try to say, that in case you compile a library you should set a >>> project settings so that you compile library and not dll or exe . the type >>> of app is set in project settings. >>> >>> Regards >>> Sergey >>> >>> >>> On Mon, May 24, 2010 at 5:33 AM, SAHANA DEVARAJU < >>> sahanadevaraju at gmail.com> wrote: >>> >>>> Hi Sergey, >>>> >>>> Are you referring to the MFC(Microsoft foundation classes)???? I am new >>>> to vc++. >>>> Thank you for the inputs. >>>> >>>> regards, >>>> sahana >>>> >>>> >>>> On Sun, May 23, 2010 at 8:10 PM, Sergey Kurdakov < >>>> sergey.forum at gmail.com> wrote: >>>> >>>>> Hi Sahana, >>>>> >>>>> >>>>> >unresolved external symbol _wWinMain at 16 >>>>> >>>>> is an indication that you compile not a library, but an exe. >>>>> Set in settings ( somewhere in VC6 properties of the project find >>>>> General /Configuration type and set library) >>>>> >>>>> Regards >>>>> Sergey >>>>> >>>>> >>>>> On Mon, May 24, 2010 at 4:57 AM, SAHANA DEVARAJU <> wrote: >>>>> >>>>> >>>> >>> >> >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/theora/attachments/20100524/233854cd/attachment-0001.htm
psytune is dead code. It is in the repository only for historical curiosity. Monty
On 05/24/2010 04:10 PM, xiphmont at xiph.org wrote:> psytune is dead code. It is in the repository only for historical curiosity. > > Monty >Is it still being called by one of the VS build system scripts?
Hi all, I'm working on Libtheora in vc++6. I have successfully built the libtheora, libogg and libvorbis library files. Now i need to test the encoder and decoder for timing analysis. Do i need to write a testbench and then execute??????what are the other options???????? regards, Sahana -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/theora/attachments/20100525/a40cdf08/attachment.htm
Hi all, I am working on libtheora. I have built static libraries for libtheora,libogg and libvorbis . I'm trying to create a testbench and work on the encoder and the decoder. The encoderwin in the experimental is throwing errors Compiling... getopt_long.c C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\win32\experimental\wincompat\getopt_long.c(58) : warning C4273: 'opterrmsg' : inconsistent dll linkage. dllexport assumed. C:\Users\Vista Business\Desktop\sahana\libtheora-1.1.1\win32\experimental\wincompat\getopt_long.c(398) : warning C4273: 'getopt_long' : inconsistent dll linkage. dllexport assumed. Linking... Creating library Debug/testbench.lib and object Debug/testbench.exp LINK : warning LNK4049: locally defined symbol "_optarg" imported LINK : warning LNK4049: locally defined symbol "_optopt" imported LINK : warning LNK4049: locally defined symbol "_opterr" imported LINK : warning LNK4049: locally defined symbol "_optind" imported getopt_long.obj : error LNK2001: unresolved external symbol __imp__optreset Debug/testbench.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. testbench.exe - 2 error(s), 6 warning(s) regards, sahana -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/theora/attachments/20100530/d4a09e93/attachment.htm