wsygzyr / libjingle

Automatically exported from code.google.com/p/libjingle
0 stars 0 forks source link

Need Help to run sample voice call application in visual studio 2010 #205

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I could not run libjingle's call example in Visual studio
2. I have encountered several errors. I have solved some but still asks for 
some other files like "sspi.h" "dirent.h" "unistd.h". 
3. I have downloaded and included in Microsoft SDK but still gettingg errors of 
"SpecBuffer" undeclared identifier.

What is the expected output? What do you see instead?

I could not run successfully. I am getting lots of errors.

What version of the product are you using? On what operating system?

Libjingle Bug Fix version.  Windows 7

Please provide any additional information below.

Errors I got when i tried to run the app in Visual Studio are:

d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(885): error 
C2065: 'SecBuffer' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(885): error 
C2146: syntax error : missing ';' before identifier 'out_sec'
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(885): error 
C2065: 'out_sec' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(886): error 
C2065: 'out_sec' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(886): error 
C2228: left of '.pvBuffer' must have class/struct/union
1>          type is ''unknown-type''
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(887): error 
C2065: 'out_sec' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(887): error 
C2228: left of '.cbBuffer' must have class/struct/union
1>          type is ''unknown-type''
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(888): error 
C2065: 'out_sec' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(888): error 
C2228: left of '.BufferType' must have class/struct/union
1>          type is ''unknown-type''
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(890): error 
C2065: 'SecBufferDesc' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(890): error 
C2146: syntax error : missing ';' before identifier 'out_buf_desc'
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(890): error 
C2065: 'out_buf_desc' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(891): error 
C2065: 'out_buf_desc' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(891): error 
C2228: left of '.ulVersion' must have class/struct/union
1>          type is ''unknown-type''
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(892): error 
C2065: 'out_buf_desc' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(892): error 
C2228: left of '.cBuffers' must have class/struct/union
1>          type is ''unknown-type''
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(893): error 
C2065: 'out_buf_desc' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(893): error 
C2228: left of '.pBuffers' must have class/struct/union
1>          type is ''unknown-type''
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(893): error 
C2065: 'out_sec' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(900): error 
C2065: 'ISC_REQ_CONFIDENTIALITY' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(901): error 
C2065: 'ISC_REQ_REPLAY_DETECT' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(904): error 
C2065: 'ISC_REQ_SEQUENCE_DETECT' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(906): error 
C2039: 'TimeStamp' : is not a member of '`global namespace''
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(906): error 
C2065: 'TimeStamp' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(906): error 
C2146: syntax error : missing ';' before identifier 'lifetime'
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(906): error 
C2065: 'lifetime' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(907): error 
C2065: 'SECURITY_STATUS' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(907): error 
C2146: syntax error : missing ';' before identifier 'ret'
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(907): error 
C2065: 'ret' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(915): error 
C2065: 'NegotiateAuthContext' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(915): error 
C2065: 'neg' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(915): error 
C2061: syntax error : identifier 'NegotiateAuthContext'
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(916): error 
C2065: 'neg' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(918): error 
C2065: 'neg' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(918): error 
C2227: left of '->steps' must point to class/struct/union/generic type
1>          type is ''unknown-type''
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(922): error 
C2065: 'neg' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(922): error 
C2227: left of '->steps' must point to class/struct/union/generic type
1>          type is ''unknown-type''
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(928): error 
C2065: 'SecBuffer' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(928): error 
C2146: syntax error : missing ';' before identifier 'in_sec'
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(928): error 
C2065: 'in_sec' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(929): error 
C2065: 'in_sec' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(929): error 
C2228: left of '.pvBuffer' must have class/struct/union
1>          type is ''unknown-type''
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(930): error 
C2065: 'in_sec' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(930): error 
C2228: left of '.cbBuffer' must have class/struct/union
1>          type is ''unknown-type''
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(931): error 
C2065: 'in_sec' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(931): error 
C2228: left of '.BufferType' must have class/struct/union
1>          type is ''unknown-type''
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(933): error 
C2065: 'SecBufferDesc' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(933): error 
C2146: syntax error : missing ';' before identifier 'in_buf_desc'
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(933): error 
C2065: 'in_buf_desc' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(934): error 
C2065: 'in_buf_desc' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(934): error 
C2228: left of '.ulVersion' must have class/struct/union
1>          type is ''unknown-type''
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(935): error 
C2065: 'in_buf_desc' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(935): error 
C2228: left of '.cBuffers' must have class/struct/union
1>          type is ''unknown-type''
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(936): error 
C2065: 'in_buf_desc' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(936): error 
C2228: left of '.pBuffers' must have class/struct/union
1>          type is ''unknown-type''
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(936): error 
C2065: 'in_sec' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(938): error 
C2065: 'ret' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(938): error 
C2065: 'neg' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(938): error 
C2227: left of '->cred' must point to class/struct/union/generic type
1>          type is ''unknown-type''
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(938): error 
C2065: 'neg' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(938): error 
C2227: left of '->ctx' must point to class/struct/union/generic type
1>          type is ''unknown-type''
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(938): error 
C2065: 'SECURITY_NATIVE_DREP' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(938): error 
C2065: 'in_buf_desc' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(938): error 
C2065: 'neg' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(938): error 
C2227: left of '->ctx' must point to class/struct/union/generic type
1>          type is ''unknown-type''
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(938): error 
C2065: 'out_buf_desc' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(938): error 
C2065: 'lifetime' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(938): error 
C3861: 'InitializeSecurityContextA': identifier not found
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(940): error 
C2065: 'ret' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(942): error 
C2065: 'ret' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(945): error 
C2065: 'neg' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(945): error 
C2227: left of '->specified_credentials' must point to 
class/struct/union/generic type
1>          type is ''unknown-type''
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(949): error 
C2065: 'neg' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(955): error 
C2065: 'neg' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(957): error 
C2065: 'SEC_WINNT_AUTH_IDENTITY_A' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(957): error 
C2146: syntax error : missing ';' before identifier 'auth_id'
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(957): error 
C2065: 'auth_id' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(957): error 
C2065: 'pauth_id' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(959): error 
C2065: 'auth_id' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(959): error 
C2065: 'auth_id' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(959): error 
C2070: ''unknown-type'': illegal sizeof operand
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(965): error 
C2065: 'auth_id' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(965): error 
C2228: left of '.UserLength' must have class/struct/union
1>          type is ''unknown-type''
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(967): error 
C2065: 'auth_id' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(967): error 
C2228: left of '.UserLength' must have class/struct/union
1>          type is ''unknown-type''
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(968): error 
C2065: 'auth_id' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(968): error 
C2228: left of '.UserLength' must have class/struct/union
1>          type is ''unknown-type''
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(969): error 
C2065: 'auth_id' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(969): error 
C2228: left of '.DomainLength' must have class/struct/union
1>          type is ''unknown-type''
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(970): error 
C2065: 'auth_id' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(970): error 
C2228: left of '.DomainLength' must have class/struct/union
1>          type is ''unknown-type''
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(971): error 
C2065: 'auth_id' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(971): error 
C2228: left of '.PasswordLength' must have class/struct/union
1>          type is ''unknown-type''
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(973): error 
C2065: 'auth_id' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(973): error 
C2228: left of '.PasswordLength' must have class/struct/union
1>          type is ''unknown-type''
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(974): error 
C2065: 'auth_id' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(974): error 
C2228: left of '.PasswordLength' must have class/struct/union
1>          type is ''unknown-type''
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(976): error 
C2065: 'auth_id' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(976): error 
C2228: left of '.UserLength' must have class/struct/union
1>          type is ''unknown-type''
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(978): error 
C2065: 'auth_id' : undeclared identifier
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(978): error 
C2228: left of '.UserLength' must have class/struct/union
1>d:\projectworkspace\visualstudioworkspace\call\call\httpcommon.cc(978): fatal 
error C1003: error count exceeds 100; stopping compilation
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Original issue reported on code.google.com by jignesh....@gmail.com on 28 Aug 2011 at 12:22

GoogleCodeExporter commented 9 years ago
Centralize to one VS related issue #242

Original comment by jun...@google.com on 3 Jan 2012 at 10:32