OpenViBE forum

The OpenViBE community
It is currently Sat Dec 16, 2017 8:33 pm

All times are UTC




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Using the VRPN Server
PostPosted: Wed Jan 30, 2013 5:46 pm 
Offline

Joined: Fri Dec 21, 2012 12:43 pm
Posts: 49
Hi, I want to know that how can I link C++ and VRPN Server. From that tutorial of keyboard and sinus oscillatior, I copied that main code, added the two header files, and then tried to run, but in vain. I got no output on C++. Which files do I need to add more? Do I need to use the VRPN GENERIC as well? Please guide me, I am not much deep into the programming stuff.

Thanks.


Top
 Profile  
Reply with quote  
PostPosted: Mon Feb 04, 2013 4:12 pm 
Offline

Joined: Tue Nov 02, 2010 8:51 am
Posts: 239
Location: Mensia Technologies Paris FR
Hello uahmed,

the vrpn generic library is only for sending data to openvibe. If you only want to get data from openvibe then this library is not necessary.

You said that you got no output from C++, what are exactly the steps you did? Do you use Linux or Windows, did you link your program to the vrpn library?

Cheers
Jozef

_________________
My Weblog Follow me on Twitter


Top
 Profile  
Reply with quote  
PostPosted: Mon Feb 04, 2013 4:43 pm 
Offline

Joined: Fri Dec 21, 2012 12:43 pm
Posts: 49
Hi Jozef,
Thanks for the reply. I have been able to link and get the output successfully.

Thanks.


Top
 Profile  
Reply with quote  
PostPosted: Tue Mar 25, 2014 11:28 am 
Offline

Joined: Mon Jan 27, 2014 1:32 pm
Posts: 2
Could you please tell me how ? as i faced the same problem :roll:


Top
 Profile  
Reply with quote  
PostPosted: Tue Apr 01, 2014 7:13 am 
Offline

Joined: Tue Dec 04, 2012 3:53 pm
Posts: 601
Location: INRIA Rennes, FRANCE
Hello Sarah,

there is a VRPN tutorial here.

http://openvibe.inria.fr/vrpn-tutorial- ... plication/

If you can't get it to work adapting from the tutorial, could you provide an exact description what is the problem?


Cheers,
Jussi


Top
 Profile  
Reply with quote  
PostPosted: Wed Apr 16, 2014 12:00 pm 
Offline

Joined: Tue Feb 18, 2014 2:44 pm
Posts: 3
Hi Jussi,

I am struggling to complete the tutorial. The problem I face is that, download the header files and source files from the link. But I dont get a vrpn.lib file anywhere. And hence, I cannot link it in the Visual Studio settings for the project. Could you please help. Its really urgent.


Thanks,
Vaibhav


Top
 Profile  
Reply with quote  
PostPosted: Wed Apr 16, 2014 12:27 pm 
Offline

Joined: Tue Dec 04, 2012 3:53 pm
Posts: 601
Location: INRIA Rennes, FRANCE
After openvibe install dependencies script has been run, vrpn should be under dependencies/ folder.


Cheers,
Jussi


Top
 Profile  
Reply with quote  
PostPosted: Mon Apr 21, 2014 11:43 am 
Offline

Joined: Tue Feb 18, 2014 2:44 pm
Posts: 3
Hi Jussi,

Thanks, I figured that out, and my C++ program runs perfectly now. But I have another issue now. Please could you help.

I am trying to use vrpn button server to send stimulations outputs to another application. But my vrpn button server does not receive any outputs. I get an error saying - 'minor version number doesn't match (prefer vrpn: ver. 07.31, got vrpn: 07.26 0)'

I have tried everything; installed previous versions of openvibe, downloaded 07.30 and 07.31 directories from the vrpn website. But still it does not fix the error.

Please could you help me.

Thanks,
Vaibhav


Top
 Profile  
Reply with quote  
PostPosted: Mon Apr 28, 2014 1:30 pm 
Offline

Joined: Tue Dec 04, 2012 3:53 pm
Posts: 601
Location: INRIA Rennes, FRANCE
OpenViBE 0.17 dependency installer pulls vrpn v7.26 to dependencies/. You probably should compile/link your own program against that version, not a newer one. Alternatively, you can try to build OpenViBE against a newer vrpn, but this can be difficult.


Happy hacking,
Jussi


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Americanized by Maƫl Soucaze.