Всем доброго времени суток!
Для ясности скажу сразу, что я немного программирую на яве. Но вот столкнулся с тем, что нужно несколько либ которых нигде нету, есть только открытые исходники. Поставил Visual Studio.NET 2003. Вот собственно проект который пытаюсь собрать
http://sourceforge.net/projects/openh323/files/ оттуда мне нужен openh323. Изначально необходимо было еще для него pwlib собрать (также находится по даной ссылке). Делал все как написано в мануале
http://www.voxgratia.org/docs/openh323_windows.html, а также
http://www.voxgratia.org/docs/pwlib_windows.html и pwlib повозился долго но собрал, а вот openh323 не мого ни как. При сборке OpenH323Lib выдает кучу ошибок, вот лог[more=BuildLog]Command Lines Creating temporary file "c:\Project\openh323\lib\Release\RSP000001.rsp" with contents
[
/O2 /D "NDEBUG" /D "PTRACING" /FD /EHsc /MD /GS /GR /Yu"ptlib.h" /Fp".\lib\Release/OpenH323Lib.pch" /Fo".\lib\Release/" /Fd"lib\OpenH323.pdb" /W4 /c /Zd /TP
.\src\h4601.cxx
.\src\h323pluginmgr.cxx
.\src\h323ep.cxx
.\src\h323caps.cxx
.\src\h323.cxx
.\src\h261codec.cxx
.\src\ffh263codec.cxx
]
Creating command line "cl.exe @c:\Project\openh323\lib\Release\RSP000001.rsp /nologo"
Creating temporary file "c:\Project\openh323\lib\Release\RSP000002.rsp" with contents
[
/O2 /D "NDEBUG" /D "PTRACING" /FD /EHsc /MD /GS /GR /Fp".\lib\Release/OpenH323Lib.pch" /Fo".\lib\Release/" /Fd"lib\OpenH323.pdb" /W1 /c /Zd /TP
.\src\vic\vid_coder.cxx
.\src\vic\transmitter.cxx
.\src\vic\p64encoder.cxx
".\src\vic\encoder-h261.cxx"
]
Creating command line "cl.exe @c:\Project\openh323\lib\Release\RSP000002.rsp /nologo"
Creating temporary file "c:\Project\openh323\lib\Release\RSP000003.rsp" with contents
[
/O2 /D "WIN32" /D "NDEBUG" /D "PTRACING" /FD /EHsc /MD /GS /GR /Fp".\lib\Release/OpenH323Lib.pch" /Fo".\lib\Release/" /Fd"lib\OpenH323.pdb" /W1 /c /Zd /TP
.\src\vic\p64.cxx
.\src\vic\dct.cxx
]
Creating command line "cl.exe @c:\Project\openh323\lib\Release\RSP000003.rsp /nologo"
Creating temporary file "c:\Project\openh323\lib\Release\RSP000004.rsp" with contents
[
/O2 /D "WIN32" /D "NDEBUG" /D "PTRACING" /FD /EHsc /MD /GS /GR /Fp".\lib\Release/OpenH323Lib.pch" /Fo".\lib\Release/" /Fd"lib\OpenH323.pdb" /W0 /c /Zd /TC
.\src\vic\huffcode.c
.\src\vic\bv.c
]
Creating command line "cl.exe @c:\Project\openh323\lib\Release\RSP000004.rsp /nologo"
Creating temporary file "c:\Project\openh323\lib\Release\RSP000005.rsp" with contents
[
/O2 /D "NDEBUG" /D "PTRACING" /FD /EHsc /MD /GS /GR /Yu"ptlib.h" /Fp".\lib\Release/OpenH323Lib.pch" /Fo".\lib\Release/" /Fd"lib\OpenH323.pdb" /W4 /c /Zd /TP
.\src\x880.cxx
.\src\t38.cxx
.\src\mcspdu.cxx
.\src\h501.cxx
.\src\h4509.cxx
.\src\h4508.cxx
.\src\h4507.cxx
.\src\h4506.cxx
.\src\h4505.cxx
.\src\h4504.cxx
.\src\h4503.cxx
.\src\h4502.cxx
.\src\h45011.cxx
.\src\h45010.cxx
.\src\h4501.cxx
.\src\h248.cxx
.\src\mediafmt.cxx
.\src\ixjwin32.cxx
]
Creating command line "cl.exe @c:\Project\openh323\lib\Release\RSP000005.rsp /nologo"
Creating temporary file "c:\Project\openh323\lib\Release\RSP000006.rsp" with contents
[
/O2 /D "NDEBUG" /FD /EHsc /MD /GS /GR /Fp".\lib\Release/OpenH323Lib.pch" /Fo".\lib\Release/" /Fd"lib\OpenH323.pdb" /W1 /c /Zd /TC
.\src\g711.c
]
Creating command line "cl.exe @c:\Project\openh323\lib\Release\RSP000006.rsp /nologo"
Output Window Compiling...
h4601.cxx
C:\Project\openh323\include\h4601.h(702) : error C2061: syntax error : identifier 'PPluginManager'
C:\Project\openh323\include\h4601.h(706) : error C2061: syntax error : identifier 'PPluginManager'
C:\Project\openh323\include\h4601.h(712) : error C2061: syntax error : identifier 'PPluginManager'
C:\Project\openh323\include\h4601.h(1075) : error C2504: 'PDevicePluginServiceDescriptor' : base class undefined
C:\Project\openh323\include\h4601.h(1090) : see reference to class template instantiation 'H460PluginServiceDescriptor' being compiled
src\h4601.cxx(803) : error C2511: 'PStringList H460_Feature::GetFeatureNames(PPluginManager *)' : overloaded member function not found in 'H460_Feature'
c:\Project\openh323\include\h4601.h(537) : see declaration of 'H460_Feature'
src\h4601.cxx(811) : error C2511: 'PStringList H460_Feature::GetFeatureFriendlyNames(const PString &,PPluginManager *)' : overloaded member function not found in 'H460_Feature'
c:\Project\openh323\include\h4601.h(537) : see declaration of 'H460_Feature'
src\h4601.cxx(819) : error C2511: 'H460_Feature *H460_Feature::CreateFeature(const PString &,int,PPluginManager *)' : overloaded member function not found in 'H460_Feature'
c:\Project\openh323\include\h4601.h(537) : see declaration of 'H460_Feature'
h323pluginmgr.cxx
src\h323pluginmgr.cxx(1308) : error C2664: 'H323PluginCodecManager::RegisterStaticCodec' : cannot convert parameter 1 from 'const std::allocator<_Ty>::value_type' to 'const char *'
with
[
_Ty=std::string
]
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
h323ep.cxx
src\h323ep.cxx(1001) : error C2653: 'PSoundChannel' : is not a class or namespace name
src\h323ep.cxx(1001) : error C2653: 'PSoundChannel' : is not a class or namespace name
src\h323ep.cxx(1001) : error C2065: 'Player' : undeclared identifier
src\h323ep.cxx(1001) : error C3861: 'GetDefaultDevice': identifier not found, even with argument-dependent lookup
src\h323ep.cxx(1002) : error C2653: 'PSoundChannel' : is not a class or namespace name
src\h323ep.cxx(1002) : error C2653: 'PSoundChannel' : is not a class or namespace name
src\h323ep.cxx(1002) : error C2065: 'Recorder' : undeclared identifier
src\h323ep.cxx(1002) : error C3861: 'GetDefaultDevice': identifier not found, even with argument-dependent lookup
src\h323ep.cxx(2841) : error C2065: 'PSoundChannel' : undeclared identifier
src\h323ep.cxx(2841) : error C2065: 'soundChannel' : undeclared identifier
src\h323ep.cxx(2843) : error C2064: term does not evaluate to a function taking 1 arguments
src\h323ep.cxx(2843) : error C3861: 'soundChannel': identifier not found, even with argument-dependent lookup
src\h323ep.cxx(2845) : error C2061: syntax error : identifier 'PSoundChannel'
src\h323ep.cxx(2845) : error C3861: 'soundChannel': identifier not found, even with argument-dependent lookup
src\h323ep.cxx(2849) : error C3861: 'soundChannel': identifier not found, even with argument-dependent lookup
src\h323ep.cxx(2854) : error C2227: left of '->Open' must point to class/struct/union
type is ''unknown-type''
src\h323ep.cxx(2854) : error C3861: 'soundChannel': identifier not found, even with argument-dependent lookup
src\h323ep.cxx(2861) : error C2227: left of '->SetBuffers' must point to class/struct/union
type is ''unknown-type''
src\h323ep.cxx(2861) : error C3861: 'soundChannel': identifier not found, even with argument-dependent lookup
src\h323ep.cxx(2862) : error C3861: 'soundChannel': identifier not found, even with argument-dependent lookup
src\h323ep.cxx(2867) : error C2227: left of '->GetErrorText' must point to class/struct/union
type is ''unknown-type''
src\h323ep.cxx(2867) : error C3861: 'soundChannel': identifier not found, even with argument-dependent lookup
src\h323ep.cxx(2869) : error C2541: 'delete' : cannot delete objects that are not pointers
src\h323ep.cxx(2869) : error C3861: 'soundChannel': identifier not found, even with argument-dependent lookup
src\h323ep.cxx(3047) : error C2064: term does not evaluate to a function taking 1 arguments
src\h323ep.cxx(3047) : error C2228: left of '.GetValuesIndex' must have class/struct/union type
src\h323ep.cxx(3057) : error C2064: term does not evaluate to a function taking 1 arguments
src\h323ep.cxx(3057) : error C2228: left of '.GetValuesIndex' must have class/struct/union type
src\h323ep.cxx(3074) : error C2064: term does not evaluate to a function taking 2 arguments
src\h323ep.cxx(3091) : error C2064: term does not evaluate to a function taking 2 arguments
h323caps.cxx
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\algorithm(31) : error C2678: binary '==' : no operator found which takes a left-hand operand of type 'std::allocator<_Ty>::value_type' (or there is no acceptable conversion)
with
[
_Ty=std::string
]
src\h323caps.cxx(2090) : see reference to function template instantiation '_InIt std::find::iterator,PCaselessString>(_InIt,_InIt,const PCaselessString &)' being compiled
with
[
_InIt=std::vector::iterator,
_Ty=std::string
]
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\algorithm(31) : error C2678: binary '==' : no operator found which takes a left-hand operand of type 'std::allocator<_Ty>::value_type' (or there is no acceptable conversion)
with
[
_Ty=std::string
]
src\h323caps.cxx(2092) : see reference to function template instantiation '_InIt std::find::iterator,PString>(_InIt,_InIt,const PString &)' being compiled
with
[
_InIt=std::vector::iterator,
_Ty=std::string
]
h323.cxx
src\h323.cxx(4561) : error C2664: 'PDTMFDecoder::Decode' : cannot convert parameter 1 from 'void *' to 'const short *'
Conversion from 'void*' to pointer to non-'void' requires an explicit cast
h261codec.cxx
src\h261codec.cxx(535) : error C2065: 'PVideoChannel' : undeclared identifier
src\h261codec.cxx(535) : error C2059: syntax error : ')'
src\h261codec.cxx(536) : error C2059: syntax error : ')'
src\h261codec.cxx(536) : error C3861: 'PVideoChannel': identifier not found, even with argument-dependent lookup
src\h261codec.cxx(547) : error C2059: syntax error : ')'
src\h261codec.cxx(547) : error C3861: 'PVideoChannel': identifier not found, even with argument-dependent lookup
src\h261codec.cxx(654) : error C2059: syntax error : ')'
src\h261codec.cxx(654) : error C2143: syntax error : missing ';' before '{'
src\h261codec.cxx(654) : error C3861: 'PVideoChannel': identifier not found, even with argument-dependent lookup
src\h261codec.cxx(822) : error C2059: syntax error : ')'
src\h261codec.cxx(822) : error C3861: 'PVideoChannel': identifier not found, even with argument-dependent lookup
src\h261codec.cxx(858) : error C2059: syntax error : ')'
src\h261codec.cxx(858) : error C3861: 'PVideoChannel': identifier not found, even with argument-dependent lookup
ffh263codec.cxx
src\ffh263codec.cxx(688) : error C2065: 'PVideoChannel' : undeclared identifier
src\ffh263codec.cxx(688) : error C2059: syntax error : ')'
src\ffh263codec.cxx(689) : error C2059: syntax error : ')'
src\ffh263codec.cxx(689) : error C3861: 'PVideoChannel': identifier not found, even with argument-dependent lookup
src\ffh263codec.cxx(705) : error C2059: syntax error : ')'
src\ffh263codec.cxx(707) : error C2181: illegal else without matching if
src\ffh263codec.cxx(705) : error C3861: 'PVideoChannel': identifier not found, even with argument-dependent lookup
src\ffh263codec.cxx(915) : error C2059: syntax error : ')'
src\ffh263codec.cxx(915) : error C3861: 'PVideoChannel': identifier not found, even with argument-dependent lookup
Generating Code...
Results Build log was saved at "file://c:\Project\openh323\lib\Release\BuildLog.htm"
OpenH323Lib - 63 error(s), 0 warning(s) [/more]
Помогите пожалуйста