Page 1 of 1

VC6 symbols LNK1103: debugging information corrupt

Posted: Tue May 29, 2007 5:33 pm
by JoePilot
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)

Re: LNK1103: debugging information corrupt

Posted: Wed May 30, 2007 12:38 pm
by yoshi
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.

Re: LNK1103: debugging information corrupt

Posted: Wed May 30, 2007 5:16 pm
by JoePilot
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

Re: LNK1103: debugging information corrupt

Posted: Thu May 31, 2007 3:58 pm
by Birch
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.

Re: LNK1103: debugging information corrupt

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

Re: LNK1103: debugging information corrupt

Posted: Mon Jun 25, 2007 11:23 am
by VincentG
If you send me an email directly, support@naturalpoint.com, I will send you out a link to the older SDK.

Re: LNK1103: debugging information corrupt

Posted: Mon Jun 25, 2007 9:43 pm
by Birch
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/s ... chive.html

Re: LNK1103: debugging information corrupt

Posted: Thu Jun 28, 2007 7:27 pm
by DaveA
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.

Re: VC6 symbols LNK1103: debugging information corrupt

Posted: Tue Sep 07, 2010 1:11 am
by Harinath
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

Re: VC6 symbols LNK1103: debugging information corrupt

Posted: Tue Sep 07, 2010 2:40 pm
by Birch
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.