龍神録22

フォーラム(掲示板)ルール
フォーラム(掲示板)ルールはこちら  ※コードを貼り付ける場合は [code][/code] で囲って下さい。詳しくはこちら
F

龍神録22

#1

投稿記事 by F » 14年前

龍神22章のボムのプログラムを打ったところ

コード:

error LNK2001: 外部シンボル ""struct bright_set_t bright_set" (?bright_set@@3Ubright_set_t@@A)" は未解決です。
1>effect.obj : error LNK2019: 未解決の外部シンボル "struct bright_set_t bright_set" (?bright_set@@3Ubright_set_t@@A) が関数 "void __cdecl calc_effect(void)" (?calc_effect@@YAXXZ) で参照されました。
1>ini.obj : error LNK2001: 外部シンボル ""struct bright_set_t bright_set" (?bright_set@@3Ubright_set_t@@A)" は未解決です。
1>graph.obj : error LNK2001: 外部シンボル ""struct bright_set_t bright_set" (?bright_set@@3Ubright_set_t@@A)" は未解決です。
1>effect.obj : error LNK2001: 外部シンボル ""struct dn_t dn" (?dn@@3Udn_t@@A)" は未解決です。
1>ini.obj : error LNK2001: 外部シンボル ""struct dn_t dn" (?dn@@3Udn_t@@A)" は未解決です。
1>graph.obj : error LNK2001: 外部シンボル ""struct dn_t dn" (?dn@@3Udn_t@@A)" は未解決です。
1>effect.obj : error LNK2001: 外部シンボル ""int * img_eff_bom" (?img_eff_bom@@3PAHA)" は未解決です。
1>load.obj : error LNK2019: 未解決の外部シンボル "int * img_eff_bom" (?img_eff_bom@@3PAHA) が関数 "void __cdecl load_story(void)" (?load_story@@YAXXZ) で参照されました。
1>effect.obj : error LNK2001: 外部シンボル ""struct bom_t bom" (?bom@@3Ubom_t@@A)" は未解決です。
1>ini.obj : error LNK2001: 外部シンボル ""struct bom_t bom" (?bom@@3Ubom_t@@A)" は未解決です。
1>out.obj : error LNK2001: 外部シンボル ""struct bom_t bom" (?bom@@3Ubom_t@@A)" は未解決です。
1>C:\Users\s20107029\Desktop\Sample_VC2008用.exe : fatal error LNK1120: 外部参照 4 が未解決です
と出るのですが、どこをなおせばいいのでしょか?
完成版22章と比較しても、プログラムの違いが見当たりません。

アバター
みけCAT
記事: 6734
登録日時: 14年前
住所: 千葉県
連絡を取る:

Re: 龍神録22

#2

投稿記事 by みけCAT » 14年前

struct.h、GV.hをチェックしてみてください。
抜けている文はありませんか?
複雑な問題?マシンの性能を上げてOpenMPで殴ればいい!(死亡フラグ)

閉鎖

“C言語何でも質問掲示板” へ戻る