Hello everyone,
I recently gained interest in developing an extension for my arma 3 linux server.
I went to the wiki (-> Extensions#Linux_shared_library_interface (first post, so no links)), compiled the example, put the resulting example.so in my server root directory and called
it via
diag_log ["Output: %1", "example" callExtension "version"];
from within my init.sqf file.
However, I get no output (besides "Output: ", what is definately not the output I want).
So, the three possible Errors that come into my mind are:
the C code is broken
I'm calling the extension the wrong way
I placed the file at the wrong location
I already tried to modify the code to always return "It works!" whenever I call it, and I tested the whole extension
by writing a small program, that loads it and calls the function; in that case, I got the desired output, so I guess the extension itself is okay.
I'm realy stuck on this, so any clues are appreciated.