Plugin does not conform to architecture
#5

Hi all!

I would be a trouble of mine like this. A gang plugin I wrote. The translator signals an any kind of mistake at me.

Quote:
Originally Posted by PsYcHoGoD
Make sure the following functions are exported:
Supports
Load
Unload
AmxLoad
AmxUnload

I know that error occurs when they are not exported, but could also be something else causes the error.
exported

PLS Help!

Here is buildlog:
Code:
# Project: gang
# Makefile created by Dev-C++ 4.9.9.2

CPP = g++.exe
CC  = gcc.exe
WINDRES = windres.exe
RES = gang_private.res
OBJ = C:/Dev-Cpp/Templates/gang.o C:/Dev-Cpp/include/SDK/amxplugin.o $(RES)
LINKOBJ = C:/Dev-Cpp/Templates/gang.o C:/Dev-Cpp/include/SDK/amxplugin.o $(RES)
LIBS = -L"C:/Dev-Cpp/lib" --no-export-all-symbols --add-stdcall-alias 
INCS = -I"C:/Dev-Cpp/include" 
CXXINCS = -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include" 
BIN = gang.dll
CXXFLAGS = $(CXXINCS) -DBUILDING_DLL=1 
CFLAGS = $(INCS) -DBUILDING_DLL=1 
RM = rm -f

.PHONY: all all-before all-after clean clean-custom

all: all-before gang.dll all-after


clean: clean-custom
	${RM} $(OBJ) $(BIN)

DLLWRAP=dllwrap.exe
DEFFILE=libgang.def
STATICLIB=libgang.a

$(BIN): $(LINKOBJ)
	$(DLLWRAP) --output-def $(DEFFILE) --driver-name c++ --implib $(STATICLIB) $(LINKOBJ) $(LIBS) -o $(BIN)

C:/Dev-Cpp/Templates/gang.o: C:/Dev-Cpp/Templates/gang.cpp
	$(CPP) -c C:/Dev-Cpp/Templates/gang.cpp -o C:/Dev-Cpp/Templates/gang.o $(CXXFLAGS)

C:/Dev-Cpp/include/SDK/amxplugin.o: C:/Dev-Cpp/include/SDK/amxplugin.cpp
	$(CPP) -c C:/Dev-Cpp/include/SDK/amxplugin.cpp -o C:/Dev-Cpp/include/SDK/amxplugin.o $(CXXFLAGS)

gang_private.res: gang_private.rc 
	$(WINDRES) -i gang_private.rc --input-format=rc -o gang_private.res -O coff
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)