Cannot load a Ruby C++ extension in SketchUp 2017

,

I have programmed several Ruby C++ extensions compiled as DLL/SO files in Windows.
I started in 2014 with 23bit and tried some more with 64bit since February 2017.
All went well peacefully with Sketchup 2014 32bit and 2015 and 2016 64bit.
Now with Sketchup 2017 it had come to a halt:

A code like this:

Sketchup.require ‘C:/Users/<…>/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/3E_SO_Test_UI/SO_Test_DllMfc.dll’

results with

File load error (C:/Users/<…>/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/3E_SO_Test_UI/SO_Test_DllMfc.dll): Could not find included file 'C:/Users/<…>/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/3E_SO_Test_UI/SO_Test_DllMfc.dll’
false

There is no exception / rescue so no more clue what is wrong.
Nevertheless it looks like the file content does this after all. When I just replace the file with just “…/something_empty.rb” without touching one more letter in the path, the file is loaded OK.

Please have anybody a clue / experience / advise?

As you eventually found, in your duplicate post, …

Sketchup::require is only used for loading encrypted SketchUp Ruby files (.rbs, .rbe, etc.)


Duplicate of:

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.