Code: Select all
[ 1%] Building CXX object src/CMakeFiles/hpi.dir/TA3D_hpi.cpp.o
/usr/src/ta3d/src/TA3D_hpi.cpp: In member function ‘sint32 TA3D::UTILS::HPI::cHPIHandler::ReadAndDecrypt(sint32, byte*, sint32, TA3D::UTILS::HPI::cHPIHandler::HPIFILEDATA*)’:
/usr/src/ta3d/src/TA3D_hpi.cpp:37:47: error: ‘fseek’ was not declared in this scope
/usr/src/ta3d/src/TA3D_hpi.cpp:38:67: error: ‘fread’ was not declared in this scope
/usr/src/ta3d/src/TA3D_hpi.cpp: In member function ‘void TA3D::UTILS::HPI::cHPIHandler::CloseHPIFile(TA3D::UTILS::HPI::cHPIHandler::HPIFILEDATA*)’:
/usr/src/ta3d/src/TA3D_hpi.cpp:311:32: error: ‘fclose’ was not declared in this scope
/usr/src/ta3d/src/TA3D_hpi.cpp: In member function ‘void TA3D::UTILS::HPI::cHPIHandler::AddArchive(const TA3D::String&, bool)’:
/usr/src/ta3d/src/TA3D_hpi.cpp:417:55: error: ‘fread’ was not declared in this scope
/usr/src/ta3d/src/TA3D_hpi.cpp: In member function ‘void TA3D::UTILS::HPI::cHPIHandler::PutInCache(const TA3D::String&, uint32, const byte*)’:
/usr/src/ta3d/src/TA3D_hpi.cpp:563:49: error: ‘fwrite’ was not declared in this scope
/usr/src/ta3d/src/TA3D_hpi.cpp:564:30: error: ‘fclose’ was not declared in this scope
/usr/src/ta3d/src/TA3D_hpi.cpp: In member function ‘byte* TA3D::UTILS::HPI::cHPIHandler::IsInDiskCache(const TA3D::String&, uint32*)’:
/usr/src/ta3d/src/TA3D_hpi.cpp:614:52: error: ‘fread’ was not declared in this scope
/usr/src/ta3d/src/TA3D_hpi.cpp:616:34: error: ‘fclose’ was not declared in this scope
/usr/src/ta3d/src/TA3D_hpi.cpp: In member function ‘byte* TA3D::UTILS::HPI::cHPIHandler::PullFromHPI(const TA3D::String&, uint32*)’:
/usr/src/ta3d/src/TA3D_hpi.cpp:680:51: error: ‘fread’ was not declared in this scope
/usr/src/ta3d/src/TA3D_hpi.cpp:682:33: error: ‘fclose’ was not declared in this scope
/usr/src/ta3d/src/TA3D_hpi.cpp:737:51: error: ‘fread’ was not declared in this scope
/usr/src/ta3d/src/TA3D_hpi.cpp:739:31: error: ‘fclose’ was not declared in this scope
/usr/src/ta3d/src/TA3D_hpi.cpp: In member function ‘byte* TA3D::UTILS::HPI::cHPIHandler::PullFromHPI_zone(const TA3D::String&, uint32, uint32, uint32*)’:
/usr/src/ta3d/src/TA3D_hpi.cpp:802:77: error: ‘fread’ was not declared in this scope
/usr/src/ta3d/src/TA3D_hpi.cpp:804:33: error: ‘fclose’ was not declared in this scope
/usr/src/ta3d/src/TA3D_hpi.cpp:827:73: error: ‘fread’ was not declared in this scope
/usr/src/ta3d/src/TA3D_hpi.cpp:829:31: error: ‘fclose’ was not declared in this scope
make[2]: *** [src/CMakeFiles/hpi.dir/TA3D_hpi.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/hpi.dir/all] Error 2
make: *** [all] Error 2