Displaying 20 results from an estimated 7000 matches similar to: "SWIG exceptions"
2005 May 06
3
Problems setting image data
Hi,
I''ve been having some intermittent (but repeatable) problems using
Image#set_data. In some cases, I get just a black image drawn after I''ve set
a (non-black) image. Other times I get a MSVC++ runtime exception. It
happens on the same files at the same time. I''m confident that I''m setting
the correct amount of data for the image size. (Note: Ruby 1.8.2,
2005 Jul 31
5
SWIG compilation
The result of the compilation after installing swig results in lots of
errors of the sort:
WindowDisabler.obj : error LNK2001: unresolved external symbol
_SWIG_Ruby_ConvertPtr
I can see this is defined in rubydef.swg but I''m not sure why this isn''t
just included in the files that need it. Can any swig experts tell me
what I need to do to progress? I''m using
2006 Aug 23
6
Looking for volunteers (no C++ knowledge needed!)
I just posted a follow-up to our bug that old SWIG versions are not
properly detected, leading to unclear failure messages:
---
Actually, this just got a lot simpler. We used to support both 1.3.25+
and 1.3.24-, so we had to do both kinds of detection. Now, we REQUIRE
1.3.29, and therefore any SWIG that can''t give us its version number the
new way is automatically too old.
We can get
[1007] trunk/wxruby2/swig: Fixed Wx::Image#scale and rescale signature, also added needed constants.
2007 May 04
0
[1007] trunk/wxruby2/swig: Fixed Wx::Image#scale and rescale signature, also added needed constants.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2006 Mar 27
4
Patch for Swig 1.3.29
Attached is a patch for Swig that at least allows us to link the
library. I am experiencing a number of bugs that will need to be
tracked down and squashed. I haven''t even had time to look at the
newer Swig features yet.
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2005 Jul 26
10
Patch for wxRuby2
Ok so I made a lot of changes and the controls sample works pretty good now.
What I changed or added:
- Got all my modifications meshed into wxRuby2.
- Added constructors to wxIcon.h
- Changed Xrc.i to XmlResource.i and changed wxXrc to wxXmlResource
within the file.
I also had to change Xrc to XmlResource in rakewx.rb.
- For backwards compatability with wxRuby 0.6 I added the subclass methods
2007 Jun 05
0
[1045] trunk/wxruby2/swig/classes/include/wxImage.h: Add missing Size and Resize methods in Wx::Image
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2005 Aug 04
8
swigwin
Anyone on the list have some pointers for getting swig working properly
on Windows? Anytime I reswig a file it breaks wx.cpp. I''m sure I''ve
got a setup problem but I haven''t been able to put my finger on it yet.
Roy
2006 Apr 18
12
Update on SWIG
SWIG 1.3.29 isn''t going to cut it for us. We''ll have to wait until
1.3.30, unless I can hack together a nasty workaround for a problem with
the object tracking. It seem that each SWIG module gets its own hash
for tracking objects. This means that, for example, you create a find
dialog (in FindReplaceDialog.cpp) events you get from it (from
FindDialogEvent.cpp)
2006 Sep 30
3
fixmodule patches
These patches (should) give us support for compiling against Ruby 1.9.
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2010 Sep 09
2
[LLVMdev] install llvm-tv on ubuntu
Does anybody install llvm-tv on ubuntu9.04? please share how to do it. Thanks very much!
My problem is as followed:
I follow the instruction of README in source of llvm-tv.
First, I installe wxWidgets and graphviz, and then download the source of llvm from http://llvm.org/svn/llvm-project/llvm/trunk and download poolalloc from http://llvm.org/svn/llvm-project/poolalloc/trunk. Second, I compile
2006 Aug 24
4
SWIG
I decided to try my hand at hacking SWIG and successfully produced a
patch that fixes the error I demonstrated. I''m not -positive- it''s
correct for all cases but I''ll re-run my version of SWIG over the
library and see how things turn out.
Roy
2004 Apr 22
13
Rake and VC++ 6
Has anybody tried the new wxruby-swig from the msvc++ command line
compiler using ''rake''? The rakefile seems to depend on the wx_config
method, which doesn''t exist for msw because it doesn''t have BASH to
execute the shell script. Has anyone hacked the rakefile to fix this?
Nick
2006 Sep 29
7
new crasher on bigdemo
Hi
Seems that the last round of commits makes bigdemo crash fairly quickly.
Guessing it''s something to do with either the Window or fixmodule change.
Program received signal EXC_BAD_ACCESS, Could not access memory.
0x00034fbc in rb_obj_is_kind_of (obj=3825080, c=1839676) at object.c:523
523 object.c: No such file or directory.
Any hints?
alex
2005 Sep 13
3
Swig hates us...
Swig is making mincemeat out of ComboBox.new. Because of the way it''s
picking the ''correct'' one to call it''s calling with a null name instead
of a default name. How did we fix this before?
2005 Sep 10
2
Swig generates bad interface to GetTextExtent
Swig''s bad interface generation strikes again. get_text_extent called
with 1 argument maps to WindowDC''s _wrap_wxWindowDC_GetTextExtent__SWIG_0
Since this generates a wxFont that''s not initialized to nil it fails
when calling into wxWindows. Anyone have a suggestion?
2006 Apr 17
2
SWIG -autorename
From the SWIG manual:
-------8<---------------
SWIG 1.3.28 introduces the new -autorename command line parameter. When
this parameter is specified, SWIG will automatically change constant,
class and method names to conform with the standard Ruby naming
conventions. ...
To disable renaming use the -noautorename command line option.
Since this change significantly changes the wrapper code
2006 Apr 30
2
Error in controls.rb
Anyone else seeing this error when clicking on the radiobox page?
undefined method `'' for #<MyRadioBox:0x2d6c0c0>
Roy
2007 Feb 12
7
MSW segfaults II
Hi
Think I tracked down why Windows suddenly went horrible crashy - the
newest SWIG release generates slightly different code for object
tracking, so our fixmodule.rb wasn''t picking up the broken line, so we
got a nasty regression.
Anyway, the patch (SVN:862) gives me a major improvement in stability
Windows. Please could you let me know how SVN HEAD is working for you;
if no major
2006 Sep 14
2
Patch to fix ArtProvider and ArtProvider sample
These patches better implement ArtProvider and add the demo for it. I
also expanded the bigdemo window a little bit. I really think we should
go larger but I suppose there might be some people at 800x600 still.
Note that creating your own art provider still doesn''t quite work
correctly. I didn''t have time to get into that.
The RubyConstants.i.patch file looks weird. Not