NO

Author Topic: polink .lib file issue  (Read 2474 times)

tspivey

  • Guest
polink .lib file issue
« on: July 08, 2007, 06:57:13 AM »
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

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
Re: polink .lib file issue
« Reply #1 on: July 08, 2007, 01:32:40 PM »
You have to be more specific. You found the library where?! You are building for what target - X86 or ARM?!
/Pelle

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2091
Re: polink .lib file issue
« Reply #2 on: July 08, 2007, 05:47:47 PM »
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