[opus] Enable custom modes (Visual C++ Express)

Alexander Carôt Alexander_Carot at gmx.net
Mon Feb 17 02:45:32 PST 2014


Hi again,


I addition to the linker problem in custom mode (see below - it seems that
custom symbols are not built into the lib) I also tried it with older
version 1.0.1 and 1.0.3.

Here it confuses me that VS only offers to build celt.lib and silk.lib but
not opus.lib.

Not sure if this is just a VS-newbie problem ?!

Thanks in advance

Alex


>>>Normally, it should just be a matter of adding
>>>#define CUSTOM_MODES
>>>to the Windows config.h file.
>
>>Ha ! I just forgot the "S" and typed CUSTOM_MODE -- well, that should be
>>it.
>
>I think I was too quick: Today I compiled the whole project and I get
>these unresolved symbols:
>
>error LNK2001: Nicht aufgelöstes externes Symbol
>"_opus_custom_decode".
>
>error LNK2001: Nicht aufgelöstes externes Symbol
>"_opus_custom_mode_create".
>
>error LNK2001: Nicht aufgelöstes externes Symbol
>"_opus_custom_encoder_destroy".
>
>error LNK2001: Nicht aufgelöstes externes Symbol "_opus_strerror".
>
>error LNK2001: Nicht aufgelöstes externes Symbol
>"_opus_custom_encoder_create".
>
>error LNK2001: Nicht aufgelöstes externes Symbol
>"_opus_custom_encode".
>
>error LNK2001: Nicht aufgelöstes externes Symbol
>"_opus_custom_mode_destroy".
>
>Not sure what I might be doing wrong - I included
>
>#define CUSTOM_MODES into config.h, compiled the project into a static lib
>with MSVC Express 2012 and and integrated it into my project.
>
>Please let me know if you have any idea.
>
>Thanks
>
>Alex




More information about the opus mailing list