I have a derived class from a base class registered as in the template example. If I call a base class method, everything is fine. If I call a method of the derived class I get a SEGV in the Wrappers.
I am on (Ubuntu/ARM64 using generic wrappers)
In the leadup to Execute() I create a script on the fly that looks like:
std::string script = "DerivedClass m4808(5,0);int cowboy(){ m4808.setRPM(10); Print(\"CC Command sent\r\n\"); return 0; }"
The sequence of preparing the module is:
// Get/Create the module, add the script and build …