When I'm using VC++ 6.0 to link iPP 184.108.40.2068 static library with Generate debug info option, it report fatal error LNK1000. But disable the option to link again, it link well. Why? and How to solve the problem if I need use static library and debug my application simultaniusly?
LNK1000 - Unknown error; consult documentation for technical support options
VC++ 6.0 is a legacy C/C++ compiler and some problems could be expected because IPP 7.x static
libraries could be created with some modern C/C++ compiler.
- Service Packs 5 or 6 for Visual Studio 98
- to compile, link and debugthe code with some modern C/C++ compiler, for example, Visual Studio 2005
( just for verification! )
Would you be able to attach a simple Test-Case witha static library you're using? I have a Visual Studio 98 SP5 and I could do some tests.
IA-32 for Microsoft* Windows* Compiler Compatibility
PS. Because of this research, I wrote a program can Compact my static library atfer link iPP static library, because just link iPP static library is too large.
Before Compact is 108MB
After Compact is 1.61MB
I don't use a static linking but I think developers who use the static linking ofIPP libraries could be
interested to learn more about the problem. You stated that:
...I write a small program to modify .debug$S section to .data section...
Do you mean that your 'small program'opened a static library file in a 'binary' mode and chaged all
'.debug$S' expressions to '.debug$F'? Is that correct?
I also couldn't find an update or a fix for VS98. Regarding a link provided by Igor. This is what it says:
You must have Visual Studio 2005 SP1 installed to apply this hotfix.
If Andy's fix works for him this is a great thing even if itlooks like a hack ( and really is! ).