473,409 Members | 1,943 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,409 software developers and data experts.

Wrapping libjingle

everyone, I'm trying to write my first own application with
Libjingle, but when i compile the code I've this errors:

In file included from call.cpp:1:
call.h:2:44: error: talk/base/physicalsocketserver.h: No such file or
directory
In file included from call.h:3,
from call.cpp:1:
/usr/src/libjingle-0.3.0/talk/base/ssladapter.h:31:35: error:
talk/base/asyncsocket.h: No such file or directory
In file included from call.h:4,
from call.cpp:1:
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:31:32: error:
talk/p2p/base/port.h: No such file or directory
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:32:36: error:
talk/xmpp/xmpppassword.h: No such file or directory
In file included from call.h:5,
from call.cpp:1:
/usr/src/libjingle-0.3.0/talk/examples/login/xmppthread.h:31:42: error:
talk/xmpp/xmppclientsettings.h: No such file or directory
/usr/src/libjingle-0.3.0/talk/examples/login/xmppthread.h:32:30: error:
talk/base/thread.h: No such file or directory
/usr/src/libjingle-0.3.0/talk/examples/login/xmppthread.h:33:42: error:
talk/examples/login/xmpppump.h: No such file or directory
/usr/src/libjingle-0.3.0/talk/examples/login/xmppthread.h:34:44: error:
talk/examples/login/xmppsocket.h: No such file or directory
In file included from call.h:6,
from call.cpp:1:
/usr/src/libjingle-0.3.0/talk/examples/login/xmppauth.h:33:31: error:
talk/base/sigslot.h: No such file or directory
/usr/src/libjingle-0.3.0/talk/examples/login/xmppauth.h:34:27: error:
talk/xmpp/jid.h: No such file or directory
/usr/src/libjingle-0.3.0/talk/examples/login/xmppauth.h:35:35: error:
talk/xmpp/saslhandler.h: No such file or directory
/usr/src/libjingle-0.3.0/talk/examples/login/xmppauth.h:36:35: error:
talk/xmpp/prexmppauth.h: No such file or directory
/usr/src/libjingle-0.3.0/talk/examples/login/xmppauth.h:37:36: error:
talk/xmpp/xmpppassword.h: No such file or directory
In file included from call.h:7,
from call.cpp:1:
/usr/src/libjingle-0.3.0/talk/examples/call/callclient.h:25:35: error:
talk/p2p/base/session.h: No such file or directory
/usr/src/libjingle-0.3.0/talk/examples/call/callclient.h:26:43: error:
talk/p2p/client/sessionclient.h: No such file or directory
/usr/src/libjingle-0.3.0/talk/examples/call/callclient.h:27:34: error:
talk/xmpp/xmppclient.h: No such file or directory
/usr/src/libjingle-0.3.0/talk/examples/call/callclient.h:28:39: error:
talk/examples/call/status.h: No such file or directory
/usr/src/libjingle-0.3.0/talk/examples/call/callclient.h:29:40: error:
talk/examples/call/console.h: No such file or directory
In file included from call.h:8,
from call.cpp:1:
/usr/src/libjingle-0.3.0/talk/examples/call/console.h:23:30: error:
talk/base/thread.h: No such file or directory
/usr/src/libjingle-0.3.0/talk/examples/call/console.h:24:36: error:
talk/base/messagequeue.h: No such file or directory
/usr/src/libjingle-0.3.0/talk/examples/call/console.h:59:44: warning:
no newline at end of file
/usr/src/libjingle-0.3.0/talk/base/ssladapter.h:37: error: expected
class-name before '{' token
/usr/src/libjingle-0.3.0/talk/base/ssladapter.h:39: error: expected `)'
before '*' token
/usr/src/libjingle-0.3.0/talk/base/ssladapter.h:51: error: expected
';' before '(' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:42: error:
expected unqualified-id before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:42: error:
expected ',' or '...' before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:42: error: ISO
C++ forbids declaration of 'parameter' with no type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:43: error:
expected unqualified-id before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:43: error:
expected ',' or '...' before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:43: error: ISO
C++ forbids declaration of 'parameter' with no type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:44: error:
expected ',' or '...' before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:44: error: ISO
C++ forbids declaration of 'XmppPassword' with no type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:45: error:
expected unqualified-id before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:45: error:
expected ',' or '...' before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:45: error: ISO
C++ forbids declaration of 'parameter' with no type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:46: error:
expected unqualified-id before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:46: error:
expected ',' or '...' before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:46: error: ISO
C++ forbids declaration of 'parameter' with no type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:48: error:
expected unqualified-id before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:48: error:
expected ',' or '...' before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:48: error: ISO
C++ forbids declaration of 'parameter' with no type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:51: error:
'cricket::ProtocolType' has not been declared
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:52: error:
'cricket::ProxyType' has not been declared
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:53: error:
expected unqualified-id before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:53: error:
expected ',' or '...' before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:53: error: ISO
C++ forbids declaration of 'parameter' with no type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:56: error:
expected unqualified-id before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:56: error:
expected ',' or '...' before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:56: error: ISO
C++ forbids declaration of 'parameter' with no type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:57: error:
expected ',' or '...' before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:57: error: ISO
C++ forbids declaration of 'XmppPassword' with no type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:59: error: ISO
C++ forbids declaration of 'string' with no type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:59: error:
invalid use of '::'
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:59: error:
expected ';' before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:60: error:
expected `;' before 'const'
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:60: error: ISO
C++ forbids declaration of 'string' with no type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:60: error:
invalid use of '::'
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:60: error:
expected ';' before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:61: error:
expected `;' before 'const'
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:61: error: ISO
C++ forbids declaration of 'XmppPassword' with no type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:61: error:
expected ';' before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:62: error:
expected `;' before 'const'
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:62: error: ISO
C++ forbids declaration of 'string' with no type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:62: error:
invalid use of '::'
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:62: error:
expected ';' before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:63: error:
expected `;' before 'const'
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:63: error: ISO
C++ forbids declaration of 'string' with no type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:63: error:
invalid use of '::'
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:63: error:
expected ';' before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:64: error:
expected `;' before 'bool'
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:65: error: ISO
C++ forbids declaration of 'SocketAddress' with no type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:65: error:
invalid use of '::'
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:65: error:
expected ';' before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:66: error:
expected `;' before 'cricket'
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:66: error:
'ProtocolType' in namespace 'cricket' does not name a type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:67: error:
'ProxyType' in namespace 'cricket' does not name a type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:68: error: ISO
C++ forbids declaration of 'string' with no type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:68: error:
invalid use of '::'
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:68: error:
expected ';' before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:69: error:
expected `;' before 'int'
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:71: error: ISO
C++ forbids declaration of 'string' with no type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:71: error:
invalid use of '::'
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:71: error:
expected ';' before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:72: error:
expected `;' before 'const'
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:72: error: ISO
C++ forbids declaration of 'XmppPassword' with no type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:72: error:
expected ';' before '&' token
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:74: error:
expected `;' before 'private'
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:75: error:
'string' in namespace 'std' does not name a type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:76: error:
'string' in namespace 'std' does not name a type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:77: error:
'XmppPassword' does not name a type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:78: error:
'string' in namespace 'std' does not name a type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:79: error:
'string' in namespace 'std' does not name a type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:82: error:
'SocketAddress' in namespace 'cricket' does not name a type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:83: error:
'ProtocolType' in namespace 'cricket' does not name a type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:84: error:
'ProxyType' in namespace 'cricket' does not name a type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:85: error:
'string' in namespace 'std' does not name a type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:88: error:
'string' in namespace 'std' does not name a type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:89: error:
'XmppPassword' does not name a type
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h: In constructor
'buzz::XmppClientSettings::XmppClientSettings()':
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:39: error:
class 'buzz::XmppClientSettings' does not have any field named
'protocol_'
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:39: error:
'PROTO_TCP' is not a member of 'cricket'
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:40: error:
class 'buzz::XmppClientSettings' does not have any field named
'proxy_'
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:40: error:
'PROXY_NONE' is not a member of 'cricket'
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h: In member
function 'void buzz::XmppClientSettings::set_user(int)':
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:42: error:
'user_' was not declared in this scope
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:42: error:
'user' was not declared in this scope
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h: In member
function 'void buzz::XmppClientSettings::set_host(int)':
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:43: error:
'host_' was not declared in this scope
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:43: error:
'host' was not declared in this scope
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h: In member
function 'void buzz::XmppClientSettings::set_pass(int)':
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:44: error:
'pass_' was not declared in this scope
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:44: error:
'pass' was not declared in this scope
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h: In member
function 'void buzz::XmppClientSettings::set_auth_cookie(int)':
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:45: error:
'auth_cookie_' was not declared in this scope
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:45: error:
'cookie' was not declared in this scope
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h: In member
function 'void buzz::XmppClientSettings::set_resource(int)':
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:46: error:
'resource_' was not declared in this scope
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:46: error:
'resource' was not declared in this scope
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h: In member
function 'void buzz::XmppClientSettings::set_server(int)':
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:49: error:
'server_' was not declared in this scope
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:49: error:
'server' was not declared in this scope
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h: In member
function 'void buzz::XmppClientSettings::set_protocol(int)':
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:51: error:
'protocol_' was not declared in this scope
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h: In member
function 'void buzz::XmppClientSettings::set_proxy(int)':
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:52: error:
'proxy_' was not declared in this scope
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h: In member
function 'void buzz::XmppClientSettings::set_proxy_host(int)':
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:53: error:
'proxy_host_' was not declared in this scope
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:53: error:
'host' was not declared in this scope
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h: In member
function 'void buzz::XmppClientSettings::set_proxy_user(int)':
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:56: error:
'proxy_user_' was not declared in this scope
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:56: error:
'user' was not declared in this scope
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h: In member
function 'void buzz::XmppClientSettings::set_proxy_pass(int)':
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:57: error:
'proxy_pass_' was not declared in this scope
/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h:57: error:
'pass' was not declared in this scope
/usr/src/libjingle-0.3.0/talk/examples/login/xmppthread.h: At global
scope:
/usr/src/libjingle-0.3.0/talk/examples/login/xmppthread.h:38: error:
expected class-name before ',' token
/usr/src/libjingle-0.3.0/talk/examples/login/xmppthread.h:38: error:
expected class-name before ',' token
/usr/src/libjingle-0.3.0/talk/examples/login/xmppthread.h:38: error:
expected class-name before '{' token
/usr/src/libjingle-0.3.0/talk/examples/login/xmppthread.h:43: error:
using-declaration for non-member at class scope
/usr/src/libjingle-0.3.0/talk/examples/login/xmppthread.h:43: error:
expected ';' before '*' token
/usr/src/libjingle-0.3.0/talk/examples/login/xmppthread.h:45: error:
expected `;' before 'void'
/usr/src/libjingle-0.3.0/talk/examples/login/xmppthread.h:51: error:
ISO C++ forbids declaration of 'XmppPump' with no type
/usr/src/libjingle-0.3.0/talk/examples/login/xmppthread.h:51: error:
expected ';' before '*' token
/usr/src/libjingle-0.3.0/talk/examples/login/xmppthread.h:53: error:
'buzz::XmppEngine' has not been declared
/usr/src/libjingle-0.3.0/talk/examples/login/xmppthread.h:53: error:
'State' has not been declared
/usr/src/libjingle-0.3.0/talk/examples/login/xmppthread.h:54: error:
'cricket::Message' has not been declared
/usr/src/libjingle-0.3.0/talk/examples/login/xmppauth.h:39: error:
expected class-name before '{' token
/usr/src/libjingle-0.3.0/talk/examples/login/xmppauth.h:44: error:
expected unqualified-id before '&' token
/usr/src/libjingle-0.3.0/talk/examples/login/xmppauth.h:44: error:
expected ',' or '...' before '&' token
/usr/src/libjingle-0.3.0/talk/examples/login/xmppauth.h:47: error: ISO
C++ forbids declaration of 'parameter' with no type
/usr/src/libjingle-0.3.0/talk/examples/login/xmppauth.h:52: error:
'CaptchaChallenge' in namespace 'buzz' does not name a type
/usr/src/libjingle-0.3.0/talk/examples/login/xmppauth.h:61: error: ISO
C++ forbids declaration of 'SaslMechanism' with no type
/usr/src/libjingle-0.3.0/talk/examples/login/xmppauth.h:61: error:
invalid use of '::'
/usr/src/libjingle-0.3.0/talk/examples/login/xmppauth.h:61: error:
'SaslMechanism' declared as a 'virtual' field
/usr/src/libjingle-0.3.0/talk/examples/login/xmppauth.h:61: error:
expected ';' before '*' token
/usr/src/libjingle-0.3.0/talk/examples/login/xmppauth.h:65: error:
'Jid' in namespace 'buzz' does not name a type
/usr/src/libjingle-0.3.0/talk/examples/login/xmppauth.h:66: error:
'XmppPassword' in namespace 'buzz' does not name a type
/usr/src/libjingle-0.3.0/talk/examples/call/callclient.h:46: error:
'Jid' in namespace 'buzz' does not name a type
/usr/src/libjingle-0.3.0/talk/examples/call/callclient.h:47: error:
'Show' in class 'buzz::Status' does not name a type
/usr/src/libjingle-0.3.0/talk/examples/call/callclient.h:51: error:
'sigslot' has not been declared
/usr/src/libjingle-0.3.0/talk/examples/call/callclient.h:51: error:
expected template-name before '<' token
/usr/src/libjingle-0.3.0/talk/examples/call/callclient.h:51: error:
expected `{' before '<' token
/usr/src/libjingle-0.3.0/talk/examples/call/callclient.h:51: error:
expected unqualified-id before '<' token
/usr/src/libjingle-0.3.0/talk/examples/call/console.h:33: error:
expected class-name before '{' token

These errore are concerned to these includes:

#ifdef __cplusplus
#include "talk/base/physicalsocketserver.h"
#include "/usr/src/libjingle-0.3.0/talk/base/ssladapter.h"
#include "/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h"
#include "/usr/src/libjingle-0.3.0/talk/examples/login/xmppthread.h"
#include "/usr/src/libjingle-0.3.0/talk/examples/login/xmppauth.h"
#include "/usr/src/libjingle-0.3.0/talk/examples/call/callclient.h"
#include "/usr/src/libjingle-0.3.0/talk/examples/call/console.h"

My app is in another directory, but I've tried including with relative
path (having a No such file or directory error) or absolute path
(having no more No such file or directory error for these file but
having the same error for the file included by the first). I' ve tried
changing the envirorment variables CPATH and CPLUS_INCLUDE_PATH but
with no result.
Sorry if this may be a stupid error, but I'm a little newbie to this...

Jun 13 '06 #1
2 3323
Raffounz wrote:
everyone, I'm trying to write my first own application with
Libjingle, but when i compile the code I've this errors:

In file included from call.cpp:1:
call.h:2:44: error: talk/base/physicalsocketserver.h: No such file or
directory
In file included from call.h:3,
from call.cpp:1:
/usr/src/libjingle-0.3.0/talk/base/ssladapter.h:31:35: error:
talk/base/asyncsocket.h: No such file or directory
In file included from call.h:4,
from call.cpp:1:
[snip]
These errore are concerned to these includes:

#ifdef __cplusplus
#include "talk/base/physicalsocketserver.h"
#include "/usr/src/libjingle-0.3.0/talk/base/ssladapter.h"
#include "/usr/src/libjingle-0.3.0/talk/xmpp/xmppclientsettings.h"
#include "/usr/src/libjingle-0.3.0/talk/examples/login/xmppthread.h"
#include "/usr/src/libjingle-0.3.0/talk/examples/login/xmppauth.h"
#include "/usr/src/libjingle-0.3.0/talk/examples/call/callclient.h"
#include "/usr/src/libjingle-0.3.0/talk/examples/call/console.h"

My app is in another directory, but I've tried including with relative
path (having a No such file or directory error) or absolute path
(having no more No such file or directory error for these file but
having the same error for the file included by the first). I' ve tried
changing the envirorment variables CPATH and CPLUS_INCLUDE_PATH but
with no result.
Sorry if this may be a stupid error, but I'm a little newbie to this...


Try to add the directory /usr/src/libjingle-0.3.0 to the include path on
your compiler command line. What that is depends on your compiler. Most
often, it's something like -I followed by the directory name.

Jun 13 '06 #2
Ok, now it works... my error was that I add the path /usr/src ratehr
than /usr/src/libjingle-0.3.0 as a parameter of the -I option in gcc...
Thanks!!

Jun 13 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: Roy Smith | last post by:
I've got a C library with about 50 calls in it that I want to wrap in Python. I know I could use some tool like SWIG, but that will give me a too-literal translation; I want to make some...
11
by: yawnmoth | last post by:
word wrapping normally treats some spaces as line feeds, if there hasn't been a line feed for quite a while. so while a string with eighty consecutive a's might not word wrap, a space placed...
5
by: nimdez | last post by:
Hi, I am working on an existing code base in which a lot of data displayed to the user is formatted in tables. Most tables are printed row-by-row using printf() with "%s" print conversion...
2
by: dam_fool_2003 | last post by:
My understanding about wrapping is that we add utilities to a lib function for our specific use. So days ago in the c.l.c I saw a function def as: void * xmalloc (size_t size) { register void...
2
by: Scott | last post by:
I having a problem where I need to turn off the wrapping feature for all columns in my datagrid. Example code would be: <asp:DataGrid id="ResultGrid" runat="server" AutoGenerateColumns="true">...
1
by: mg | last post by:
I set the width of a WebForm Label but do not get line wrapping (see below). What can I do to get line wrapping WebForm1.asp <asp:Labe id="Label1" style="Z-INDEX: 101; LEFT: 40px; POSITION:...
4
by: rodchar | last post by:
Hey all, I have a datagrid that auto-generate the columns. When I run the app some of the column values are wrapping. How do I prevent the values from wrapping? Do I have to use template...
8
by: Nathan | last post by:
I am trying to prevent a horizontal list from wrapping. Each list item is floated with "float: left". Currently I use an ugly hack. I set the width of the list to a large number which is...
9
by: Siv | last post by:
Hi, I am trying to find a wrapping routine for text and not having much luck. The reason I need one is that I am producing a report where the text that was stored in the database was written into...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.