Hi guys,
I am newbie for ruby, but I used vs studio for long time. I searched
this forum for informations about how to build exentions for buy with
visual studio 2005 (c++), but I didn’t get a clear answer, could anyone
tell me how to build the ruby extention with visual studio 2005 (c++)? I
try to use SWIG, but building the the simplest examples give me a lot of
link errors after I did comment out some lines in the config.h. Could
anyone post a sample project about how to build the c++ extention?
thanks
Eric
I am newbie for ruby, but I used vs studio for long time. I searched
this forum for informations about how to build exentions for buy with
visual studio 2005 (c++), but I didn’t get a clear answer, could anyone
tell me how to build the ruby extention with visual studio 2005 (c++)? I
try to use SWIG, but building the the simplest examples give me a lot of
link errors after I did comment out some lines in the config.h. Could
anyone post a sample project about how to build the c++ extention?
I think the word on the street is that you should compile with VC6.
That or use mingw
There is also an integrated Visual IDE with IronRuby [I think].
http://www.ruby-forum.com/topic/167508#new
Sorry I can’t be of more help.
-=RDCP
Roger P. wrote:
I think the word on the street is that you should compile with VC6.
That or use mingw
There is also an integrated Visual IDE with IronRuby [I think].
[ANN] Free Ruby In Steel IDE includes free Visual Studio - Ruby - Ruby-Forum
Sorry I can’t be of more help.
VC6 is out of question for me as there are many tools I used can’t be
compiled with vc6. IronRuby may be an option, but that may be too risky
for me as I need to compile so many libs with that new compiler. But I
do find some discussion about the issues with vs 2005, however, there is
no definite solution for the issues raised in the discussion. Could
someone shed some lights on this issue? can or can’t, both fine with me,
but at least let new guys like me to know the issues.
-=RDCP
Roger P. wrote:
There is also an integrated Visual IDE with IronRuby [I think].
[ANN] Free Ruby In Steel IDE includes free Visual Studio - Ruby - Ruby-Forum
Just to clarify, Ruby In Steel has a free edition for standard Ruby
hosted in Visual Studio 2008, a free edition for IronRuby (VS2008), a
lowcost ‘Text Edition’ ($49 including optionally a Ruby-specific version
of VS2008), plus our high-end Developer Edition (for both VS2008 and
VS2005). While the commercial editions support multi-language projects
(e.g. Ruby and C# or C++ in the same Solution), we do not have any
particular support for C++ (which I think is what the original
questioner was interested in) beyond what is already in Visual Studio.
best wishes
Huw C.
SapphireSteel Software
Ruby and Rails In Visual Studio
http://www.sapphiresteel.com
hi Huw C.,
thanks for your reply.
the problem I have now is that I want to hook up my codes (all c++
developed in visual studio 2005) with SketchUp (google product).
SketchUp has a ruby interface so that I can grep data from model and
dump them into my codes, and my codes will spit the results back to
SketchUp through Ruby interface.
Now the questions are:
a. how can I compiled my codes into dll so that ruby can call ( can
“ruby in steel” do it?)
b. Installation issues as it all relates with .net and sketchup or any
other application should be able to find the system lib. I am not sure
whether SketchUp has manifest files, but if not, that will that affect
the plugin? If it is vc6.0, then you can copy system dlls around, but it
is not the case with .net.
hope anyone can give some inputs. If ruby talks vs2005, it is huge gains
for all.
Eric
Huw C. wrote:
Roger P. wrote:
There is also an integrated Visual IDE with IronRuby [I think].
[ANN] Free Ruby In Steel IDE includes free Visual Studio - Ruby - Ruby-Forum
Just to clarify, Ruby In Steel has a free edition for standard Ruby
hosted in Visual Studio 2008, a free edition for IronRuby (VS2008), a
lowcost ‘Text Edition’ ($49 including optionally a Ruby-specific version
of VS2008), plus our high-end Developer Edition (for both VS2008 and
VS2005). While the commercial editions support multi-language projects
(e.g. Ruby and C# or C++ in the same Solution), we do not have any
particular support for C++ (which I think is what the original
questioner was interested in) beyond what is already in Visual Studio.
best wishes
Huw C.
SapphireSteel Software
Ruby and Rails In Visual Studio
http://www.sapphiresteel.com
Eric Teng wrote:
a. how can I compiled my codes into dll so that ruby can call ( can
“ruby in steel” do it?)
We don’t have any additions to the Ruby interpreter/libraries so nothing
special for calling DLLs from Ruby. Apart from mixed language .NET
solutions the only special type of ‘interop’ we have is supplied by the
Ruby Connector. This is a free widget that lets .NET programs
communicate with the standard Ruby interpreter. I think this may be the
opposite of what you need but you may want to take a look just in case
it’s useful to you…
Download and watch a tutorial on the Ruby Connector here:
http://www.sapphiresteel.com/SapphireSteel-Downloads
best wishes
Huw
SapphireSteel Software
Ruby and Rails In Visual Studio
http://www.sapphiresteel.com
Huw C. wrote:
Just to clarify, Ruby In Steel has a free edition for standard Ruby
hosted in Visual Studio 2008, a free edition for IronRuby (VS2008)
Huw is quite correct. This was mentioned on a recent thread. FYI:
http://www.ruby-forum.com/topic/167508#new