Hi everyone:
1: I download the Sketchup2017 and LayOut sdk.
2: I build the RubyExampleCreateLayOut project. the ruby lib is 2.2.4, build project no error.
3: I copy the CreateLayOutExample.so and createLayOut.rb to Sketchup2017 plugins folder
4: Start Sketchup 2017
5: Click the CreateLayoutExample command
the error code is:
Error: C:/Program Files/SketchUp/SketchUp 2017/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:54:in `require'
C:/Program Files/SketchUp/SketchUp 2017/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:54:in `require'
C:/Users/ding/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/createLayOut.rb:29:in `run'
C:/Users/ding/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/createLayOut.rb:109:in `block in <module:CreateLayOutExample>'
SketchUp:1:in `call'