Re : RubyInline 3.6.3 Released


E

Eric Torreborre

Hi,=0A=0AI've recently had the same issues trying to recompile the ParseTre=
e library (which uses RubyInline) on windows XP. =0A=0AIt looks like the ve=
rsion of VS studio I use is too new compared to the one that's used to comp=
ile the ruby version delivered with the one-click installer on windows.=0A=
=0AThis is why I've been desperately looking for Visual C++ 2003 but I coul=
dn't find it over the net, even with an MSDN account.=0A=0AIf somebody on t=
he list knows where we could download compiler (or even, in my case, can se=
nd me the parse tree lib,...), that would be very nice.=0A=0AThanks,=0A=0AE=
ric.=0A =0A----------------------------------------------------------------=
-----------=0AEric TORREBORRE=0Atel: +81 (0)90 5580 3280=0Ae-mail: etorrebo=
(e-mail address removed) / (e-mail address removed)=0Ablog: http://etorreborre.blogspo=
t.com=0A-------------------------------------------------------------------=
--------=0A=0A----- Message d'origine ----=0ADe : Haoqi Haoqi <[email protected]=
m>=0A=C0 : ruby-talk ML <[email protected]>=0AEnvoy=E9 le : Samedi, 2=
8 Avril 2007, 12h36mn 40s=0AObjet : Re: RubyInline 3.6.3 Released=0A=0Ahell=
o,I added "ENV['HOME']=3D'./'",then get errors:=0A=0Acl : Command line warn=
ing D9035 : option 'Og-' has been deprecated and =0Awill be removed in a fu=
ture release=0Acl : Command line warning D9035 : option 'o' has been deprec=
ated and =0Awill be removed in a future release=0Acl : Command line warning=
D9002 : ignoring unknown option '-G6'=0Ac:/ruby/lib/ruby/gems/1.8/gems/Rub=
yInline-3.6.3/lib/inline.rb:391:in =0A`build': error executing cl -nologo -=
LD -MD -Zi -O2b2xg- -G6 -I =0Ac:/ruby/lib/ruby/1.8/i386-mswin32 -I c:/rub=
y/include -o =0A"./.ruby_inline/Inline_MyTest_cb89.so" =0A"C:/ruby_in_line/=
ruby_inline/Inline_MyTest_cb89.c" -link =0A/LIBPATH:"c:/ruby/lib" /DEFAUL=
TLIB:"msvcrt-ruby18.lib" /INCREMENTAL:no =0A/EXPORT:Init_Inline_MyTest_cb89=
: 512 (CompilationError)=0ARenamed ./.ruby_inline/Inline_MyTest_cb89.c to =
=0A./.ruby_inline/Inline_MyTest_cb89.c.bad from =0Ac:/ruby/lib/ruby/gems/1=
8/gems/RubyInline-3.6.3/lib/inline.rb:660:in =0A`inline'=0A from test2.rb=
:6=0A=0Arequire "pp"=0Arequire "inline"=0AENV['HOME']=3D'./'=0Aclass MyTest=
=0A inline do |builder|=0A builder.c "=0A long factorial(int max) =
{=0A int i=3Dmax, result=3D1;=0A while (i >=3D 2) { result *=
=3D i--; }=0A return result;=0A }"=0A end=0Aend=0At =3D MyTest=
new()=0Afactorial_5 =3D t.factorial(5)=0A=0A=0A-- =0APosted via http://www=
ruby-forum.com/.=0A=0A=0A=0A=0A=0A=0A =0A____________________________=
_______________________________________________ =0AD=E9couvrez une nouvelle=
fa=E7on d'obtenir des r=E9ponses =E0 toutes vos questions ! =0AProfitez de=
s connaissances, des opinions et des exp=E9riences des internautes sur Yaho=
o! Questions/R=E9ponses =0Ahttp://fr.answers.yahoo.com
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top