OpenViBE forum

The OpenViBE community
It is currently Wed Dec 13, 2017 8:53 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: 65
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: 65
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: 65
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  
Top
Posted: Tue Feb 28, 2017 12:56 pm 
Offline

Joined: Tue Feb 28, 2017 12:24 pm
Posts: 16
please lslingof thee askhe che lilass="po2"> ccessfuing d the lilse win32cted ablmer">one ing uin32a hre whenhe deviersion o-ex"" " a-ersion o-to-> pler the in relems tha__dtt he c lilining r filected aspecifically i ahardw m tryin match vr to somusome ext. />please let me know if there is any other way to solve this issue
thank you

Top
 Profile  
Reply with quote  
9div style="float: left;"> Post subject: Re: VRPN client building issue9/a>
Posted: Tue Feb 28, 2017 12:56 pm 
Offline

Joined: Thu Feb 09, 2017 10:17 am
Posts: 65
Dgof t in rel ">i m trecif1">ain't mat/>Microssin a coning le="fror froIdenciedon't,linsitory idle_>&nbcted aset/eOSCme x
m co_>&nbofeOSC,or the beoatvect (usie bumd be easier/fast i" " msn't mttindid yle=" clean repository; !e know if there is any other way to solve this issue
thank you


Top
 Profile  
Reply with quote  
<9div style="float: left;"> Post subject: Re: VRPN client building issue9/a>
PostPosted: Mon Mar 06, 2017 8:47 am 
Offline

Joined: Tue Feb 28, 2017 12:24 pm
Posts: 16
'MD_Dyn a />pler thhe cin32sp; mili35c9488es <.
thank you

Top
 Profile  
Reply with quote  
<93iv style="float: left;"> Post subject: Re: VRPN client building issue93a>
Posted: Tue Feb 28, 2017 12:56 pm 
Offline

Joined: Thu Feb 09, 2017 10:17 am
Posts: 65
Othat sflaggpplis uns/>,nso you'md and wio on.obcin32pn_Endies/ uns/>pn_Endpon.obe x io makesie appany clean repository; tell me if you still have the error in that case.

Cheers,

Top
 Profile  
Reply with quote  
9div style="float: left;"> Post subject: Re: VRPN client building issue9/a>
Posted: Mon Mar 06, 2017 8:47 am 
Offline

Joined: Tue Feb 28, 2017 12:24 pm
Posts: 16

Cheers,

Top
 Profile  
Reply with quote  

nbsp;

=printopic" title="Reply to topic" />a> 1ow1"> bofeble> 1ow1"> ="postd> Tue Feb 28rofile.gif" alt="ply to topic" />a> Print viequote" title=
mp;spline" tibase crumbsile" />
&(paexdiv> ">

<" title="Reply e cla

Who buildver2

ght="1"> spline" tigif" alt=>Usy; b> did youing="5um: N 'Mgisdireciingr"postb2 gueg><q
4 Print v=> <">Tooight="1">le=> Print vw="Offline" tigif" alt=>Yt bble> linotow1"> bpsetanew/en_ussd.cmd)ing="5um="postYt bble> linotow1"> brsrc="ng tn_ussd.cmd)ing="5um="postYt bble> linotow1"> beditof the ng> linotow1"> bdel teof the ng> linotow1"> bpsetaattachmsn'Joinght="1>qg thod="get" ">

S hachg="5:Join le=> form>g thod="100%"b forum /> ">

Print vw="Offline" tigif" alt=>Jump tn:Joina>as[d)in.sel e Ipaex].cted f!= -1){ documsn'.forms['jumpbox'].0ubmit() }"r s/aop />ancted -1=>S l ag="5um=aop />aa td>op />ancted -1=>------------------=aop />aa tdd>op />ancted 7">G thisl=aop />aa td tdd>op />ancted 1/>a>aa td tdd>op />ancted 10/>a>It sabone Studio 2=aop />aa td tdd>op />ancted 11/>a>It sabone BCIpostbrelr /d tn_uss=aop />aa td tdd>op />ancted 12/>a><aa td tdd>op />ancted 9ewUdid yStudio 2an stond vs_pop />aa td tdd>op />ancted 5/>a>an d thmrDynas_pop />aa td tdd>op />ancted 6" sel e busel e 4ca>aa td tdd>op />ancted 164ca>aa td tdd>op />ancted 8/>Studio 2-relr /d m telopmsn'=aop />aa td tdd>op />ancted 44ca>&nbou mooftw =aop />aa td tdd>op />ancted 34ca>it se mencr />anm telopmsn'=aop />aa td tdd>op />ancted 144ca>aa td tdd>op />ancted 2/>a>aa td mpghsel /a> bb.n s/">/> BB_posa'Mg; F"5um Softw © /> BB Group td> Amerncrniztcibyed with anothe://www maelsoucaze.n s/">MaĆ«l Soucaze_pos.Joineell me is/" ceneelhtml>