[Osalp-dev] PB with VC++ compil
Status: Abandoned
Brought to you by:
daservis
|
From: Emmanuel P. <ep...@fr...> - 2003-03-10 17:26:15
|
Hi,
I'd just download osalp library. I want to create a application that =
=3D
read wav and mp3 files and make some simple traitments,
such as comparaison of signals, and so on.
The pb is that I include all the .h and .cc files in the VC++ 6.0 =3D
project and got a lot of warnings and errors.
Here are only the begining errors reported :=3D20
=20
---------------Configuration: acmus - Win32 Debug--------------------
Compiling...
acmusdialog.cpp
d:\temp\r\osalp-0.7.3\aflib\aflibaudiobwfilter.h(62) : error C2629: =3D
unexpected 'class aflibAudioBWFilter ('
d:\temp\r\osalp-0.7.3\aflib\aflibaudiobwfilter.h(62) : error C2238: =3D
unexpected token(s) preceding ';'
d:\temp\r\osalp-0.7.3\aflib\aflibdatetime.h(34) : error C2874: =3D
using-declaration causes a multiple declaration of 'ostream'
c:\program files\microsoft visual =3D
studio\vc98\include\iosfwd(257) : see declaration of 'ostream'
d:\temp\r\osalp-0.7.3\aflib\aflibaudiostereotomono.h(60) : error C2629: =
=3D
unexpected 'class aflibAudioStereoToMono ('
d:\temp\r\osalp-0.7.3\aflib\aflibaudiostereotomono.h(60) : error C2238: =
=3D
unexpected token(s) preceding ';'
aflibAudio.cpp
d:\temp\r\osalp-0.7.3\aflib\aflibaudio.cpp(269) : error C2653: =3D
'list<class aflibData *,class std::allocator<class aflibData *> >' : is =
=3D
not a class or namespace name
d:\temp\r\osalp-0.7.3\aflib\aflibaudio.cpp(269) : error C2065: =3D
'iterator' : undeclared identifier
d:\temp\r\osalp-0.7.3\aflib\aflibaudio.cpp(269) : error C2146: syntax =
=3D
error : missing ';' before identifier 'it_data'
d:\temp\r\osalp-0.7.3\aflib\aflibaudio.cpp(269) : error C2065: =
'it_data' =3D
: undeclared identifier
d:\temp\r\osalp-0.7.3\aflib\aflibaudio.cpp(271) : error C2653: =3D
'map<int,class aflibAudio *,struct std::less<int>,class =3D
std::allocator<class aflibAudio *> >' : is not a class or namespace =
name
d:\temp\r\osalp-0.7.3\aflib\aflibaudio.cpp(271) : error C2146: syntax =
=3D
error : missing ';' before identifier 'it'
d:\temp\r\osalp-0.7.3\aflib\aflibaudio.cpp(271) : error C2065: 'it' : =
=3D
undeclared identifier
d:\temp\r\osalp-0.7.3\aflib\aflibaudio.cpp(340) : error C2679: binary =
=3D
'=3D3D' : no operator defined which takes a right-hand operand of type =
=3D
'class std::_Tree<int,struct std::pair<int const ,class aflibAudio =3D
*>,struct std::map<int,class aflibAudio *,str
uct std::less<int>,class std::allocator<class aflibAudio *> =3D
>::_Kfn,struct std::less<int>,class std::allocator<class aflibAudio *> =
=3D
>::iterator' (or there is no acceptable conversion)
d:\temp\r\osalp-0.7.3\aflib\aflibaudio.cpp(340) : error C2677: binary =
=3D
'!=3D3D' : no global operator defined which takes type 'class =3D
std::_Tree<int,struct std::pair<int const ,class aflibAudio *>,struct =
=3D
std::map<int,class aflibAudio *,struct std::less<in
t>,class std::allocator<class aflibAudio *> >::_Kfn,struct =3D
std::less<int>,class std::allocator<class aflibAudio *> >::iterator' =
(or =3D
there is no acceptable conversion)
d:\temp\r\osalp-0.7.3\aflib\aflibaudio.cpp(342) : error C2100: illegal =
=3D
indirection
d:\temp\r\osalp-0.7.3\aflib\aflibaudio.cpp(342) : error C2228: left of =
=3D
'.second' must have class/struct/union type
d:\temp\r\osalp-0.7.3\aflib\aflibaudio.cpp(342) : error C2227: left of =
=3D
'->process' must point to class/struct/union
d:\temp\r\osalp-0.7.3\aflib\aflibaudio.cpp(371) : error C2679: binary =
=3D
'=3D3D' : no operator defined which takes a right-hand operand of type =
=3D
'class std::list<class aflibData *,class std::allocator<class aflibData =
=3D
*> >::iterator' (or there is no acceptab
le conversion)
d:\temp\r\osalp-0.7.3\aflib\aflibaudio.cpp(371) : error C2677: binary =
=3D
'!=3D3D' : no global operator defined which takes type 'class =3D
std::list<class aflibData *,class std::allocator<class aflibData *> =3D
>::iterator' (or there is no acceptable conversion)
d:\temp\r\osalp-0.7.3\aflib\aflibaudio.cpp(374) : error C2100: illegal =
=3D
indirection
d:\temp\r\osalp-0.7.3\aflib\aflibaudio.cpp(374) : error C2100: illegal =
=3D
indirection
d:\temp\r\osalp-0.7.3\aflib\aflibaudio.cpp(399) : error C2679: binary =
=3D
'=3D3D' : no operator defined which takes a right-hand operand of type =
=3D
'class std::list<class aflibData *,class std::allocator<class aflibData =
=3D
*> >::iterator' (or there is no acceptab
le conversion)
d:\temp\r\osalp-0.7.3\aflib\aflibaudio.cpp(399) : error C2677: binary =
=3D
'!=3D3D' : no global operator defined which takes type 'class =3D
std::list<class aflibData *,class std::allocator<class aflibData *> =3D
>::iterator' (or there is no acceptable conversion)
d:\temp\r\osalp-0.7.3\aflib\aflibaudio.cpp(400) : error C2100: illegal =
=3D
indirection
d:\temp\r\osalp-0.7.3\aflib\aflibaudio.cpp(400) : error C2541: delete : =
=3D
cannot delete objects that are not pointers
d:\temp\r\osalp-0.7.3\aflib\aflibaudio.cpp(436) : error C2653: =3D
'map<int,class aflibAudio *,struct std::less<int>,class =3D
std::allocator<class aflibAudio *> >' : is not a class or namespace =
name
d:\temp\r\osalp-0.7.3\aflib\aflibaudio.cpp(436) : error C2146: syntax =
=3D
error : missing ';' before identifier 'it'
d:\temp\r\osalp-0.7.3\aflib\aflibaudio.cpp(440) : error C2679: binary =
=3D
'=3D3D' : no operator defined which takes a right-hand operand of type =
=3D
'class std::_Tree<int,struct std::pair<int const ,class aflibAudio =3D
*>,struct std::map<int,class aflibAudio *,str
uct std::less<int>,class std::allocator<class aflibAudio *> =3D
>::_Kfn,struct std::less<int>,class std::allocator<class aflibAudio *> =
=3D
>::iterator' (or there is no acceptable conversion)
d:\temp\r\osalp-0.7.3\aflib\aflibaudio.cpp(440) : error C2677: binary =
=3D
'!=3D3D' : no global operator defined which takes type 'class =3D
std::_Tree<int,struct std::pair<int const ,class aflibAudio *>,struct =
=3D
std::map<int,class aflibAudio *,struct std::less<in
t>,class std::allocator<class aflibAudio *> >::_Kfn,struct =3D
std::less<int>,class std::allocator<class aflibAudio *> >::iterator' =
(or =3D
there is no acceptable conversion)
d:\temp\r\osalp-0.7.3\aflib\aflibaudio.cpp(443) : error C2100: illegal =
=3D
indirection
d:\temp\r\osalp-0.7.3\aflib\aflibaudio.cpp(443) : error C2228: left of =
=3D
'.second' must have class/struct/union type
d:\temp\r\osalp-0.7.3\aflib\aflibaudio.cpp(470) : error C2653: =3D
'map<int,class aflibAudio *,struct std::less<int>,class =3D
std::allocator<class aflibAudio *> >' : is not a class or namespace =
name
d:\temp\r\osalp-0.7.3\aflib\aflibaudio.cpp(470) : error C2146: syntax =
=3D
error : missing ';' before identifier 'it'
d:\temp\r\osalp-0.7.3\aflib\aflibaudio.cpp(474) : error C2679: binary =
=3D
'=3D3D' : no operator defined which takes a right-hand operand of type =
=3D
'class std::_Tree<int,struct std::pair<int const ,class aflibAudio =3D
*>,struct std::map<int,class aflibAudio *,str
uct std::less<int>,class std::allocator<class aflibAudio *> =3D
>::_Kfn,struct std::less<int>,class std::allocator<class aflibAudio *> =
=3D
>::iterator' (or there is no acceptable conversion)
d:\temp\r\osalp-0.7.3\aflib\aflibaudio.cpp(474) : error C2677: binary =
=3D
'!=3D3D' : no global operator defined which takes type 'class =3D
std::_Tree<int,struct std::pair<int const ,class aflibAudio *>,struct =
=3D
std::map<int,class aflibAudio *,struct std::less<in
t>,class std::allocator<class aflibAudio *> >::_Kfn,struct =3D
std::less<int>,class std::allocator<class aflibAudio *> >::iterator' =
(or =3D
there is no acceptable conversion)
d:\temp\r\osalp-0.7.3\aflib\aflibaudio.cpp(476) : error C2100: illegal =
=3D
indirection
d:\temp\r\osalp-0.7.3\aflib\aflibaudio.cpp(476) : error C2228: left of =
=3D
'.second' must have class/struct/union type
aflibAudioBWFilter.cpp
d:\temp\r\osalp-0.7.3\aflib\aflibaudiobwfilter.h(62) : error C2629: =3D
unexpected 'class aflibAudioBWFilter ('
d:\temp\r\osalp-0.7.3\aflib\aflibaudiobwfilter.h(62) : error C2238: =3D
unexpected token(s) preceding ';'
d:\temp\r\osalp-0.7.3\aflib\aflibaudiobwfilter.cpp(59) : error C2511: =
=3D
'aflibAudioBWFilter::aflibAudioBWFilter' : overloaded member function =
=3D
'void (class aflibAudio &,enum =3D
aflibAudioBWFilter::AFLIB_BWFILTER_MODE,double,double)' not found in =
=3D
'aflibAud
ioBWFilter'
d:\temp\r\osalp-0.7.3\aflib\aflibaudiobwfilter.h(49) : see =3D
declaration of 'aflibAudioBWFilter'
d:\temp\r\osalp-0.7.3\aflib\aflibaudiobwfilter.cpp(254) : fatal error =
=3D
C1004: unexpected end of file found
aflibAudioConstantSrc.cpp
d:\temp\r\osalp-0.7.3\aflib\aflibaudioconstantsrc.cpp(209) : error =3D
C2065: 'M_PI' : undeclared identifier
.....
..... (lots of others messages errors)
.....
BSCMAKE: error BK1506 : cannot open file =3D
'.\Debug\aflibAudioBWFilter.sbr': No such file or directory
Error executing bscmake.exe.
=20
acmus.exe - 460 error(s), 0 warning(s)
=20
Does any can help me to resolve the pb ?
=20
Thanks
=20
E.P
|