Na Amigo
The crazy girl
i was have some ancient xml source with protocol 7.92 i converted it to 8.10 but there's some problem
i got some error at console says
here is the required lines of items.cpp
here is the required lines of itemsloader.h
i want change the items.otb to 8.10 from my source
i got some error at console says
Code:
:: Loading items.otb... Not supported items.otb version.
Error: Unable to load data/items/items.otb!
C++:
if(Items::dwMajorVersion != 8){
std::cout << "Not supported items.otb version." << std::endl;
return ERROR_INVALID_FORMAT;
}
if(Items::dwMajorVersion == 0xFFFFFFFF){
std::cout << "[Warning] Items::loadFromOtb items.otb using generic client version." << std::endl;
}
else if(Items::dwMinorVersion != CLIENT_VERSION_810){
std::cout << "Not supported items.otb client version." << std::endl;
return ERROR_INVALID_FORMAT;
}
C++:
/////////OTB specific//////////////
enum clientVersion_t{
CLIENT_VERSION_750 = 1,
CLIENT_VERSION_755 = 2,
CLIENT_VERSION_760 = 3,
CLIENT_VERSION_770 = 3,
CLIENT_VERSION_780 = 4,
CLIENT_VERSION_790 = 5,
CLIENT_VERSION_792 = 6,
CLIENT_VERSION_800 = 7,
CLIENT_VERSION_810 = 8
};
Last edited: