Arne Scheffler
2002-Aug-15 06:36 UTC
[vorbis-dev] dynamicly loading libvorbisenc on Mac OSX
Hi, I'm trying to load the vorbis libs dynamicly on Mac OS X. I've got success for libogg, libvorbis and libvorbisfile. But libvorbisenc drives me crazy. The function "vorbis_encode_init" seems not to be in there if I am using "NSLookupSymbolInImage". But the tools "otool" and "nm" tell me that the function is declared. Does anyone know, what I have to do to get this working ? arne --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
On Thursday, August 15, 2002, at 02:36 PM, Arne Scheffler wrote:> The function "vorbis_encode_init" seems not to be in there if I am > using "NSLookupSymbolInImage". But > the tools "otool" and "nm" tell me that the function is declared. > Does anyone know, what I have to do to get this working ?Might be how you're building it? IIRC you can't dynamically load dylibs, you have to compile them with -bundle instead. -r --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Timothy J. Wood
2002-Aug-15 17:31 UTC
[vorbis-dev] dynamicly loading libvorbisenc on Mac OSX
On Thursday, August 15, 2002, at 06:36 AM, Arne Scheffler wrote:> Hi, > I'm trying to load the vorbis libs dynamicly on Mac OS X. > I've got success for libogg, libvorbis and libvorbisfile. But > libvorbisenc drives me crazy. > The function "vorbis_encode_init" seems not to be in there if I am > using "NSLookupSymbolInImage". But > the tools "otool" and "nm" tell me that the function is declared. > Does anyone know, what I have to do to get this working ?Sorry to ask the obvious, but are you prepending a '_' when calling NSLookupSymbolInImage? -tim --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.