arturoc / ofxGstRTP

Addon for sending video, audio, depth and osc to a remote peer using RTP. It can also use ofxXMPP to initiate the session through google talk, jabber or any other xmpp compatible server so you don't need to know the IP of the remote end. It can also use ofxNice to do NAT transversal so you can send data from computers behind NAT routers. Requires gstreamer to work.
55 stars 22 forks source link

No matching function to call to ‘ofxXMPP::terminateRTPSession(.... #1

Open StudioAndela opened 10 years ago

StudioAndela commented 10 years ago

Hi Arturoc,

I get the following message: No package 'nice' found Package nice was not found in the pkg-config search path. Perhaps you should add the directory containing `nice.pc'

How do I fix this? I am using Ubuntu 32 bit.

arturoc commented 10 years ago

you need to install linice-dev:

sudo apt-get install libnice-dev

StudioAndela commented 10 years ago

Thanks! Now I get:

../../../addons/ofxGstRTP/src/ofxGstXMPPRTP.cpp|152|error: no matching function for call to ‘ofxXMPP::terminateRTPSession(std::string&, ofxXMPPTerminateReason)’|

When I try to run the xmpp example I get this:

../../../of_v20131007_linux_release/apps/myApps/exampleVideoAudioOsc/../../../addons/ofxXMPP/src/ofxXMPP.cpp|89|undefined reference to `xmpp_stanza_get_child_by_name'|

and:

ofxXMPP.cpp:(.text+0x7a2): undefined reference to xmpp_stanza_set_attribute' ofxXMPP.cpp:(.text+0x7b9): undefined reference toxmpp_stanza_set_attribute' ofxXMPP.cpp:(.text+0x7cc): undefined reference to xmpp_stanza_set_attribute' ofxXMPP.cpp:(.text+0x7d5): undefined reference toxmpp_stanza_add_child' ofxXMPP.cpp:(.text+0x7e6): undefined reference to xmpp_send' ofxXMPP.cpp:(.text+0x7ee): undefined reference toxmpp_stanza_release' ofxXMPP.cpp:(.text+0x7f7): undefined reference to xmpp_stanza_release' ofxXMPP.cpp:(.text+0x800): undefined reference toxmpp_stanza_release' ofxXMPP.cpp:(.text+0x80b): undefined reference to xmpp_stanza_release' ofxXMPP.cpp:(.text+0x813): undefined reference toxmpp_stanza_release'

and a lot more 'undefined reference' errors

any idea?

arturoc commented 10 years ago

i've been doing changes to the addons so might be that some of them are not up to date. try pulling the latest version of all of them. now it requires also ofxEchoCancel

also there was a library that wasn't compiled for linux32 should be working now