Michael-Guo / su2ds

Automatically exported from code.google.com/p/su2ds
1 stars 0 forks source link

wxSU will not load in SketchUp 2014 running on Windows 7 64 #31

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download and install SketchUp Make 2014
2. Install wxSU included in the su2ds download
3. Install su2ds
4. Open SketchUp

What is the expected output? What do you see instead?
wxSU and su2ds plugins should load, instead there are popup error messages 
"Failed to load wxRuby" This error usually occurs if you are missing ... 
gdiplus.dll, msvcp71.dll, or msvcr71.dll ; and su2ds will not load because of 
uninitialized constant SU2DS::Wx (which of course is defined in wxSU which 
didn't load).

What version of the product are you using? On what operating system?
SketchUp Make 14.1.1282
su2ds v0.3.2
wxSU-0-3-0-mswin

Please provide any additional information below.
I believe the actual problem may be with the compiled wxruby2.so either having 
hardcoded SketchUp file locations or not being compatible with Windows 7.

The file sketchup.rb is in "C:\Program Files (x86)\SketchUp\SketchUp 
2014\Tools". Plugins are now installed in 
"C:\Users\(username)\AppData\Roaming\SketchUp\SketchUp 2014\SketchUp\Plugins". 
Editing the su2ds files to change these hardcoded paths helped su2ds, but 
didn't fix wxSU. 

Also, it would probably help if all three of these programs would upgrade to at 
least MS Visual C/C++ 2010. The 2003 version (7.1) is not supported anymore.

I tried installing Ruby and using get install wxruby. It installed, but I 
couldn't figure out how to get SketchUp/su2ds/wxSU to recognize it.

Original issue reported on code.google.com by pharouff on 19 Jul 2014 at 1:51

GoogleCodeExporter commented 9 years ago
I uninstalled SketchUp Make 2014 and installed SketchUp 8 Free. Both su2ds and 
wxSU appear to have installed without errors. So I'm nearly certain it is a 
relative path error in the precompiled wxruby2.so not being able to find the 
SketchUp Ruby library files. Unfortunately, I don't know enough abut the 
program or Ruby to dig any deeper at the moment.

Original comment by pharouff on 19 Jul 2014 at 2:13

GoogleCodeExporter commented 9 years ago
Hi

Similar problem to the one listed above. I've got SketchUp Make 2015 installed 
on Win7 64bit. I get errors as follows:-

1) Error:  Failed to load wxRuby.
This error usually occurs if you are missing any of the required DLL files:  
gdiplus.dll, msvcp71.dll, or msvcr71.dll
These DLLs are free downloads from multiple websites.  After downloading, put 
the files in your Windows system directory and try to start wxSU again.

2)Error Loading File su2ds.rb
Error: #<NameError: uninitialized constant PLATFORM>
C:/Users/DEBCal/AppData/Roaming/SketchUp/SketchUp 
2015/SketchUp/Plugins/su2ds.rb:28:in `<top (required)>'
Error Loading File su2rad.rb
Error: #<NameError: uninitialized constant PLATFORM>
C:/Users/DEBCal/AppData/Roaming/SketchUp/SketchUp 
2015/SketchUp/Plugins/su2rad.rb:63:in `<top (required)>'

Has there been any progress in this regard?

Original comment by debcal...@gmail.com on 18 Mar 2015 at 1:29

GoogleCodeExporter commented 9 years ago
Regarding error 1 listed above, I have tried copying the *.dll files into 
Windows\System and Windows\System32 and they were already installed in 
Windows\SysWOW64. None of these attempts made any difference - error still 
occurs.

Original comment by debcal...@gmail.com on 18 Mar 2015 at 1:33

GoogleCodeExporter commented 9 years ago
Just noticed that my 'Extensions' menu contains options for wxSU Documentation 
and wxSU Examples. However it doesn't what I click none of the items in these 
menu's function. I also noticed that my "Window\Preferences\Extensions" shows 3 
new menu items - the two mentioned above and a wxSU menu, which I cannot find 
anywhere within SketchUp. Hope that brings a little more clarity.

Original comment by debcal...@gmail.com on 18 Mar 2015 at 1:41