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.
Using the VRPN Server
Re: Using the VRPN Server
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
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
Re: Using the VRPN Server
Hi Jozef,
Thanks for the reply. I have been able to link and get the output successfully.
Thanks.
Thanks for the reply. I have been able to link and get the output successfully.
Thanks.
-
- Posts: 2
- Joined: Mon Jan 27, 2014 1:32 pm
Re: Using the VRPN Server
Could you please tell me how ? as i faced the same problem
-
- Posts: 775
- Joined: Tue Dec 04, 2012 3:53 pm
- Location: INRIA Rennes, FRANCE
Re: Using the VRPN Server
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
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
-
- Posts: 3
- Joined: Tue Feb 18, 2014 2:44 pm
Re: Using the VRPN Server
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
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
-
- Posts: 775
- Joined: Tue Dec 04, 2012 3:53 pm
- Location: INRIA Rennes, FRANCE
Re: Using the VRPN Server
After openvibe install dependencies script has been run, vrpn should be under dependencies/ folder.
Cheers,
Jussi
Cheers,
Jussi
-
- Posts: 3
- Joined: Tue Feb 18, 2014 2:44 pm
Re: Using the VRPN Server
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
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
-
- Posts: 775
- Joined: Tue Dec 04, 2012 3:53 pm
- Location: INRIA Rennes, FRANCE
Re: Using the VRPN Server
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
Happy hacking,
Jussi