Çözüldü build hata

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ı.

enes turan

MT Üye
MT Üye
Mesaj
226
Çözümler
9
Beğeni
78
Puan
464
Ticaret Puanı
0
Kod:
In file included from ClientManager.h:15,
                 from NetBase.cpp:4:
OfflineshopCache.h:46:4: error: 'TPriceInfo' does not name a type; did you mean 'TItemPriceInfo'?
   46 |    TPriceInfo  price;
      |    ^~~~~~~~~~
      |    TItemPriceInfo
OfflineshopCache.h:47:4: error: 'TItemInfoEx' does not name a type
   47 |    TItemInfoEx  item;
      |    ^~~~~~~~~~~
OfflineshopCache.h:69:4: error: 'TShopPosition' does not name a type
   69 |    TShopPosition posDetails;
      |    ^~~~~~~~~~~~~
OfflineshopCache.h:91:57: error: 'TPriceInfo' does not name a type; did you mean 'TItemPriceInfo'?
   91 |   bool  EditItem(DWORD dwOwnerID, DWORD dwItemID, const TPriceInfo& rItemPrice);
      |                                                         ^~~~~~~~~~
      |                                                         TItemPriceInfo
OfflineshopCache.h:95:115: error: 'TShopPosition' has not been declared
   95 |   bool  CreateShop(DWORD dwOwnerID, DWORD dwDuration, const char* szName, std::vector<TShopC                                                                    acheItemInfo>& items, TShopPosition pos);
      |                                                                                                                                                                                       ^~~~~~~~~~~~~
In file included from ClientManager.h:15,
                 from NetBase.cpp:4:
OfflineshopCache.h:104:72: error: 'TShopPosition' has not been declared
  104 |   bool  PutShop(DWORD dwOwnerID, DWORD dwDuration, const char* szName, TShopPosition pos);
      |                                                                        ^~~~~~~~~~~~~
In file included from ClientManager.h:15,
                 from NetBase.cpp:4:
OfflineshopCache.h: In constructor 'offlineshop::CShopCache::SShopCacheItemInfo::SShopCacheItemInfo(                                                                    )':
OfflineshopCache.h:52:16: error: 'price' was not declared in this scope
   52 |     ZeroObject(price);
      |                ^~~~~
OfflineshopCache.h:53:16: error: 'item' was not declared in this scope
   53 |     ZeroObject(item);
      |                ^~~~
In file included from ClientManager.h:15,
                 from NetBase.cpp:4:
OfflineshopCache.h: At global scope:
OfflineshopCache.h:131:4: error: 'TValutesInfo' does not name a type
  131 |    TValutesInfo valutes;
      |    ^~~~~~~~~~~~
OfflineshopCache.h:132:20: error: 'TItemInfoEx' was not declared in this scope
  132 |    std::map<DWORD, TItemInfoEx>
      |                    ^~~~~~~~~~~
OfflineshopCache.h:132:31: error: template argument 2 is invalid
  132 |    std::map<DWORD, TItemInfoEx>
      |                               ^
OfflineshopCache.h:132:31: error: template argument 4 is invalid
OfflineshopCache.h:147:56: error: 'TItemInfoEx' does not name a type
  147 |   bool    PutItem(DWORD dwOwnerID, DWORD dwItem, const TItemInfoEx& item);
      |                                                        ^~~~~~~~~~~
OfflineshopCache.h:150:42: error: 'TItemInfoEx' does not name a type
  150 |   bool    AddItem(DWORD dwOwnerID, const TItemInfoEx& item);
      |                                          ^~~~~~~~~~~
OfflineshopCache.h:152:45: error: 'TValutesInfo' does not name a type
  152 |   bool    AddValutes(DWORD dwOwnerID, const TValutesInfo& val);
      |                                             ^~~~~~~~~~~~
OfflineshopCache.h:153:48: error: 'TValutesInfo' does not name a type
  153 |   bool    RemoveValutes(DWORD dwOwnerID, const TValutesInfo& val);
      |                                                ^~~~~~~~~~~~
OfflineshopCache.h:154:52: error: 'TValutesInfo' does not name a type
  154 |   void    AddValutesAsQuery(DWORD dwOwnerID, const TValutesInfo& val);
      |                                                    ^~~~~~~~~~~~
OfflineshopCache.h:178:4: error: 'TPriceInfo' does not name a type; did you mean 'TItemPriceInfo'?
  178 |    TPriceInfo price;
      |    ^~~~~~~~~~
      |    TItemPriceInfo
OfflineshopCache.h:223:23: error: 'TAuctionOfferInfo' was not declared in this scope
  223 |   typedef std::vector<TAuctionOfferInfo>      AUCTIONOFFERVEC;
      |                       ^~~~~~~~~~~~~~~~~
OfflineshopCache.h:223:40: error: template argument 1 is invalid
  223 |   typedef std::vector<TAuctionOfferInfo>      AUCTIONOFFERVEC;
      |                                        ^
OfflineshopCache.h:223:40: error: template argument 2 is invalid
OfflineshopCache.h:224:27: error: 'TAuctionInfo' was not declared in this scope; did you mean 'TAdmi                                                                    nInfo'?
  224 |   typedef std::map<DWORD, TAuctionInfo>      AUCTIONMAP;
      |                           ^~~~~~~~~~~~
      |                           TAdminInfo
OfflineshopCache.h:224:39: error: template argument 2 is invalid
  224 |   typedef std::map<DWORD, TAuctionInfo>      AUCTIONMAP;
      |                                       ^
OfflineshopCache.h:224:39: error: template argument 4 is invalid
OfflineshopCache.h:233:26: error: 'TAuctionInfo' does not name a type; did you mean 'TAdminInfo'?
  233 |   bool PutsAuction(const TAuctionInfo& auction);
      |                          ^~~~~~~~~~~~
      |                          TAdminInfo
OfflineshopCache.h:234:31: error: 'TAuctionOfferInfo' does not name a type
  234 |   bool PutsAuctionOffer(const TAuctionOfferInfo& auctionOffer);
      |                               ^~~~~~~~~~~~~~~~~
OfflineshopCache.h:236:25: error: 'TAuctionInfo' does not name a type; did you mean 'TAdminInfo'?
  236 |   bool AddAuction(const TAuctionInfo& auction);
      |                         ^~~~~~~~~~~~
      |                         TAdminInfo
OfflineshopCache.h:237:23: error: 'TAuctionOfferInfo' does not name a type
  237 |   bool AddOffer(const TAuctionOfferInfo& auctionOffer, bool quering = true);
      |                       ^~~~~~~~~~~~~~~~~
OfflineshopCache.h:241:39: error: 'TAuctionOfferInfo' has not been declared
  241 |   DWORD GetBestBuyer(DWORD dwOwnerID, TAuctionOfferInfo** ppOffer);
      |                                       ^~~~~~~~~~~~~~~~~
OfflineshopCache.h:243:29: error: 'TAuctionInfo' has not been declared
  243 |   bool Get(DWORD dwOwnerID, TAuctionInfo** ppInfo);
      |                             ^~~~~~~~~~~~
OfflineshopCache.h:252:31: error: 'TAuctionInfo' does not name a type; did you mean 'TAdminInfo'?
  252 |   void __UpdateDuration(const TAuctionInfo& auction);
      |                               ^~~~~~~~~~~~
      |                               TAdminInfo
OfflineshopCache.h:287:3: error: 'TShopPosition' does not name a type
  287 |   TShopPosition pos;
      |   ^~~~~~~~~~~~~
OfflineshopCache.h:297:3: error: 'TItemInfoEx' does not name a type
  297 |   TItemInfoEx item;
      |   ^~~~~~~~~~~
In file included from NetBase.cpp:4:
ClientManager.h:505:85: error: 'TPriceInfo' in namespace 'offlineshop' does not name a type
  505 |  bool SendOfflineShopEditItemPacket(DWORD dwOwner, DWORD dwItem, const offlineshop::TPriceIn                                                                    fo& price);
      |                                                                                     ^~~~~~~~                                                                    ~~
ClientManager.h:507:86: error: 'TItemInfo' in namespace 'offlineshop' does not name a type
  507 |  bool SendOfflineShopAddItemPacket(DWORD dwOwner, DWORD dwItemID, const offlineshop::TItemIn                                                                    fo& rInfo);
      |                                                                                      ^~~~~~~                                                                    ~~
ClientManager.h:511:51: error: 'TShopInfo' in namespace 'offlineshop' does not name a type
  511 |  bool SendOfflineShopCreateNew(const offlineshop::TShopInfo& shop, const std::vector<offline                                                                    shop::TItemInfo>& vec, offlineshop::TShopPosition& pos);
      |                                                   ^~~~~~~~~
ClientManager.h:511:99: error: 'TItemInfo' is not a member of 'offlineshop'
  511 |  bool SendOfflineShopCreateNew(const offlineshop::TShopInfo& shop, const std::vector<offline                                                                    shop::TItemInfo>& vec, offlineshop::TShopPosition& pos);
      |                                                                                                                                                                       ^~~~~~~~~
ClientManager.h:511:99: error: 'TItemInfo' is not a member of 'offlineshop'
ClientManager.h:511:108: error: template argument 1 is invalid
  511 |  bool SendOfflineShopCreateNew(const offlineshop::TShopInfo& shop, const std::vector<offline                                                                    shop::TItemInfo>& vec, offlineshop::TShopPosition& pos);
      |                                                                                                                                                                                ^
ClientManager.h:511:108: error: template argument 2 is invalid
In file included from NetBase.cpp:4:
ClientManager.h:511:129: error: 'offlineshop::TShopPosition' has not been declared
  511 |  bool SendOfflineShopCreateNew(const offlineshop::TShopInfo& shop, const std::vector<offline                                                                    shop::TItemInfo>& vec, offlineshop::TShopPosition& pos);
      |                                                                                                                                                                                                     ^~~~~~~~~~~~~
ClientManager.h:518:53: error: 'TOfferInfo' in namespace 'offlineshop' does not name a type
  518 |  bool SendOfflineShopOfferCreate(const offlineshop::TOfferInfo& offer);
      |                                                     ^~~~~~~~~~
ClientManager.h:525:87: error: 'TItemInfoEx' in namespace 'offlineshop' does not name a type
  525 |  void SendOfflineshopSafeboxAddItem(DWORD dwOwnerID, DWORD dwItem, const offlineshop::TItemI                                                                    nfoEx& item);
      |                                                                                       ^~~~~~                                                                    ~~~~~
ClientManager.h:526:76: error: 'TValutesInfo' in namespace 'offlineshop' does not name a type
  526 |  void SendOfflineshopSafeboxAddValutes(DWORD dwOwnerID, const offlineshop::TValutesInfo& val                                                                    ute);
      |                                                                            ^~~~~~~~~~~~
ClientManager.h:527:83: error: 'TValutesInfo' in namespace 'offlineshop' does not name a type
  527 |  void SendOfflineshopSafeboxLoad(CPeer* peer ,DWORD dwOwnerID, const offlineshop::TValutesIn                                                                    fo& valute, const std::vector<offlineshop::TItemInfoEx>& items , const std::vector<DWORD>& ids);
      |                                                                                   ^~~~~~~~~~                                                                    ~~
ClientManager.h:527:136: error: 'TItemInfoEx' is not a member of 'offlineshop'
  527 |  void SendOfflineshopSafeboxLoad(CPeer* peer ,DWORD dwOwnerID, const offlineshop::TValutesIn                                                                    fo& valute, const std::vector<offlineshop::TItemInfoEx>& items , const std::vector<DWORD>& ids);
      |                                                                                                                                                                                                            ^~~~~~~~~~~
ClientManager.h:527:136: error: 'TItemInfoEx' is not a member of 'offlineshop'
ClientManager.h:527:147: error: template argument 1 is invalid
  527 |  void SendOfflineshopSafeboxLoad(CPeer* peer ,DWORD dwOwnerID, const offlineshop::TValutesIn                                                                    fo& valute, const std::vector<offlineshop::TItemInfoEx>& items , const std::vector<DWORD>& ids);
      |                                                                                                                                                                                                                       ^
ClientManager.h:527:147: error: template argument 2 is invalid
ClientManager.h:532:55: error: 'TAuctionInfo' in namespace 'offlineshop' does not name a type
  532 |  void SendOfflineshopAuctionCreate(const offlineshop::TAuctionInfo& auction);
      |                                                       ^~~~~~~~~~~~
ClientManager.h:533:57: error: 'TAuctionOfferInfo' in namespace 'offlineshop' does not name a type
  533 |  void SendOfflineshopAuctionAddOffer(const offlineshop::TAuctionOfferInfo& offer);
      |                                                         ^~~~~~~~~~~~~~~~~
gmake: *** [Makefile:61: .obj/NetBase.o] Error 1
root@Razuning:/usr/gamesource1/Server/db/src #

ikarus ofshop ekliyorum db build alırken böyle bir syser veriyor cıkamadım işin içinden hatayı nerde aramalıyım
 
tables.h:
//include lara ekle;

#include "length.h"
#include "item_length.h"
#include "service.h"
 
Çözüm
Durum
İçerik kilitlendiği için mesaj gönderimine kapatıldı.
Geri
Üst