エラーLNK2001
Posted: 2007年5月25日(金) 23:22
main.obj : error LNK2001: 外部シンボル ""unsigned int count" (?count@@3IA)" は未解決です。
ball.obj : error LNK2001: 外部シンボル ""struct chara ball" (?ball@@3Uchara@@A)" は未解決です。
laser.obj : error LNK2001: 外部シンボル ""struct chara ball" (?ball@@3Uchara@@A)" は未解決です。
init.obj : error LNK2001: 外部シンボル ""struct chara ball" (?ball@@3Uchara@@A)" は未解決です。
graph.obj : error LNK2001: 外部シンボル ""struct chara ball" (?ball@@3Uchara@@A)" は未解決です。
enemy.obj : error LNK2001: 外部シンボル ""struct chara enemy" (?enemy@@3Uchara@@A)" は未解決です。
laser.obj : error LNK2001: 外部シンボル ""struct chara enemy" (?enemy@@3Uchara@@A)" は未解決です。
init.obj : error LNK2001: 外部シンボル ""struct chara enemy" (?enemy@@3Uchara@@A)" は未解決です。
graph.obj : error LNK2001: 外部シンボル ""struct chara enemy" (?enemy@@3Uchara@@A)" は未解決です。
laser.obj : error LNK2001: 外部シンボル ""struct chara laser1" (?laser1@@3Uchara@@A)" は未解決です。
init.obj : error LNK2001: 外部シンボル ""struct chara laser1" (?laser1@@3Uchara@@A)" は未解決です。
graph.obj : error LNK2001: 外部シンボル ""struct chara laser1" (?laser1@@3Uchara@@A)" は未解決です。
laser.obj : error LNK2001: 外部シンボル ""unsigned int time" (?time@@3IA)" は未解決です。
laser.obj : error LNK2001: 外部シンボル ""struct chara * laser" (?laser@@3PAUchara@@A)" は未解決です。
こんなのが死ぬほど出てくるのですが・・・
これはなんなんですか??w
前も同じような症状になって何かしてたら直ってたと思ったのですが
治し方忘れてしまって困りました。。。。
分割コンパイルしようとしてたら急に出てきたんですが
これの対処法はどうしたらいいんでしょう。
ヘッダファイルで変数をextern宣言したときは
どうすればよいのでしょうか??
kwsk教えてください
よろしくお願いします
ball.obj : error LNK2001: 外部シンボル ""struct chara ball" (?ball@@3Uchara@@A)" は未解決です。
laser.obj : error LNK2001: 外部シンボル ""struct chara ball" (?ball@@3Uchara@@A)" は未解決です。
init.obj : error LNK2001: 外部シンボル ""struct chara ball" (?ball@@3Uchara@@A)" は未解決です。
graph.obj : error LNK2001: 外部シンボル ""struct chara ball" (?ball@@3Uchara@@A)" は未解決です。
enemy.obj : error LNK2001: 外部シンボル ""struct chara enemy" (?enemy@@3Uchara@@A)" は未解決です。
laser.obj : error LNK2001: 外部シンボル ""struct chara enemy" (?enemy@@3Uchara@@A)" は未解決です。
init.obj : error LNK2001: 外部シンボル ""struct chara enemy" (?enemy@@3Uchara@@A)" は未解決です。
graph.obj : error LNK2001: 外部シンボル ""struct chara enemy" (?enemy@@3Uchara@@A)" は未解決です。
laser.obj : error LNK2001: 外部シンボル ""struct chara laser1" (?laser1@@3Uchara@@A)" は未解決です。
init.obj : error LNK2001: 外部シンボル ""struct chara laser1" (?laser1@@3Uchara@@A)" は未解決です。
graph.obj : error LNK2001: 外部シンボル ""struct chara laser1" (?laser1@@3Uchara@@A)" は未解決です。
laser.obj : error LNK2001: 外部シンボル ""unsigned int time" (?time@@3IA)" は未解決です。
laser.obj : error LNK2001: 外部シンボル ""struct chara * laser" (?laser@@3PAUchara@@A)" は未解決です。
こんなのが死ぬほど出てくるのですが・・・
これはなんなんですか??w
前も同じような症状になって何かしてたら直ってたと思ったのですが
治し方忘れてしまって困りました。。。。
分割コンパイルしようとしてたら急に出てきたんですが
これの対処法はどうしたらいいんでしょう。
ヘッダファイルで変数をextern宣言したときは
どうすればよいのでしょうか??
kwsk教えてください
よろしくお願いします