Displaying 3 results from an estimated 3 matches for "swig_cmd".
Did you mean:
smi_cmd
2005 Aug 07
1
Can''t rake without swig
...directory - swig -version
No such file or directory - swig -version
./rake/rakewx.rb:20:in ``''
./rake/rakewx.rb:20:in `have_good_swig''
./rake/rakewx.rb:254:in `create_internal_swig_tasks''
Perhaps this will work better:
def have_good_swig
begin
version = `#{$swig_cmd} -version`.strip.split("\n")[0]
rescue SystemCallError
end
if(!version)
return false
end
return (version >= "SWIG Version 1.3.25" && version < "SWIG Version 2")
end
Roy
2009 Oct 22
1
WXRuby crashes on Debian SID
Hello,
When I install wxruby using the gem on my Debian Sid, I cannot make it
work :
$ ruby
/usr/lib/ruby/gems/1.8/gems/wxruby-2.0.1-x86-linux/samples/minimal/minimal.rb
/usr/lib/ruby/gems/1.8/gems/wxruby-2.0.1-x86-linux/lib/wxruby2.so:
/usr/lib/ruby/gems/1.8/gems/wxruby-2.0.1-x86-linux/lib/wxruby2.so:
symbol _ZN9wxListBox13EnsureVisibleEi, version WXU_2.8 not defined in
file
2007 Jul 21
0
[1127] trunk/wxruby2: Move shared C++ GC functions into separate file included into wx.i
...gt;<span class="cx"> $optional_dir = File.join($classes_dir, ''optional'')
</span><span class="cx"> $optional_h_dir = File.join($optional_dir, ''include'')
</span><span class="cx">
</span><del>-$swig_cmd = "swig"
</del><ins>+$swig_cmd = ENV[''SWIGCMD''] || "swig"
</ins><span class="cx"> $swig_options = ''''
</span><span class="cx"> $swig_minimum_version = ''1.3.29''
</span&...