[theora] Libtheora
SAHANA DEVARAJU
sahanadevaraju at gmail.com
Mon May 24 10:22:58 PDT 2010
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
More information about the theora
mailing list