OpenViBE forum

The OpenViBE community
It is currently Wed Aug 23, 2017 2:10 am

All times are UTC




Post new topic Reply to topic  [ 11 posts ] 
Author Message
PostPosted: Tue Feb 28, 2017 12:56 pm 
Offline

Joined: Tue Feb 28, 2017 12:24 pm
Posts: 16
i m trying to connect the vrpn server to some external device ...specifically i am trying to interface arduino board with open vibe to control some device ..may be a robot ..and for that if i am not wrong i have to run the vrpn client...but the problem i am facing is that i am not able to build the vrpn client program on visual studio 2008...it is continuously showing these errors while i m trying to build

1)vrpn.lib(vrpn_Shared.obj) : error LNK2019: unresolved external symbol __dtoui3 referenced in function "void __cdecl vrpn_SleepMsecs(double)" (?vrpn_SleepMsecs@@YAXN@Z)

2)vrpn.lib(vrpn_Connection.obj) : error LNK2019: unresolved external symbol ___report_rangecheckfailure referenced in function "public: static int __stdcall vrpn_Endpoint::handle_sender_message(void *,struct vrpn_HANDLERPARAM)" (?handle_sender_message@vrpn_Endpoint@@SGHPAXUvrpn_HANDLERPARAM@@@Z)

there are some set of warnings also-

1)vrpn.lib(vrpn_Connection.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_MSC_VER=1800' encountered; ignored

2)vrpn.lib(vrpn_Connection.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=0' encountered; ignored

3)vrpn.lib(vrpn_Connection.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:RuntimeLibrary=MD_DynamicRelease' encountered; ignored

4)LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library

i have already added the header files and the library file(vrpn.lib) properly, but still getting these errors , cant understand what is point i am missing
please help me out of this situation...thank you


Top
 Profile  
Reply with quote  
PostPosted: Wed Mar 01, 2017 10:38 am 
Offline

Joined: Thu Feb 09, 2017 10:17 am
Posts: 35
Hi,

It seems that you are trying to link lib compiled with another version of MVSC compiler.

Did you follow the build guide ?
Microsoft Visual Studio 2013 (or Microsoft Visual Studio 2010) is required to build OpenViBE.

Hope that helps,


Top
 Profile  
Reply with quote  
PostPosted: Sat Mar 04, 2017 6:14 pm 
Offline

Joined: Tue Feb 28, 2017 12:24 pm
Posts: 16
thanks for the reply i followed the building instructions and it helped me. but i m still stuck with this one error

error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in vrpn-receiver.obj
i went through the available solutions to this ..i mean changing the runtime library(properties/c/c++/code generation ) settings to the asked one but it still showing the same error.
can u please help me out with this
thank u


Top
 Profile  
Reply with quote  
PostPosted: Mon Mar 06, 2017 8:47 am 
Offline

Joined: Thu Feb 09, 2017 10:17 am
Posts: 35
Hi,

it seems that you are compiling part of the project in Debug mode, and another part in Release mode. Maybe one of the libs.
After making appropriate correction, please clean your project (using the clean function of visual) to be sure.

Hope that helps,


Top
 Profile  
Reply with quote  
PostPosted: Mon Mar 06, 2017 12:00 pm 
Offline

Joined: Tue Feb 28, 2017 12:24 pm
Posts: 16
yes it seems that some part of the project is being build in debug mode and some in release mode ...and the only solution that i found to be done i have already applied and i mentioned that in my previous post
and also cleaned after i applied the changes but still the situation is resolved
please let me know if there is any other way to solve this issue
thank you


Top
 Profile  
Reply with quote  
PostPosted: Mon Mar 06, 2017 12:56 pm 
Offline

Joined: Thu Feb 09, 2017 10:17 am
Posts: 35
Hi,

Are you getting the error from a repository in a clean state or did you modify something ?

I suggest you try compiling using the scripts (win32-dependencies.cmd and win32-build.cmd) from a clean repository; tell me if you still have the error in that case.

Cheers,


Top
 Profile  
Reply with quote  
PostPosted: Sun Mar 12, 2017 7:06 pm 
Offline

Joined: Tue Feb 28, 2017 12:24 pm
Posts: 16
sorry for late reply
thanks fro your help now i can build it successfully and i can see the values coming out from the VRPN server when i run openvibe-examples-openvibe-to-vrpn.cmd
but i have another doubt how can i use these values to control some hardware device through arduino uno board.
thank you


Top
 Profile  
Reply with quote  
PostPosted: Wed Mar 15, 2017 1:06 pm 
Offline

Joined: Thu Feb 09, 2017 10:17 am
Posts: 35
Hi,

Do you have a specific constraint that requires you to use VRPN ?
If you don't, i suggest sending values with OSC box instead. You'll have to develop client side decoding of OSC, but i believe that it will be easier/faster to implement than using VRPN.

Cheers !


Top
 Profile  
Reply with quote  
PostPosted: Thu Mar 16, 2017 4:59 am 
Offline

Joined: Tue Feb 28, 2017 12:24 pm
Posts: 16
i am actually trying to use arduino uno board to control some device so either i have to design a vrpn client over arduino side or as u said use OSC box over openvibe side and design a UDP server to receive information
but now the issue is i cant find the OSC controller box :(


Top
 Profile  
Reply with quote  
PostPosted: Thu Mar 16, 2017 2:01 pm 
Offline

Joined: Thu Feb 09, 2017 10:17 am
Posts: 35
Hi,

OSC is flagged as unstable, so you'll have to check the "show unstable" checkbox to make it appear.

Cheers,


Top
 Profile  
Reply with quote  
PostPosted: Fri Mar 17, 2017 4:12 am 
Offline

Joined: Tue Feb 28, 2017 12:24 pm
Posts: 16
thank u very much, now i can see it
i will ask if i find any problem ...thank you very much again


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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.