Linking Error With Vc++ 5

Post questions and issues with Concept2 PM3 SDK
Post Reply
[old] srichards_njord

Post by [old] srichards_njord » February 6th, 2005, 4:18 am

Hello all,<br /><br />Just playing around with the SDK. I'm getting a linking error of this sort:<br /><br /><!--c1--><table width='95%' cellspacing='1' cellpadding='3' border='0' align='center'><tr><td><b><div class='genmed'>CODE</div></b></td></tr><tr><td class='code'><div><!--ec1--><br />C:\c2 sdk\PC\PM3API Release 1.22\RPPM3DDI.lib : fatal error LNK1106: invalid file or disk full: cannot seek to 0x40c72544<!--c2--></div></td></tr></table><br /><br />Now, the disk isn't full.. any idea what might be causing this? I'm using VC++ 5 learning edition.<br /><br />Cheers,<br /><br />Sid<br />

[old] SimonB

Post by [old] SimonB » February 6th, 2005, 11:16 am

<!--QuoteBegin-srichards_njord+Feb 6 2005, 03:18 AM--><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><div class='genmed'><b>QUOTE(srichards_njord @ Feb 6 2005, 03:18 AM)</b></div></td></tr><tr><td class='quote'><!--QuoteEBegin-->Hello all,<br /><br />Just playing around with the SDK. I'm getting a linking error of this sort:<br /><br /><!--c1--><table width='95%' cellspacing='1' cellpadding='3' border='0' align='center'><tr><td><b><div class='genmed'>CODE</div></b></td></tr><tr><td class='code'><div><!--ec1--><br />C:\c2 sdk\PC\PM3API Release 1.22\RPPM3DDI.lib : fatal error LNK1106: invalid file or disk full: cannot seek to 0x40c72544<!--c2--></div></td></tr></table><br /><br />Now, the disk isn't full.. any idea what might be causing this? I'm using VC++ 5 learning edition.<br /><br />Cheers,<br /><br />Sid <br /> </td></tr></table><br />Hi Sid<br /><br />A few possibilities spring to mind.<br /><br />1. The file is corrupt. Unpack it again from the zip (I am assuming here that rppm3ddi.lib is a C2 SDK file). If the file is not part of the SDK, reinstall your VS environment.<br /><br />2. Your hard disk has a bad sector at the location where the file is located (hence the cannot seek to 0x40c72544). Delete the file, unpack it again from the zip... (See above)<br /><br />3. VC5++ is not compatible with the record sturcture used in the lib. The lib will be produced with a later version of link in Visual Studio. I cannot recall if the record structure has changed between VS5 / VS6 (so long ago !) Get yourself a proper environment such as VS6 or better yet VS.NET<br /><br />Hope that helps.<br /><br /><br />

[old] kpd
Posts: 0
Joined: March 18th, 2006, 10:32 pm

Post by [old] kpd » February 6th, 2005, 11:27 am

I've seen that error in another project. The cause at that time was a problem in the path names. It might simplify debugging this problem to try a simpler directory structure with no spaces in the names. This causes more heartache in the command-line environment than with the IDE. <br /><br />I've been able to use that library from the previous SDK version without issue. Haven't upgraded to the most recent, but I don't recall seein that it changed in the release notes.<br /><br />

[old] haboustak

Post by [old] haboustak » February 7th, 2005, 1:09 am

I believe that with Visual C 6.0, Microsoft did make some changes to their binary library files. If you haven't already, you may want to try patching VC 5 to the latest service pack, I think that one of them added support for the new format.<br /><br /><a href='http://msdn.microsoft.com/visualc/previ ... fault.aspx' target='_blank'>http://msdn.microsoft.com/visualc/previ ... spx</a><br /><br />[edited to add]<br />As I read further -- these patches aren't "intended" your Learning Edition version of Visual C++. I guess Microsoft thinks they've taught you enough.

[old] srichards_njord

Post by [old] srichards_njord » February 8th, 2005, 5:28 am

Thanks for all the replies guys. I didn't manage to get it working with VC5 in the end, even with the updates. It must be incompatible with the linker then I guess, because I just tried it with VC6 and it all works fine (so the SDK files weren't corrupt).<br /><br />Cheers, Sid

Post Reply