トップページ > 過去ログ > 記事閲覧
DrawPixelが……
名前:DG 日時: 2008/04/12 02:42

初っ端から躓いた初心者です。 VisualC++ 2008 Express Editionで、プログラムを組むの項をやってみると、 1>------ ビルド開始: プロジェクト: test, 構成: Debug Win32 ------ 1>リンクしています... 1>downpixel.obj : error LNK2019: 未解決の外部シンボル __RTC_CheckEsp が関数 _WinMain@16 で参照されました。 1>downpixel.obj : error LNK2001: 外部シンボル "__RTC_Shutdown" は未解決です。 1>downpixel.obj : error LNK2001: 外部シンボル "__RTC_InitBase" は未解決です。 1>LINK : error LNK2001: 外部シンボル "_WinMainCRTStartup" は未解決です。 1>DxLib.lib(DxGateway.obj) : error LNK2019: 未解決の外部シンボル "int __cdecl _VSPRINTF(char *,char const *,char *)" (?_VSPRINTF@@YAHPADPBD0@Z) が関数 "int __cdecl ErrorLogFmtAdd(char const *,...)" (?ErrorLogFmtAdd@@YAHPBDZZ) で参照されました。 1>DxLib.lib(DxWin.obj) : error LNK2001: 外部シンボル ""int __cdecl _VSPRINTF(char *,char const *,char *)" (?_VSPRINTF@@YAHPADPBD0@Z)" は未解決です。 1>DxLib.lib(DxGraphics.obj) : error LNK2001: 外部シンボル ""int __cdecl _VSPRINTF(char *,char const *,char *)" (?_VSPRINTF@@YAHPADPBD0@Z)" は未解決です。 1>DxLib.lib(DxGateway.obj) : error LNK2019: 未解決の外部シンボル "int __cdecl FileRead_scanf_base(int,char const *,char *)" (?FileRead_scanf_base@@YAHHPBDPAD@Z) が関数 "int __cdecl FileRead_scanf(int,char const *,...)" (?FileRead_scanf@@YAHHPBDZZ) で参照されました。 1>DxLib.lib(DxWin.obj) : error LNK2001: 外部シンボル ""int __cdecl FileRead_scanf_base(int,char const *,char *)" (?FileRead_scanf_base@@YAHHPBDPAD@Z)" は未解決です。 1>DxLib.lib(DxDrawMethod2.obj) : error LNK2001: 外部シンボル "__fltused" は未解決です。 1>DxLib.lib(DxDraw.obj) : error LNK2001: 外部シンボル "__fltused" は未解決です。 1>DxLib.lib(Dx3D.obj) : error LNK2001: 外部シンボル "__fltused" は未解決です。 1>DxLib.lib(DxSound.obj) : error LNK2001: 外部シンボル "__fltused" は未解決です。 1>DxLib.lib(DxDrawMethod1.obj) : error LNK2001: 外部シンボル "__fltused" は未解決です。 1>DxLib.lib(DxGateway.obj) : error LNK2001: 外部シンボル "__fltused" は未解決です。 1>DxLib.lib(DxWin.obj) : error LNK2001: 外部シンボル "__fltused" は未解決です。 1>DxLib.lib(DxGraphics.obj) : error LNK2001: 外部シンボル "__fltused" は未解決です。 1>DxLib.lib(DxInput.obj) : error LNK2001: 外部シンボル "__fltused" は未解決です。 1>DxLib.lib(DxGateway.obj) : error LNK2019: 未解決の外部シンボル "int __cdecl ST_GetRand(int)" (?ST_GetRand@@YAHH@Z) が関数 "int __cdecl GetRand(int)" (?GetRand@@YAHH@Z) で参照されました。 1>DxLib.lib(DxGateway.obj) : error LNK2019: 未解決の外部シンボル "int __cdecl ST_SRand(int)" (?ST_SRand@@YAHH@Z) が関数 "int __cdecl SRand(int)" (?SRand@@YAHH@Z) で参照されました。 1>DxLib.lib(DxWin.obj) : error LNK2019: 未解決の外部シンボル "int __cdecl _SPRINTF(char *,char const *,...)" (?_SPRINTF@@YAHPADPBDZZ) が関数 "char __cdecl GetDataSizeString(int,char *)" (?GetDataSizeString@@YADHPAD@Z) で参照されました。 1>DxLib.lib(DxGraphics.obj) : error LNK2001: 外部シンボル ""int __cdecl _SPRINTF(char *,char const *,...)" (?_SPRINTF@@YAHPADPBDZZ)" は未解決です。 1>DxLib.lib(DxWin.obj) : error LNK2019: 未解決の外部シンボル __allmul が関数 "int __cdecl OutSystemInfo(void)" (?OutSystemInfo@@YAHXZ) で参照されました。 1>DxLib.lib(DxWin.obj) : error LNK2019: 未解決の外部シンボル __imp__InitCommonControls@0 が関数 "int __cdecl ST_SetupToolBar(char const *,int)" (?ST_SetupToolBar@@YAHPBDH@Z) で参照されました。 1>DxLib.lib(DxWin.obj) : error LNK2019: 未解決の外部シンボル "void __cdecl srandMT(unsigned long)" (?srandMT@@YAXK@Z) が関数 "int __cdecl InitializeWindow(void)" (?InitializeWindow@@YAHXZ) で参照されました。 1>DxLib.lib(DxWin.obj) : error LNK2019: 未解決の外部シンボル __chkstk が関数 "int __cdecl InitializeWindow(void)" (?InitializeWindow@@YAHXZ) で参照されました。 1>DxLib.lib(DxGraphics.obj) : error LNK2001: 外部シンボル "__chkstk" は未解決です。 1>DxLib.lib(DxGraphics.obj) : error LNK2001: 外部シンボル ""int __cdecl LoadPngImage(struct tagSTREAMDATA *,struct tagBASEIMAGE *)" (?LoadPngImage@@YAHPAUtagSTREAMDATA@@PAUtagBASEIMAGE@@@Z)" は未解決です。 1>DxLib.lib(DxGraphics.obj) : error LNK2001: 外部シンボル ""int __cdecl LoadJpegImage(struct tagSTREAMDATA *,struct tagBASEIMAGE *)" (?LoadJpegImage@@YAHPAUtagSTREAMDATA@@PAUtagBASEIMAGE@@@Z)" は未解決です。 1>DxLib.lib(DxDraw.obj) : error LNK2019: 未解決の外部シンボル "int __cdecl SaveJpegImage(char const *,struct tagBASEIMAGE *,int,int)" (?SaveJpegImage@@YAHPBDPAUtagBASEIMAGE@@HH@Z) が関数 "int __cdecl ST_SaveDrawScreen(int,int,int,int,char const *,int,int,int,int)" (?ST_SaveDrawScreen@@YAHHHHHPBDHHHH@Z) で参照されました。 1>DxLib.lib(DxDraw.obj) : error LNK2019: 未解決の外部シンボル "int __cdecl SavePngImage(char const *,struct tagBASEIMAGE *,int)" (?SavePngImage@@YAHPBDPAUtagBASEIMAGE@@H@Z) が関数 "int __cdecl ST_SaveDrawScreen(int,int,int,int,char const *,int,int,int,int)" (?ST_SaveDrawScreen@@YAHHHHHPBDHHHH@Z) で参照されました。 1>DxLib.lib(DxDraw.obj) : error LNK2019: 未解決の外部シンボル __alldiv が関数 "int __cdecl ChangeGraphMode(int,int,int,int,int)" (?ChangeGraphMode@@YAHHHHHH@Z) で参照されました。 1>DxLib.lib(DxSound.obj) : error LNK2019: 未解決の外部シンボル __CIpow が関数 "long __cdecl SoundBuffer_SetPan(struct tagSOUNDBUFFER *,long)" (?SoundBuffer_SetPan@@YAJPAUtagSOUNDBUFFER@@J@Z) で参照されました。 1>DxLib.lib(DxSound.obj) : error LNK2019: 未解決の外部シンボル "int __cdecl SetSampleTimeSoundConvert_OGG(struct tagSOUNDCONV *,int)" (?SetSampleTimeSoundConvert_OGG@@YAHPAUtagSOUNDCONV@@H@Z) が関数 "int __cdecl SetSampleTimeSoundConvert(struct tagSOUNDCONV *,int)" (?SetSampleTimeSoundConvert@@YAHPAUtagSOUNDCONV@@H@Z) で参照されました。 1>DxLib.lib(DxSound.obj) : error LNK2019: 未解決の外部シンボル "int __cdecl ConvertProcessSoundConvert_OGG(struct tagSOUNDCONV *)" (?ConvertProcessSoundConvert_OGG@@YAHPAUtagSOUNDCONV@@@Z) が関数 "int __cdecl RunSoundConvert(struct tagSOUNDCONV *,void *,int)" (?RunSoundConvert@@YAHPAUtagSOUNDCONV@@PAXH@Z) で参照されました。 1>DxLib.lib(DxSound.obj) : error LNK2019: 未解決の外部シンボル "int __cdecl TerminateSoundConvert_OGG(struct tagSOUNDCONV *)" (?TerminateSoundConvert_OGG@@YAHPAUtagSOUNDCONV@@@Z) が関数 "int __cdecl TerminateSoundConvert(struct tagSOUNDCONV *)" (?TerminateSoundConvert@@YAHPAUtagSOUNDCONV@@@Z) で参照されました。 1>DxLib.lib(DxSound.obj) : error LNK2019: 未解決の外部シンボル "int __cdecl GetSoundConvertDestSize_Fast_OGG(struct tagSOUNDCONV *)" (?GetSoundConvertDestSize_Fast_OGG@@YAHPAUtagSOUNDCONV@@@Z) が関数 "int __cdecl GetSoundConvertDestSize_Fast(struct tagSOUNDCONV *)" (?GetSoundConvertDestSize_Fast@@YAHPAUtagSOUNDCONV@@@Z) で参照されました。 1>DxLib.lib(DxSound.obj) : error LNK2019: 未解決の外部シンボル "int __cdecl SetupSoundConvert_OGG(struct tagSOUNDCONV *)" (?SetupSoundConvert_OGG@@YAHPAUtagSOUNDCONV@@@Z) が関数 "int __cdecl SetupSoundConvert(struct tagSTREAMDATA *,struct tagSOUNDCONV *)" (?SetupSoundConvert@@YAHPAUtagSTREAMDATA@@PAUtagSOUNDCONV@@@Z) で参照されました。 1>C:\Documents and Settings\user\デスクトップ\test\Debug\test.exe : fatal error LNK1120: 外部参照 25 が未解決です。 1>ビルドログは "file://c:\Documents and Settings\user\デスクトップ\test\Debug\BuildLog.htm" に保存されました。 1>test - エラー 39、警告 0 ========== ビルド: 0 正常終了、1 失敗、0 更新不要、0 スキップ ========== と表示されてしまいます。 どなたか解決法のわかる方、同じ症状から解決した方は御回答お願いします。

Page: 1 |

Re: DrawPixelが…… ( No.1 )
名前:キーチック 日時:2008/04/12 04:21

質問タイトルでは,DrawPixelですが,エラーの最初にはdownpixelとなっていますので,そのあたりが原因なのではないでしょうか
Re: DrawPixelが…… ( No.2 )
名前:DG 日時:2008/04/12 15:01

解決しました。 キーチックさん、ありがとうございます。

Page: 1 |