掲示板システム
ホーム
アクセス解析
カテゴリ
ログアウト
音声認識プログラムを書くにはどうしたらよろしいでしょうか? (ID:53935)
名前
ホームページ(ブログ、Twitterなど)のURL (省略可)
本文
Yuoさん,失礼しました.エラーメッセージを以下に載せます. Compiling... SpeechCursorView.cpp c:\Program Files\Microsoft Speech SDK 5.1\Include\sphelper.h(89) : warning C4267: 'initializing' : conversion from 'size_t' to 'ULONG', possible loss of data c:\Program Files\Microsoft Speech SDK 5.1\Include\sphelper.h(150) : warning C4267: 'return' : conversion from 'size_t' to 'unsigned int', possible loss of data c:\Program Files\Microsoft Speech SDK 5.1\Include\sphelper.h(169) : warning C4267: 'initializing' : conversion from 'size_t' to 'ULONG', possible loss of data c:\Program Files\Microsoft Speech SDK 5.1\Include\sphelper.h(226) : warning C4267: 'initializing' : conversion from 'size_t' to 'ULONG', possible loss of data c:\Program Files\Microsoft Speech SDK 5.1\Include\sphelper.h(227) : warning C4267: 'initializing' : conversion from 'size_t' to 'ULONG', possible loss of data c:\Program Files\Microsoft Speech SDK 5.1\Include\sphelper.h(334) : warning C4267: 'initializing' : conversion from 'size_t' to 'ULONG', possible loss of data c:\Program Files\Microsoft Speech SDK 5.1\Include\sphelper.h(769) : warning C4267: 'initializing' : conversion from 'size_t' to 'const int', possible loss of data c:\Program Files\Microsoft Speech SDK 5.1\Include\sphelper.h(772) : warning C4267: 'initializing' : conversion from 'size_t' to 'ULONG', possible loss of data c:\Program Files\Microsoft Speech SDK 5.1\Include\sphelper.h(2544) : warning C4267: '+=' : conversion from 'size_t' to 'ULONG', possible loss of data c:\Program Files\Microsoft Speech SDK 5.1\Include\sphelper.h(2559) : error C2440: 'initializing' : cannot convert from 'CSpDynamicString' to 'SPPHONEID *' No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called c:\Program Files\Microsoft Speech SDK 5.1\Include\sphelper.h(2633) : error C2664: 'wcslen' : cannot convert parameter 1 from 'SPPHONEID *' to 'const wchar_t *' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast インクルードするディレクトリの設定は行いました.サンプルプログラムをビルドする際には上のエラーはでません.
←解決時は質問者本人がここをチェックしてください。
戻る
掲示板システム
Copyright 2021 Takeshi Okamoto All Rights Reserved.