龍神録の2番「まずは実行してみようについて」
Posted: 2010年10月19日(火) 20:03
こんばんは。
こちらの掲示板を初めて利用させていただく「はくちゃんSRT」と申します。
はじめまして。
早速ですが、龍神録に2番の「まずは実行してみよう」についてですが、その通りにソースをコピーしmain.cppにペーストしたのですが、以下のようなメッセージが出てビルドエラーになります。
1>------ ビルド開始: プロジェクト: RyuJin, 構成: Debug Win32 ------
1>2010/10/19 19:54:51 にビルドを開始しました。
1>InitializeBuildStatus:
1> "Debug\RyuJin.unsuccessfulbuild" のタッチ タスクを実行しています。
1>ClCompile:
1> すべての出力が最新のものです。
1>ManifestResourceCompile:
1> すべての出力が最新のものです。
1>main.obj : error LNK2019: 未解決の外部シンボル "int __cdecl DxLib::ClearDrawScreen(void)" (?ClearDrawScreen@DxLib@@YAHXZ) が関数 _WinMain@16 で参照されました。
1>DxLib_d.lib(DxGraphics2.obj) : error LNK2019: 未解決の外部シンボル "void __cdecl DxLib::DrawMemImg(struct DxLib::tagMEMIMG *,struct DxLib::tagMEMIMG *,int,int,int,struct DxLib::tagMEMIMG *)" (?DrawMemImg@DxLib@@YAXPAUtagMEMIMG@1@0HHH0@Z) が関数 "int __cdecl DxLib::DrawGraphSoftware(int,int,struct DxLib::tagIMAGEDATA2 *,int)" (?DrawGraphSoftware@DxLib@@YAHHHPAUtagIMAGEDATA2@1@H@Z) で参照されました。
1>DxLib_d.lib(DxFont.obj) : error LNK2001: 外部シンボル ""void __cdecl DxLib::DrawMemImg(struct DxLib::tagMEMIMG *,struct DxLib::tagMEMIMG *,int,int,int,struct DxLib::tagMEMIMG *)" (?DrawMemImg@DxLib@@YAXPAUtagMEMIMG@1@0HHH0@Z)" は未解決です。
1>DxLib_d.lib(DxGraphics2.obj) : error LNK2019: 未解決の外部シンボル "void __cdecl DxLib::DrawEnlargeMemImg(struct DxLib::tagMEMIMG *,struct DxLib::tagMEMIMG *,struct tagRECT *,int,struct DxLib::tagMEMIMG *)" (?DrawEnlargeMemImg@DxLib@@YAXPAUtagMEMIMG@1@0PAUtagRECT@@H0@Z) が関数 "int __cdecl DxLib::DrawExtendGraphSoftware(int,int,int,int,struct DxLib::tagIMAGEDATA2 *,int)" (?DrawExtendGraphSoftware@DxLib@@YAHHHHHPAUtagIMAGEDATA2@1@H@Z) で参照されました。
1>DxLib_d.lib(DxFont.obj) : error LNK2001: 外部シンボル ""void __cdecl DxLib::DrawEnlargeMemImg(struct DxLib::tagMEMIMG *,struct DxLib::tagMEMIMG *,struct tagRECT *,int,struct DxLib::tagMEMIMG *)" (?DrawEnlargeMemImg@DxLib@@YAXPAUtagMEMIMG@1@0PAUtagRECT@@H0@Z)" は未解決です。
1>DxLib_d.lib(DxGraphics2.obj) : error LNK2019: 未解決の外部シンボル "void __cdecl DxLib::DrawRotationMemImg(struct DxLib::tagMEMIMG *,struct DxLib::tagMEMIMG *,int,int,float,float,int,int,struct DxLib::tagMEMIMG *)" (?DrawRotationMemImg@DxLib@@YAXPAUtagMEMIMG@1@0HHMMHH0@Z) が関数 "int __cdecl DxLib::DrawRotaGraphSoftware(float,float,double,double,struct DxLib::tagIMAGEDATA2 *,int,int)" (?DrawRotaGraphSoftware@DxLib@@YAHMMNNPAUtagIMAGEDATA2@1@HH@Z) で参照されました。
1>DxLib_d.lib(DxGraphics2.obj) : error LNK2019: 未解決の外部シンボル "void __cdecl DxLib::DrawBasicPolygonMemImg(struct DxLib::tagMEMIMG *,struct DxLib::tagMEMIMG *,struct DxLib::tagDX_POINTDATA *,int,struct DxLib::tagMEMIMG *,int)" (?DrawBasicPolygonMemImg@DxLib@@YAXPAUtagMEMIMG@1@0PAUtagDX_POINTDATA@1@H0H@Z) が関数 "int __cdecl DxLib::DrawPolySoftware(struct DxLib::tagDX_POINTDATA *,struct DxLib::tagIMAGEDATA2 *,int,int)" (?DrawPolySoftware@DxLib@@YAHPAUtagDX_POINTDATA@1@PAUtagIMAGEDATA2@1@HH@Z) で参照されました。
1>DxLib_d.lib(DxGraphics2.obj) : error LNK2019: 未解決の外部シンボル "void __cdecl DxLib::DrawFillBoxMemImg(struct DxLib::tagMEMIMG *,struct tagRECT *,int)" (?DrawFillBoxMemImg@DxLib@@YAXPAUtagMEMIMG@1@PAUtagRECT@@H@Z) が関数 "int __cdecl DxLib::DrawFillBoxSoftware(int,int,int,int,int)" (?DrawFillBoxSoftware@DxLib@@YAHHHHHH@Z) で参照されました。
こちらの掲示板を初めて利用させていただく「はくちゃんSRT」と申します。
はじめまして。
早速ですが、龍神録に2番の「まずは実行してみよう」についてですが、その通りにソースをコピーしmain.cppにペーストしたのですが、以下のようなメッセージが出てビルドエラーになります。
1>------ ビルド開始: プロジェクト: RyuJin, 構成: Debug Win32 ------
1>2010/10/19 19:54:51 にビルドを開始しました。
1>InitializeBuildStatus:
1> "Debug\RyuJin.unsuccessfulbuild" のタッチ タスクを実行しています。
1>ClCompile:
1> すべての出力が最新のものです。
1>ManifestResourceCompile:
1> すべての出力が最新のものです。
1>main.obj : error LNK2019: 未解決の外部シンボル "int __cdecl DxLib::ClearDrawScreen(void)" (?ClearDrawScreen@DxLib@@YAHXZ) が関数 _WinMain@16 で参照されました。
1>DxLib_d.lib(DxGraphics2.obj) : error LNK2019: 未解決の外部シンボル "void __cdecl DxLib::DrawMemImg(struct DxLib::tagMEMIMG *,struct DxLib::tagMEMIMG *,int,int,int,struct DxLib::tagMEMIMG *)" (?DrawMemImg@DxLib@@YAXPAUtagMEMIMG@1@0HHH0@Z) が関数 "int __cdecl DxLib::DrawGraphSoftware(int,int,struct DxLib::tagIMAGEDATA2 *,int)" (?DrawGraphSoftware@DxLib@@YAHHHPAUtagIMAGEDATA2@1@H@Z) で参照されました。
1>DxLib_d.lib(DxFont.obj) : error LNK2001: 外部シンボル ""void __cdecl DxLib::DrawMemImg(struct DxLib::tagMEMIMG *,struct DxLib::tagMEMIMG *,int,int,int,struct DxLib::tagMEMIMG *)" (?DrawMemImg@DxLib@@YAXPAUtagMEMIMG@1@0HHH0@Z)" は未解決です。
1>DxLib_d.lib(DxGraphics2.obj) : error LNK2019: 未解決の外部シンボル "void __cdecl DxLib::DrawEnlargeMemImg(struct DxLib::tagMEMIMG *,struct DxLib::tagMEMIMG *,struct tagRECT *,int,struct DxLib::tagMEMIMG *)" (?DrawEnlargeMemImg@DxLib@@YAXPAUtagMEMIMG@1@0PAUtagRECT@@H0@Z) が関数 "int __cdecl DxLib::DrawExtendGraphSoftware(int,int,int,int,struct DxLib::tagIMAGEDATA2 *,int)" (?DrawExtendGraphSoftware@DxLib@@YAHHHHHPAUtagIMAGEDATA2@1@H@Z) で参照されました。
1>DxLib_d.lib(DxFont.obj) : error LNK2001: 外部シンボル ""void __cdecl DxLib::DrawEnlargeMemImg(struct DxLib::tagMEMIMG *,struct DxLib::tagMEMIMG *,struct tagRECT *,int,struct DxLib::tagMEMIMG *)" (?DrawEnlargeMemImg@DxLib@@YAXPAUtagMEMIMG@1@0PAUtagRECT@@H0@Z)" は未解決です。
1>DxLib_d.lib(DxGraphics2.obj) : error LNK2019: 未解決の外部シンボル "void __cdecl DxLib::DrawRotationMemImg(struct DxLib::tagMEMIMG *,struct DxLib::tagMEMIMG *,int,int,float,float,int,int,struct DxLib::tagMEMIMG *)" (?DrawRotationMemImg@DxLib@@YAXPAUtagMEMIMG@1@0HHMMHH0@Z) が関数 "int __cdecl DxLib::DrawRotaGraphSoftware(float,float,double,double,struct DxLib::tagIMAGEDATA2 *,int,int)" (?DrawRotaGraphSoftware@DxLib@@YAHMMNNPAUtagIMAGEDATA2@1@HH@Z) で参照されました。
1>DxLib_d.lib(DxGraphics2.obj) : error LNK2019: 未解決の外部シンボル "void __cdecl DxLib::DrawBasicPolygonMemImg(struct DxLib::tagMEMIMG *,struct DxLib::tagMEMIMG *,struct DxLib::tagDX_POINTDATA *,int,struct DxLib::tagMEMIMG *,int)" (?DrawBasicPolygonMemImg@DxLib@@YAXPAUtagMEMIMG@1@0PAUtagDX_POINTDATA@1@H0H@Z) が関数 "int __cdecl DxLib::DrawPolySoftware(struct DxLib::tagDX_POINTDATA *,struct DxLib::tagIMAGEDATA2 *,int,int)" (?DrawPolySoftware@DxLib@@YAHPAUtagDX_POINTDATA@1@PAUtagIMAGEDATA2@1@HH@Z) で参照されました。
1>DxLib_d.lib(DxGraphics2.obj) : error LNK2019: 未解決の外部シンボル "void __cdecl DxLib::DrawFillBoxMemImg(struct DxLib::tagMEMIMG *,struct tagRECT *,int)" (?DrawFillBoxMemImg@DxLib@@YAXPAUtagMEMIMG@1@PAUtagRECT@@H@Z) が関数 "int __cdecl DxLib::DrawFillBoxSoftware(int,int,int,int,int)" (?DrawFillBoxSoftware@DxLib@@YAHHHHHH@Z) で参照されました。
