(g++)
Since the 0.1.0.17 LU version when I try to load the modules (compiled with -fPIC because is required) returns false always.
Makefile:
SDK_objs = SQMain.o SQFuncs.o
CXX = g++-4.8 -fPIC -Werror
CXXFLAGS = -O2 -DNDEBUG -I. -I ../../common/RakNet/ -I ../../common/
all: LUPlus.so clean
default: all
LUPlus.so: $(SDK_objs)
$(CXX) -o $@ $(SDK_objs) -shared -s
SQMain.o: SQMain.cpp SQMain.h SQFuncs.h
$(CXX) $(CXXFLAGS) -c SQMain.cpp -o $@
SQFuncs.o: SQFuncs.cpp SQFuncs.h
$(CXX) $(CXXFLAGS) -c SQFuncs.cpp -o $@
clean:
rm -f $(SDK_objs)