【14歳からのC++わくわくゲームプログラミング教室】についての質問です。
第4章のアニメーション・サウンドのサンプルにvector型を使用している部分があります。
このコードをVC++2005で使用するとリンカエラーとなります。
DXライブラリに直接関係ない事柄ですが、もしわかれば誰かアドバイスお願いします。
ちなみにpush_backやsize等のコードに対して出ているようです。
[開発環境]
WindowsXP Pro SP2
VisualStudio.Net2005 StandardEdition SP1
DXLib 2.23
[エラー]
エラー 7 error LNK2019: 未解決の外部シンボル __imp___CrtDbgReportW が関数 "public: __thiscall
std::_Vector_const_iterator<int,class std::allocator<int> >::_Vector_const_iterator<int,class std::allocator<int> >(int *,class std::_Container_base const *)" (??0?$_Vector_const_iterator@HV?
$allocator@H@std@@@std@@QAE@PAHPBV_Container_base@1@@Z) で参照されました。 SoundBox.obj
エラー 8 error LNK2019: 未解決の外部シンボル __imp__memmove_s が関数 "int * __cdecl std::_Copy_backward_opt<int *,int *,struct std::random_access_iterator_tag>(int *,int *,int *,struct
std::random_access_iterator_tag,struct std::_Scalar_ptr_iterator_tag,struct std::_Range_checked_iterator_tag)" (??$_Copy_backward_opt@PAHPAHUrandom_access_iterator_tag@std@@@std@@YAPAHPAH00Urandom_access_iterator_tag@0@U_Scalar_ptr_iterator_tag@0@U_Range_checked_iterator_tag@0@@Z) で参照されました。 SoundBox.obj