VRPN driver using VRJuggler source code from git with unresolved external symbol VrpnRumbleEffect linking issue

62 views
Skip to first unread message

Simon Su

unread,
Apr 4, 2013, 2:26:14 PM4/4/13
to vrjuggler...@googlegroups.com
Hello,
 
Which version of VRPN do I use to get the vrpn driver compile for vrjuggler that I git from google code on April 2nd, 2013?
 
Others compiled ok but I am getting a linking error attached at the bottom of this email. I am using VRPN 07_30 and VS2010 with SP1 compling a 64bit version of VRJuggler library on Win7 Professional 64bit.
 
The linking error is has to do with unresolved external symbol with VrpnRumbleEffect.
 
 
thank you much
-s
 
=============== vs2010 output ===============
 
1>------ Build started: Project: VPR, Configuration: ReleaseDLL x64 ------
1>Build started 4/4/2013 2:03:08 PM.
1>InitializeBuildStatus:
1>  Creating "x64\ReleaseDLL\VPR.unsuccessfulbuild" because "AlwaysCreate" was specified.
1>ClCompile:
1>  All outputs are up-to-date.
1>  All outputs are up-to-date.
1>ResourceCompile:
1>  All outputs are up-to-date.
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning MSB8012: TargetPath(C:\build\VRJuggler\vrjuggler-git-20130402\vc10\VPR\x64\ReleaseDLL\VPR.dll) does not match the Linker's OutputFile property value (C:\build\VRJuggler\vrjuggler-git-20130402\vc10\VPR\x64\ReleaseDLL\vpr-2_3_5.dll). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(992,5): warning MSB8012: TargetName(VPR) does not match the Linker's OutputFile property value (vpr-2_3_5). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
1>Link:
1>  All outputs are up-to-date.
1>  VPR.vcxproj -> C:\build\VRJuggler\vrjuggler-git-20130402\vc10\VPR\x64\ReleaseDLL\VPR.dll
1>FinalizeBuildStatus:
1>  Deleting file "x64\ReleaseDLL\VPR.unsuccessfulbuild".
1>  Touching "x64\ReleaseDLL\VPR.lastbuildstate".
1>
1>Build succeeded.
1>
1>Time Elapsed 00:00:00.07
2>------ Build started: Project: Gadgeteer, Configuration: ReleaseDLL x64 ------
2>Build started 4/4/2013 2:03:09 PM.
2>InitializeBuildStatus:
2>  Creating "x64\ReleaseDLL\Gadgeteer.unsuccessfulbuild" because "AlwaysCreate" was specified.
2>ClCompile:
2>  All outputs are up-to-date.
2>ResourceCompile:
2>  All outputs are up-to-date.
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning MSB8012: TargetPath(C:\build\VRJuggler\vrjuggler-git-20130402\vc10\Gadgeteer\x64\ReleaseDLL\Gadgeteer.dll) does not match the Linker's OutputFile property value (C:\build\VRJuggler\vrjuggler-git-20130402\vc10\Gadgeteer\x64\ReleaseDLL\gadget-2_1_29.dll). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(992,5): warning MSB8012: TargetName(Gadgeteer) does not match the Linker's OutputFile property value (gadget-2_1_29). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
2>Link:
2>  All outputs are up-to-date.
2>  Gadgeteer.vcxproj -> C:\build\VRJuggler\vrjuggler-git-20130402\vc10\Gadgeteer\x64\ReleaseDLL\Gadgeteer.dll
2>FinalizeBuildStatus:
2>  Deleting file "x64\ReleaseDLL\Gadgeteer.unsuccessfulbuild".
2>  Touching "x64\ReleaseDLL\Gadgeteer.lastbuildstate".
2>
2>Build succeeded.
2>
2>Time Elapsed 00:00:00.12
3>------ Build started: Project: Driver - VRPN, Configuration: ReleaseDLL x64 ------
3>Build started 4/4/2013 2:03:09 PM.
3>InitializeBuildStatus:
3>  Touching "x64\ReleaseDLL\Driver - VRPN.unsuccessfulbuild".
3>ClCompile:
3>  All outputs are up-to-date.
3>ResourceCompile:
3>  All outputs are up-to-date.
3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning MSB8012: TargetPath(C:\build\VRJuggler\vrjuggler-git-20130402\vc10\Gadgeteer\VRPN\x64\ReleaseDLL\Driver - VRPN.dll) does not match the Linker's OutputFile property value (C:\build\VRJuggler\vrjuggler-git-20130402\vc10\Gadgeteer\VRPN\x64\ReleaseDLL\VRPN_drv.dll). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(992,5): warning MSB8012: TargetName(Driver - VRPN) does not match the Linker's OutputFile property value (VRPN_drv). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
3>Link:
3>     Creating library x64\ReleaseDLL\VRPN_drv.lib and object x64\ReleaseDLL\VRPN_drv.exp
3>Vrpn.obj : error LNK2019: unresolved external symbol "public: __cdecl VrpnRumbleEffect::VrpnRumbleEffect(class gadget::Vrpn *,enum gadget::RumbleEffect::RumbleType)" (??0VrpnRumbleEffect@@QEAA@PEAVVrpn@gadget@@W4RumbleType@RumbleEffect@2@@Z) referenced in function "protected: virtual class boost::shared_ptr<class gadget::RumbleEffect> __cdecl gadget::Vrpn::createEffectImp(enum gadget::RumbleEffect::RumbleType)" (?createEffectImp@Vrpn@gadget@@MEAA?AV?$shared_ptr@VRumbleEffect@gadget@@@boost@@W4RumbleType@RumbleEffect@2@@Z)
3>x64\ReleaseDLL\VRPN_drv.dll : fatal error LNK1120: 1 unresolved externals
3>
3>Build FAILED.
3>
3>Time Elapsed 00:00:00.10
========== Build: 2 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========

Ryan Pavlik

unread,
Apr 6, 2013, 9:30:38 AM4/6/13
to vrjuggler...@googlegroups.com

That is an error in the converted visual studio 10 project files. I had added a script to generate them from the vs9 ones and automatically fix that conversion error, but it was disabled for some reason a few commits ago. You can look in Google code to find the bug report I filed IIRC (or perhaps there was just a mailing list email, not sure). That should give you the commit before the change, or if you need something newer, you'll know what commit to revert.

--
Sent from my small, suspiciously phone-shaped Android tablet

--
 
---
You received this message because you are subscribed to the Google Groups "vrjuggler-questions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vrjuggler-quest...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Simon Su

unread,
Apr 6, 2013, 3:22:57 PM4/6/13
to vrjuggler...@googlegroups.com
Thanks Ryan...

Will try and email you if I'm not about to get it going.

-s
--
 
---
You received this message because you are subscribed to the Google Groups "vrjuggler-questions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vrjuggler-quest...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
 
---
You received this message because you are subscribed to the Google Groups "vrjuggler-questions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vrjuggler-quest...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 


--
-simon
Reply all
Reply to author
Forward
0 new messages