Jump to content

Help with LAME: Error unidentified function lame_init

- - - - -

  • Please log in to reply
1 reply to this topic

#1
spyder

spyder

    Programmer

  • Members
  • PipPipPipPip
  • 120 posts
I am writing a program to utilize LAME(LAME Ain't an MP3 Encoder) in C to extend Python.
This program when being compiled with distutils tells me...
C:\Pylame> python setup.py build --compiler=mingw32

...

build\temp.win32-3.1\Release\pylame.o:pylame.c:(.text+0x11): undefined reference to 'lame_init'

***several more similar errors***

ld returned 1 exit status

I believe I need to link to the LAME DLL, but which one and from where??

#2
Groogy

Groogy

    Programmer

  • Members
  • PipPipPipPip
  • 183 posts
Never heard of LAME but I'll try and help.

Do LAME have precompiled libraries? If not you'll probably have to get their source and compile it your self.
LAME MP3 Encoder
My Code Blog - My Github - Ascension Project - Madness Script Project - Simple-Garbage-Collector Project
There is bound to be something useful somewhere.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users