- 能否提供VOIP 云对云方案 SDK 宽字符为2字节的静态库?
使用cloudvoipsdk\device\v4\lib\asr-cortex-r5\libwxcloudvoip_client.a,链接时报字符宽度错误,工程在Windows环境下使用armcc编译,字符宽度默认应该为2字节,如果静态库使用arm-none-eabi-gcc编译,需要加编译选项-fshort-wchar,例如: arm-none-eabi-gcc -c -MMD -mcpu=cortex-r5 -mfloat-abi=soft -mlittle-endian -mthumb -mthumb-interwork -Wall -ffunction-sections -fdata-sections -fno-builtin-printf -fno-builtin-time -fno-builtin-gmtime -fno-builtin-gettimeofday -fno-builtin-mktime -fno-builtin-puts -D__OCPU_COMPILER_GCC__ -D_WANT_USE_LONG_TIME_T -std=c99 -fshort-wchar 能不能给出一个带编译选项-fshort-wchar的静态库版本。
09-11 - 微信VOIP云对云方案SDK静态库链接报错?
微信VOIP云对云方案SDK中静态库链接到ASR工程中时,出现如下报错: Error: L6242E: Cannot link object wxvoip_client.c.obj as its attributes are incompatible with the image attributes. ... wchart-16 clashes with wchart-32. Error: L6242E: Cannot link object device_key_encrypt.c.obj as its attributes are incompatible with the image attributes. ... wchart-16 clashes with wchart-32. Error: L6242E: Cannot link object cbase64.c.obj as its attributes are incompatible with the image attributes. ... wchart-16 clashes with wchart-32. Error: L6242E: Cannot link object core_json.c.obj as its attributes are incompatible with the image attributes. ... wchart-16 clashes with wchart-32. Error: L6242E: Cannot link object hmac_sha256.c.obj as its attributes are incompatible with the image attributes. ... wchart-16 clashes with wchart-32. Error: L6242E: Cannot link object cstring.c.obj as its attributes are incompatible with the image attributes. ... wchart-16 clashes with wchart-32. Error: L6242E: Cannot link object hal_os.c.obj as its attributes are incompatible with the image attributes. ... wchart-16 clashes with wchart-32. Not enough information to list image symbols. Not enough information to list the image map. Finished: 9 information, 0 warning and 7 error messages. 编译工具armcc.exe,版本5.06,使用的静态库为cloudvoipsdk/device/v4/lib/asr-cortex-r5/libwxcloudvoip_client.a 编译选项使用--wchar16和--wchar32均在链接时报错。
09-10