polink .lib file issue

Started by tspivey, July 08, 2007, 06:57:13 AM

Previous topic - Next topic

tspivey

Hello. I'm having a problem with pocc and polink.
I'm trying to use the speex library, libspeex.lib. I think it's
compiled with visual studio 2005, since it works with that. If I call
any of the speex functions from a pelles C program, it gives
me a corrupted library error and an unable to find
symbols message. I tried extracting all of the
object files and using polib to put them back in,
but that didn't work either. What can
I do about this? Is this
a bug with Pelles C itself?
Thanks,
Tyler

Pelle

You have to be more specific. You found the library where?! You are building for what target - X86 or ARM?!
/Pelle

TimoVJL

Maybe that library is for Visual C++ 8 only.
Better to compile that library from sources with PellesC.

http://www.speex.org/downloads/

v. 1.2b1
libspeex.lib -> speex.obj
Normal PE object file doesn't begin like this:
00000000  00 00 ff ff 01 00 4c 01 d1 14 fc 44 38 fe b3 0c  ..ÿÿ..L.Ñ.üD8þ³.
Maybe cil file ??
May the source be with you