Çözüldü error: undefined symbol: CItem::IsSkillBook()referenced by char_item.cpp

  • Konuyu açan Konuyu açan samed0106
  • Açılış Tarihi Açılış Tarihi
  • Yanıt Yanıt 8
  • Gösterim Gösterim 115
Bu konu çözüme ulaştırılmıştır. Çözüm için konuya yazılan tüm yorumları okumayı unutmayın. Eğer konudaki yorumlar sorununuzu çözmediyse yeni bir konu açabilirsiniz.
Durum
İçerik kilitlendiği için mesaj gönderimine kapatıldı.

samed0106

Üye
Üye
Mesaj
83
Çözümler
5
Beğeni
12
Puan
429
Ticaret Puanı
0
C++:
Genişlet Daralt Kopyala
ld: error: undefined symbol: CItem::IsSkillBook()
>>> referenced by char_item.cpp:7834
>>>               .obj/char_item.o:(CHARACTER::AutoGiveItem(unsigned int, unsigned char, int, bool))
>>> referenced by char_item.cpp:7802
>>>               .obj/char_item.o:(CHARACTER::AutoGiveItem(unsigned int, unsigned char, int, bool))
>>> referenced by char_item.cpp:7570
>>>               .obj/char_item.o:(CHARACTER::AutoGiveItem(CItem*, bool))
>>> referenced 18 more times

ld: error: undefined symbol: CItem::IsUpgradeItem()
>>> referenced by char_item.cpp:7838
>>>               .obj/char_item.o:(CHARACTER::AutoGiveItem(unsigned int, unsigned char, int, bool))
>>> referenced by char_item.cpp:7804
>>>               .obj/char_item.o:(CHARACTER::AutoGiveItem(unsigned int, unsigned char, int, bool))
>>> referenced by char_item.cpp:7574
>>>               .obj/char_item.o:(CHARACTER::AutoGiveItem(CItem*, bool))
>>> referenced 18 more times

ld: error: undefined symbol: CItem::IsStone()
>>> referenced by char_item.cpp:7842
>>>               .obj/char_item.o:(CHARACTER::AutoGiveItem(unsigned int, unsigned char, int, bool))
>>> referenced by char_item.cpp:7806
>>>               .obj/char_item.o:(CHARACTER::AutoGiveItem(unsigned int, unsigned char, int, bool))
>>> referenced by char_item.cpp:7578
>>>               .obj/char_item.o:(CHARACTER::AutoGiveItem(CItem*, bool))
>>> referenced 18 more times

ld: error: undefined symbol: CItem::IsBox()
>>> referenced by char_item.cpp:7846
>>>               .obj/char_item.o:(CHARACTER::AutoGiveItem(unsigned int, unsigned char, int, bool))
>>> referenced by char_item.cpp:7808
>>>               .obj/char_item.o:(CHARACTER::AutoGiveItem(unsigned int, unsigned char, int, bool))
>>> referenced by char_item.cpp:7582
>>>               .obj/char_item.o:(CHARACTER::AutoGiveItem(CItem*, bool))
>>> referenced 18 more times

ld: error: undefined symbol: CItem::IsEfsun()
>>> referenced by char_item.cpp:7850
>>>               .obj/char_item.o:(CHARACTER::AutoGiveItem(unsigned int, unsigned char, int, bool))
>>> referenced by char_item.cpp:7810
>>>               .obj/char_item.o:(CHARACTER::AutoGiveItem(unsigned int, unsigned char, int, bool))
>>> referenced by char_item.cpp:7586
>>>               .obj/char_item.o:(CHARACTER::AutoGiveItem(CItem*, bool))
>>> referenced 18 more times

ld: error: undefined symbol: CItem::IsCicek()
>>> referenced by char_item.cpp:7854
>>>               .obj/char_item.o:(CHARACTER::AutoGiveItem(unsigned int, unsigned char, int, bool))
>>> referenced by char_item.cpp:7812
>>>               .obj/char_item.o:(CHARACTER::AutoGiveItem(unsigned int, unsigned char, int, bool))
>>> referenced by char_item.cpp:7590
>>>               .obj/char_item.o:(CHARACTER::AutoGiveItem(CItem*, bool))
>>> referenced 18 more times
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake: *** [Makefile:192: ../game_r41030] Error 1
Linkleri görebilmek için giriş yap veya kayıt ol.
 
Çözüm
@algia arkadaş sorunu çözdü yanlış yere eklemeden dolayı hata aldım genel bir sorun olmadığı için en iyi cevabı seçemiyorum herşey için teşekkürler K envanterini de zaten farklı bir yerden sökeceğim konu kapatılabilir
C++:
Genişlet Daralt Kopyala
ld: error: undefined symbol: CItem::IsSkillBook()
>>> referenced by char_item.cpp:7834
>>>               .obj/char_item.o:(CHARACTER::AutoGiveItem(unsigned int, unsigned char, int, bool))
>>> referenced by char_item.cpp:7802
>>>               .obj/char_item.o:(CHARACTER::AutoGiveItem(unsigned int, unsigned char, int, bool))
>>> referenced by char_item.cpp:7570
>>>               .obj/char_item.o:(CHARACTER::AutoGiveItem(CItem*, bool))
>>> referenced 18 more times

ld: error: undefined symbol: CItem::IsUpgradeItem()
>>> referenced by char_item.cpp:7838
>>>               .obj/char_item.o:(CHARACTER::AutoGiveItem(unsigned int, unsigned char, int, bool))
>>> referenced by char_item.cpp:7804
>>>               .obj/char_item.o:(CHARACTER::AutoGiveItem(unsigned int, unsigned char, int, bool))
>>> referenced by char_item.cpp:7574
>>>               .obj/char_item.o:(CHARACTER::AutoGiveItem(CItem*, bool))
>>> referenced 18 more times

ld: error: undefined symbol: CItem::IsStone()
>>> referenced by char_item.cpp:7842
>>>               .obj/char_item.o:(CHARACTER::AutoGiveItem(unsigned int, unsigned char, int, bool))
>>> referenced by char_item.cpp:7806
>>>               .obj/char_item.o:(CHARACTER::AutoGiveItem(unsigned int, unsigned char, int, bool))
>>> referenced by char_item.cpp:7578
>>>               .obj/char_item.o:(CHARACTER::AutoGiveItem(CItem*, bool))
>>> referenced 18 more times

ld: error: undefined symbol: CItem::IsBox()
>>> referenced by char_item.cpp:7846
>>>               .obj/char_item.o:(CHARACTER::AutoGiveItem(unsigned int, unsigned char, int, bool))
>>> referenced by char_item.cpp:7808
>>>               .obj/char_item.o:(CHARACTER::AutoGiveItem(unsigned int, unsigned char, int, bool))
>>> referenced by char_item.cpp:7582
>>>               .obj/char_item.o:(CHARACTER::AutoGiveItem(CItem*, bool))
>>> referenced 18 more times

ld: error: undefined symbol: CItem::IsEfsun()
>>> referenced by char_item.cpp:7850
>>>               .obj/char_item.o:(CHARACTER::AutoGiveItem(unsigned int, unsigned char, int, bool))
>>> referenced by char_item.cpp:7810
>>>               .obj/char_item.o:(CHARACTER::AutoGiveItem(unsigned int, unsigned char, int, bool))
>>> referenced by char_item.cpp:7586
>>>               .obj/char_item.o:(CHARACTER::AutoGiveItem(CItem*, bool))
>>> referenced 18 more times

ld: error: undefined symbol: CItem::IsCicek()
>>> referenced by char_item.cpp:7854
>>>               .obj/char_item.o:(CHARACTER::AutoGiveItem(unsigned int, unsigned char, int, bool))
>>> referenced by char_item.cpp:7812
>>>               .obj/char_item.o:(CHARACTER::AutoGiveItem(unsigned int, unsigned char, int, bool))
>>> referenced by char_item.cpp:7590
>>>               .obj/char_item.o:(CHARACTER::AutoGiveItem(CItem*, bool))
>>> referenced 18 more times
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake: *** [Makefile:192: ../game_r41030] Error 1
Linkleri görebilmek için giriş yap veya kayıt ol.
item.cpp,item.h ve char.h de yükler misin
 
sysser:
Genişlet Daralt Kopyala
char_item.cpp:6761:1: error: function definition is not allowed here
 6761 | {
      | ^
char_item.cpp:6839:1: error: function definition is not allowed here
 6839 | {
      | ^
char_item.cpp:6907:1: error: function definition is not allowed here
 6907 | {
      | ^
char_item.cpp:7162:1: error: function definition is not allowed here
 7162 | {
      | ^
char_item.cpp:7174:1: error: function definition is not allowed here
 7174 | {
      | ^
char_item.cpp:7186:1: error: function definition is not allowed here
 7186 | {
      | ^
char_item.cpp:7198:1: error: function definition is not allowed here
 7198 | {
      | ^
char_item.cpp:7257:1: error: function definition is not allowed here
 7257 | {
      | ^
char_item.cpp:7270:1: error: function definition is not allowed here
 7270 | {
      | ^
char_item.cpp:7291:1: error: function definition is not allowed here
 7291 | {
      | ^
char_item.cpp:7413:1: error: function definition is not allowed here
 7413 | {
      | ^
char_item.cpp:7490:1: error: function definition is not allowed here
 7490 | {
      | ^
char_item.cpp:7510:1: error: function definition is not allowed here
 7510 | {
      | ^
char_item.cpp:7550:1: error: function definition is not allowed here
 7550 | {
      | ^
char_item.cpp:7654:1: error: function definition is not allowed here
 7654 | {
      | ^
char_item.cpp:7689:1: error: function definition is not allowed here
 7689 | {
      | ^
char_item.cpp:7732:1: error: function definition is not allowed here
 7732 | {
      | ^
char_item.cpp:7885:1: error: function definition is not allowed here
 7885 | {
      | ^
char_item.cpp:7912:1: error: function definition is not allowed here
 7912 | {
      | ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
gmake: *** [Makefile:181: .obj/char_item.o] Error 1

@xenfero

 
C++:
Genişlet Daralt Kopyala
ld: error: undefined symbol: CItem::IsSkillBook()
>>> referenced by shopEx.cpp:191
>>>               .obj/shopEx.o:(CShopEx::Buy(CHARACTER*, unsigned char))
>>> referenced by shopEx.cpp:231
>>>               .obj/shopEx.o:(CShopEx::Buy(CHARACTER*, unsigned char))
>>> referenced by shop.cpp:329
>>>               .obj/shop.o:(CShop::Buy(CHARACTER*, unsigned char))
>>> referenced 18 more times

ld: error: undefined symbol: CItem::IsUpgradeItem()
>>> referenced by shopEx.cpp:195
>>>               .obj/shopEx.o:(CShopEx::Buy(CHARACTER*, unsigned char))
>>> referenced by shopEx.cpp:233
>>>               .obj/shopEx.o:(CShopEx::Buy(CHARACTER*, unsigned char))
>>> referenced by shop.cpp:333
>>>               .obj/shop.o:(CShop::Buy(CHARACTER*, unsigned char))
>>> referenced 18 more times

ld: error: undefined symbol: CItem::IsStone()
>>> referenced by shopEx.cpp:199
>>>               .obj/shopEx.o:(CShopEx::Buy(CHARACTER*, unsigned char))
>>> referenced by shopEx.cpp:235
>>>               .obj/shopEx.o:(CShopEx::Buy(CHARACTER*, unsigned char))
>>> referenced by shop.cpp:337
>>>               .obj/shop.o:(CShop::Buy(CHARACTER*, unsigned char))
>>> referenced 18 more times

ld: error: undefined symbol: CItem::IsBox()
>>> referenced by shopEx.cpp:203
>>>               .obj/shopEx.o:(CShopEx::Buy(CHARACTER*, unsigned char))
>>> referenced by shopEx.cpp:237
>>>               .obj/shopEx.o:(CShopEx::Buy(CHARACTER*, unsigned char))
>>> referenced by shop.cpp:341
>>>               .obj/shop.o:(CShop::Buy(CHARACTER*, unsigned char))
>>> referenced 18 more times

ld: error: undefined symbol: CItem::IsEfsun()
>>> referenced by shopEx.cpp:207
>>>               .obj/shopEx.o:(CShopEx::Buy(CHARACTER*, unsigned char))
>>> referenced by shopEx.cpp:239
>>>               .obj/shopEx.o:(CShopEx::Buy(CHARACTER*, unsigned char))
>>> referenced by shop.cpp:345
>>>               .obj/shop.o:(CShop::Buy(CHARACTER*, unsigned char))
>>> referenced 18 more times

ld: error: undefined symbol: CItem::IsCicek()
>>> referenced by shopEx.cpp:211
>>>               .obj/shopEx.o:(CShopEx::Buy(CHARACTER*, unsigned char))
>>> referenced by shopEx.cpp:241
>>>               .obj/shopEx.o:(CShopEx::Buy(CHARACTER*, unsigned char))
>>> referenced by shop.cpp:349
>>>               .obj/shop.o:(CShop::Buy(CHARACTER*, unsigned char))
>>> referenced 18 more times
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
@xenfero Şöyle bir hata alıyorum şimdide hocam.
 

Dosya Eklentileri

C++:
Genişlet Daralt Kopyala
ld: error: undefined symbol: CItem::IsSkillBook()
>>> referenced by shopEx.cpp:191
>>>               .obj/shopEx.o:(CShopEx::Buy(CHARACTER*, unsigned char))
>>> referenced by shopEx.cpp:231
>>>               .obj/shopEx.o:(CShopEx::Buy(CHARACTER*, unsigned char))
>>> referenced by shop.cpp:329
>>>               .obj/shop.o:(CShop::Buy(CHARACTER*, unsigned char))
>>> referenced 18 more times

ld: error: undefined symbol: CItem::IsUpgradeItem()
>>> referenced by shopEx.cpp:195
>>>               .obj/shopEx.o:(CShopEx::Buy(CHARACTER*, unsigned char))
>>> referenced by shopEx.cpp:233
>>>               .obj/shopEx.o:(CShopEx::Buy(CHARACTER*, unsigned char))
>>> referenced by shop.cpp:333
>>>               .obj/shop.o:(CShop::Buy(CHARACTER*, unsigned char))
>>> referenced 18 more times

ld: error: undefined symbol: CItem::IsStone()
>>> referenced by shopEx.cpp:199
>>>               .obj/shopEx.o:(CShopEx::Buy(CHARACTER*, unsigned char))
>>> referenced by shopEx.cpp:235
>>>               .obj/shopEx.o:(CShopEx::Buy(CHARACTER*, unsigned char))
>>> referenced by shop.cpp:337
>>>               .obj/shop.o:(CShop::Buy(CHARACTER*, unsigned char))
>>> referenced 18 more times

ld: error: undefined symbol: CItem::IsBox()
>>> referenced by shopEx.cpp:203
>>>               .obj/shopEx.o:(CShopEx::Buy(CHARACTER*, unsigned char))
>>> referenced by shopEx.cpp:237
>>>               .obj/shopEx.o:(CShopEx::Buy(CHARACTER*, unsigned char))
>>> referenced by shop.cpp:341
>>>               .obj/shop.o:(CShop::Buy(CHARACTER*, unsigned char))
>>> referenced 18 more times

ld: error: undefined symbol: CItem::IsEfsun()
>>> referenced by shopEx.cpp:207
>>>               .obj/shopEx.o:(CShopEx::Buy(CHARACTER*, unsigned char))
>>> referenced by shopEx.cpp:239
>>>               .obj/shopEx.o:(CShopEx::Buy(CHARACTER*, unsigned char))
>>> referenced by shop.cpp:345
>>>               .obj/shop.o:(CShop::Buy(CHARACTER*, unsigned char))
>>> referenced 18 more times

ld: error: undefined symbol: CItem::IsCicek()
>>> referenced by shopEx.cpp:211
>>>               .obj/shopEx.o:(CShopEx::Buy(CHARACTER*, unsigned char))
>>> referenced by shopEx.cpp:241
>>>               .obj/shopEx.o:(CShopEx::Buy(CHARACTER*, unsigned char))
>>> referenced by shop.cpp:349
>>>               .obj/shop.o:(CShop::Buy(CHARACTER*, unsigned char))
>>> referenced 18 more times
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
@xenfero Şöyle bir hata alıyorum şimdide hocam.
Bir önceki sorunu çözdüysen shop.cpp shop.h shopEx.cpp yükler misin
 
@algia arkadaş sorunu çözdü yanlış yere eklemeden dolayı hata aldım genel bir sorun olmadığı için en iyi cevabı seçemiyorum herşey için teşekkürler K envanterini de zaten farklı bir yerden sökeceğim konu kapatılabilir
 
Çözüm
Durum
İçerik kilitlendiği için mesaj gönderimine kapatıldı.
Üst