Sorry for the overly technical question. I have a C++ library that I wrote that can be executed from Lua scripts. I've compiled said library into a .dll (.so for those familiar with Unix systems), and a test Lua script that I wrote successfully executes said library when I call it.
However, when I try to require the library from my mod files, I get the following error:
Code: Select all
attempt to call global 'require'
Code: Select all
windSimulatorUsb = require 'windSimulatorUsb'
Am I doing something wrong here? Does FS19 prohibit the usage of shared libraries?