forums.naturalpoint.com

Discussion and Support for the OptiTrack, SmartNav and TrackIR brands by NaturalPoint

VC6 symbols LNK1103: debugging information corrupt

by JoePilot » Tue May 29, 2007 5:33 pm

I'm integrating the OptiTrack COM API with an application written in MSVC++ 6. I get the following link error:

optitrackuuid.lib(optitrack_i.obj) : fatal error LNK1103: debugging information corrupt; recompile module

This seems to indicate a problem in the vendor supplied .lib file. Is there a basic incompatibility with MSVC++ 6? Do I really have a corrupt file?

Interestingly, the release version builds fine, as it does not need debugging info.

Thanks for any help.

Joe

(edit - birch. make post title more specific)
JoePilot
 
Posts: 2
Joined: Tue May 29, 2007 5:14 pm

by yoshi » Wed May 30, 2007 12:38 pm

I had the same issue before, I believe you can overcome the problem by using the optitrackuuid.lib from old OptiTrack Flex3 SDK, just for debug build. I use the one that is dated 03/25/2005.
yoshi
 
Posts: 174
Joined: Sun Jul 24, 2005 5:00 am
Location: silicon valley

by JoePilot » Wed May 30, 2007 5:16 pm

I had the same issue before, I believe you can overcome the problem by using the optitrackuuid.lib from old OptiTrack Flex3 SDK, just for debug build. I use the one that is dated 03/25/2005.


This seems to work (I can at least build now). Thanks for the tip.

Joe
JoePilot
 
Posts: 2
Joined: Tue May 29, 2007 5:14 pm

by Birch » Thu May 31, 2007 3:58 pm

To clarify, the debug symbols in newer versions of the OptiTrack SDK (build 28+ I believe) are no longer compatible with VC6. Newer versions of VC (2003/etc) should be okay, or use the workaround that Yoshi mentions.
Birch
NaturalPoint Employee
NaturalPoint Employee
 
Posts: 1140
Joined: Thu Jan 30, 2003 5:00 am
Location: Corvallis, Oregon

by DaveA » Fri Jun 22, 2007 7:22 pm

I'm also having this problem. So where can I get the earlier version of the SDK?
DaveA
 
Posts: 2
Joined: Fri Jun 22, 2007 7:18 pm

by VincentG » Mon Jun 25, 2007 11:23 am

If you send me an email directly, support@naturalpoint.com, I will send you out a link to the older SDK.
VincentG
 
Posts: 7728
Joined: Mon Jul 17, 2006 5:00 am
Location: Corvallis, Oregon

by Birch » Mon Jun 25, 2007 9:43 pm

We also added a Software Archive section to the OptiTrack website today. You can find older releases of the SDK there.

http://www.naturalpoint.com/optitrack/support/downloads-archive.html
Birch
NaturalPoint Employee
NaturalPoint Employee
 
Posts: 1140
Joined: Thu Jan 30, 2003 5:00 am
Location: Corvallis, Oregon

by DaveA » Thu Jun 28, 2007 7:27 pm

When I use the early version of the SDK I get an unspported device error when I try to open the camera in a VC6 program. Could this be because I am using a TrackIR 4 with the early SDK?

If so, is there any way to get the source for the optitrackuuid.lib module so that I can create the library under VC6 and get the correct debug info? If not is there any chance of getting a version with VC6 debug info?

It isn't likely that we will upgrade to the latest version of MSVC since we have several major projects in work right now and the upgrade simply isn't feasible in mid-project.
DaveA
 
Posts: 2
Joined: Fri Jun 22, 2007 7:18 pm

by Harinath » Tue Sep 07, 2010 1:11 am

I have downloaded sample(OptiTrack_sample_VC8b_v31.zip) here http://www.naturalpoint.com/optitrack/s ... tions.html

I'm working with Visual studio2008 SP1 .After the .sln file is opened, it asks me to convert to newer version, then If i compile,I get the following error :mad:

LINK : fatal error LNK1104: cannot open file '..\..\lib\i386\optitrackuuid.lib'

Thanks for any help
Harinath
Harinath
 
Posts: 8
Joined: Tue Sep 07, 2010 1:06 am
Location: south korea

by Birch » Tue Sep 07, 2010 2:40 pm

Instead of copying the optitrackuuid.lib file, it would be better to use the project settings editor to add the optitrack SDK paths to the include and link paths. That way if you change SDK versions you won't be using stale files.
Birch
NaturalPoint Employee
NaturalPoint Employee
 
Posts: 1140
Joined: Thu Jan 30, 2003 5:00 am
Location: Corvallis, Oregon


Return to OptiTrack SDK