programmer_ted
2003-Apr-01 13:18 UTC
[vorbis-dev] Underscores in BCB making vorbisfile unusable
I use Borland C++ Builder 3 and I'm having trouble getting vorbisfile to work. This version of C++ Builder prefixes function names with underscores, so in the .obj file ov_open would look like _ov_open. Now, when linking the .obj files, it looks for the function _ov_open in all other .obj files and .lib files in the project. It finds none, and gives me an unresolved external error. I can turn off underscores, but then that gives me problems with almost all functions called ASIDE from the vorbisfile functions, because they expect underscores to be turned on (the .lib files have _'s preceding the function names). So, I'm pretty much stuck. Anyone have suggestions? Thanks in advance! --- >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.
Anders S. Johansen
2003-Apr-02 00:40 UTC
[vorbis-dev] Underscores in BCB making vorbisfile unusable
programmer_ted wrote:> Anyone have suggestions? Thanks in advance!Import the MSVC++ projects in BCB, re-build the OBJ and LIB files. Now the symbols in the OBJ and LIB files conform to the BCB standard. <p>--- >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.