Have you generally followed the pattern shown in the GitHub example ?
-
You should be building a
.sofile, that defines a main function prefixed"Init_"with the remainder of the name the exact same as the.sofile’s filename. This is a requirement so that Ruby’s global#requirecan load the file. (See the example above, or the book on writing Ruby C extensions.) -
You need to be linking to the correct lib for running inside “live” SketchUp application.
Please read @thomthom’s post re this in the following topic …
Best practice to support multiple SketchUp versions? - #15 by tt_su