Problem in compiling Linux c++ source in Windows

I have a source, this Zata source is written for Linux, and I had a problem compiling this source with mingw to generate a .dll file.

I did a lot of tests and even made changes inside the project and even said that maybe the mingw version is new and this source is old. I installed an older version of mingw and I still got an error

My source (436kb):
https://filebin.net/4ksdep67xsg8c43o

Thank you for helping me

I even edited the makefile

GPP = g++ -m32 -Ilib -DSAMPGDK_AMALGAMATION -fno-stack-protector
GCC = gcc -m32 -Ilib -DSAMPGDK_AMALGAMATION -fno-stack-protector
FAKEBOTS_OUTFILE = "./FakeBots.dll"

COMPILE_FLAGS = -c -O3 -fpack-struct=1 -w -DWIN32

FakeBots = -D FakeBots $(COMPILE_FLAGS)

all: FakeBots

clean:
    -del /f /q *~ *.o *.dll 2>nul || true

FakeBots: clean
    $(GPP) $(FakeBots) ./lib/sdk/*.cpp
    $(GPP) $(FakeBots) ./lib/raknet/*.cpp
    $(GCC) $(FakeBots) ./lib/subhook/subhook.c
    $(GCC) $(FakeBots) ./lib/sampgdk/sampgdk.c
    $(GPP) -shared -o $(FAKEBOTS_OUTFILE) *.o -lws2_32

error…

PS C:UserserfaniDesktopbots
rm -f ~.0 *.so
daddypiercebots
daddypierce> mingw32-make
process_begin: CreateProcess (NULL, rm -f ~ *.o .so, ...) failed.
make (e=2): The system cannot find the file specified. mingw32-make: [makefile:14: clean] Error 2 (ignored)
g++ -m32 -Ilib -DSAMPGDK_AMALGAMATION -fno-stack-protector -D FakeBots -c -03 -fpack-struct=1 -fPIC -w -DLINUX ./lib/sdk /*.cpp In file included from ./lib/sdk/plugin.h:8,
from ./lib/sdk/amxplugin.cpp:13:
./lib/sdk/plugincommon.h:35:21: note: #pragma message: Warning: Not using a VC++ compiler.
#pragma message "Warning: Not using a VC++ compiler."
Ame
In file included from ./lib/sdk/plugin.h:9,
from ./lib/sdk/amxplugin.cpp:13:
./lib/sdk/amx/amx.h:61:17: error: typedef int64
_divtc3
int64 does not name a type; did you mean '__divtc3'? int64_t;
./lib/sdk/amx/amx.h:62:35: error: expected initializer before 'uint64_t'
typedef unsigned_int64 uint64_t;
./lib/sdk/amx/amx.h:365:3: error: 'uint64_t' does not name a type; did you mean 'uint32_t'? uint64_t * AMXAPI amx_Align64 (uint64_t *v);
سية
uint32_t
./lib/sdk/amx/amx.h:381:72: error: 'size_t' has not been declared
Anemoore
int AMXAPI amx_GetString(char *dest, const cell source, int use_wchar, size_t size); ./lib/sdk/amx/amx.h:401:83: error: 'size_t' has not been declared int AMXAPI amx_SetString(cell #dest, const char *source, int pack, int use_wchar, size_t size); ./lib/sdk/amxplugin.cpp:36:11: error: 'uint64_t' does not name a type; did you mean 'uint32_t'? typedef uint64_t * AMXAPI (amx_Align64_t) (uint64_t *v);
uint32_t
Armerone
./lib/sdk/amxplugin.cpp:37:3: error: 'uint64_t' does not name a type; did you mean 'uint32_t'? uint64_t * AMXAPI amx_Align64 (uint64_t *v)
uint32_t
./lib/sdk/amxplugin.cpp:142:86: error: 'size_t' has not been declared
typedef int AMXAPI (*amx_GetString_t) (char *dest, const cell source, int use_wchar, size_t size);
./lib/sdk/amxplugin.cpp:143:72: error: 'size_t has not been declared
int AMXAPI amx_GetString(char *dest, const cell source, int use_wchar, size_t size)
Arcorona
Ancorare
./lib/sdk/amxplugin.cpp:282:97: error: 'size_t' has not been declared typedef int AMXAPI (*amx_SetString_t) (cell *dest, const char *source, int pack, int use_wchar, size_t size);
Anmooners
./lib/sdk/amxplugin.cpp:283:83: error: 'size_t' has not been declared
int AMXAPI amx_SetString(cell #dest, const char *source, int pack, int use_wchar, size_t size)
Amoore
mingw32-make: *** [makefile:17: FakeBots] Error 1
PS C:UserserfaniDesktopbots - daddypiercebots - daddypierce>

New contributor

S9rC3r is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

1

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật