CyberMor / sampvoice

Software Development Kit for implementing Pawn voice systems for SA:MP servers.
MIT License
128 stars 69 forks source link

При компиляции клиента жалуается на libraries\samp\ считай все файлы #152

Closed itslapsu closed 2 months ago

itslapsu commented 3 months ago

При компиляции клиента жалуается на libraries\samp\ считай все файлы

3>C:\Program Files\sampvoice-4.2\client\libraries\samp\CLocalPlayer.h(111,11): error C3646: 'm_nVehicle': unknown override specifier 3>C:\Program Files\sampvoice-4.2\client\libraries\samp\CLocalPlayer.h(111,21): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 3>C:\Program Files\sampvoice-4.2\client\libraries\samp\CLocalPlayer.h(112,11): error C3646: 'm_nPlayer': unknown override specifier 3>C:\Program Files\sampvoice-4.2\client\libraries\samp\CLocalPlayer.h(112,20): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 3>C:\Program Files\sampvoice-4.2\client\libraries\samp\CLocalPlayer.h(113,11): error C3646: 'm_nActor': unknown override specifier 3>C:\Program Files\sampvoice-4.2\client\libraries\samp\CLocalPlayer.h(113,19): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 3>C:\Program Files\sampvoice-4.2\client\libraries\samp\CLocalPlayer.h(120,12): error C3646: 'm_lastUpdate': unknown override specifier 3>C:\Program Files\sampvoice-4.2\client\libraries\samp\CLocalPlayer.h(120,24): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 3>C:\Program Files\sampvoice-4.2\client\libraries\samp\CLocalPlayer.h(121,12): error C3646: 'm_lastLook': unknown override specifier 3>C:\Program Files\sampvoice-4.2\client\libraries\samp\CLocalPlayer.h(121,22): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 3>C:\Program Files\sampvoice-4.2\client\libraries\samp\CLocalPlayer.h(125,12): error C3646: 'm_lastHeadUpdate': unknown override specifier 3>C:\Program Files\sampvoice-4.2\client\libraries\samp\CLocalPlayer.h(125,28): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 3>C:\Program Files\sampvoice-4.2\client\libraries\samp\CLocalPlayer.h(126,12): error C3646: 'm_lastAnyUpdate': unknown override specifier 3>C:\Program Files\sampvoice-4.2\client\libraries\samp\CLocalPlayer.h(126,27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 3>C:\Program Files\sampvoice-4.2\client\libraries\samp\CLocalPlayer.h(134,11): error C3646: 'm_nEntityId': unknown override specifier 3>C:\Program Files\sampvoice-4.2\client\libraries\samp\CLocalPlayer.h(134,22): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 3>C:\Program Files\sampvoice-4.2\client\libraries\samp\CLocalPlayer.h(135,12): error C3646: 'm_lastUpdate': unknown override specifier 3>C:\Program Files\sampvoice-4.2\client\libraries\samp\CLocalPlayer.h(135,24): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 3>C:\Program Files\sampvoice-4.2\client\libraries\samp\CLocalPlayer.h(157,12): error C3646: 'm_zoneDisplayingEnd': unknown override specifier 3>C:\Program Files\sampvoice-4.2\client\libraries\samp\CLocalPlayer.h(157,31): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 3>C:\Program Files\sampvoice-4.2\client\libraries\samp\CLocalPlayer.h(170,11): error C3646: 'm_nVehicleUpdating': unknown override specifier 3>C:\Program Files\sampvoice-4.2\client\libraries\samp\CLocalPlayer.h(170,29): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 3>C:\Program Files\sampvoice-4.2\client\libraries\samp\CLocalPlayer.h(204,16): error C2061: syntax error: identifier 'D3DCOLOR' 3>C:\Program Files\sampvoice-4.2\client\libraries\samp\CLocalPlayer.h(205,11): error C3646: 'GetColorAsRGBA': unknown override specifier 3>C:\Program Files\sampvoice-4.2\client\libraries\samp\CLocalPlayer.h(205,25): error C2059: syntax error: '(' 3>C:\Program Files\sampvoice-4.2\client\libraries\samp\CLocalPlayer.h(205,27): error C2238: unexpected token(s) preceding ';' 3>C:\Program Files\sampvoice-4.2\client\libraries\samp\CLocalPlayer.h(206,11): error C3646: 'GetColorAsARGB': unknown override specifier 3>C:\Program Files\sampvoice-4.2\client\libraries\samp\CLocalPlayer.h(206,25): error C2059: syntax error: '(' 3>C:\Program Files\sampvoice-4.2\client\libraries\samp\CLocalPlayer.h(206,25): fatal error C1003: error count exceeds 100; stopping compilation

Это только часть из того что сыпит в лог, кто подскажет как нормально скомпилить?

Версия 4.2