I try to load binary module on linux with 'require' function, but i get this error.
Code very simple, because he doesn't do anything (almost).
#include "Interface.h"
using namespace GarrysMod::Lua;
GMOD_MODULE_OPEN() {
return 0;
}
GMOD_MODULE_CLOSE() {
return 0;
}
I have no problem with version compiled on Windows. Nothing happens, no errors.
On linux I tried to compile it with using premake5 and without it (using only g++), but result is the same.
Google gave me very little information about this, like this post (about old module functional).
And i don't understand what "function" is meant in error.
Sorry, you need to Log In to post a reply to this thread.