Displaying 20 results from an estimated 500 matches similar to: "Building wxruby-swig for Mac"
2004 Apr 29
10
wxruby-swig 0.0.12 is up
This one includes the latest App.cpp which includes the Mac fix from
Nick. I thought it was in 0.0.11, but it wasn''t.
It also adds support for "stock objects", like colours, pens, and fonts.
This turned out to be quite challenging, but I''m happy with the
solution. It only took a few days :-/
Kevin
2004 Aug 20
8
wxruby-swig: where does wxclasses-2.4.2.xml comes from?
Was trying to understand more about the internals of wxruby-swig, where
does the big chunk of XML comes from? I saw something similiar in
Python, is that massaged out of there?
The codes produced by extractxml.rb and wxclasses-2.4.2.xml is quite
different from the original header files. Just for example the WxDialog
class.
OnXXX are non-virtual in WxWidgets, but virtual in wxruby-swig
2004 Sep 18
4
wxruby-swig problem: MDIChildFrame::Maximize
I just grabbed the latest wxruby-swig from cvs and tried to compile it
(without enabling the SWIG step) on my gentoo Linux box. I get:
g++ -c -I/usr/lib/wx/include/gtk2-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -O2 -march=athlon-xp -fPIC -I
/usr/lib/ruby/gems/1.8/gems/rake-0.4.8/bin -I
/usr/lib/ruby/gems/1.8/gems/rake-0.4.8/lib -I
2004 May 01
4
wxruby-swig 0.0.13 is up
This fixes the wxRED Mac link error. Thanks to Nick for pointing out
that I hadn''t removed some wxRED code related to an earlier experiment.
Hopefully this one will build on Mac, end-to-end.
I also found and fixed a problem that was causing the crash on exit:
wxWindows automatically deletes the C++ app object as soon as the last
frame is closed. Later, when ruby garbage collected the
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
2004 Jun 04
2
building wxruby-swig 0.0.16 on Mac
Grabbed 0.0.16 and tried a build for kicks.
...all good, except for a warning in MenuBar.cpp, then...
g++ -c -I/usr/local/lib/wx/include/mac-2.4 -D__WXMAC__ -DWXMAKINGDLL
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -fno-common -fno-common -pipe
-fno-common -x objective-c++ -I
/usr/local/lib/ruby/gems/1.8/rake-0.3.2/lib -I
/usr/local/lib/ruby/site_ruby/1.8 -I
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
2004 Aug 20
1
Any plans to switch wxruby-swig to using rexml?
since http://nqxml.sourceforge.net/
also recommends that we switch to use rexml which is shipped with ruby?
If there are plans for it but no developers, I might take it up as an
exercise to learn the internals of wxruby-swig.
Cheers,
Phuah Yee Keat
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?
2004 Aug 27
4
SWIG Bug
In trying to add wxTextCtrl to wxruby-swig, I''ve been running into a
problem with the argument conversion that appears to be a SWIG director
bug. It is tied to multiple inheritance, and is related to SWIG
specifically making director''s ''initialize'' take a first argument, but
because ''initialize'' is static there isn''t a self value
2004 Apr 27
1
wxruby-swig 0.0.11
The only changes are Nick''s Mac fixes to the rakefile and App.i. This
might be "the one" for Macs.
Kevin
2008 Mar 07
7
extractxml.rb
Hello again,
I''m noticing that many of the headers in swig/classes/include have the
comment:
// This file was automatically generated
// by extractxml.rb, part of the wxRuby project
// Do not make changes directly to this file!
Is this still the case, or was this just a one-time conversion? 228
out of 441 files in that directory don''t have the comment.
I ask this because
2004 Sep 18
10
wxruby-swig: Converting to REXML
Since I''m setting up my development environment on a new system, I
figure now is the time to get rid of one of the extra dependencies: NQXML.
It appears that REXML can now parse the whole classes xml file in about
20 seconds on this machine, which is a huge improvement over the many,
many minutes it used to take. So I am now updating extract.rb to use
REXML instead of NQXML.
2004 May 12
5
Now I feel really smart!
Ok.
I seem to be having some real problems today :)
There is a link from the main page straight to the Wx::Frame tutorial, under
the NEWS section.
http://wxruby.rubyforge.org/wiki/wiki.pl
Sorry for wasting everyone''s time :(
Robert
_________________________________________________________________
Getting married? Find tips, tools and the latest trends at MSN Life Events.
2005 May 03
4
Wx::HtmlWindow.on_link_clicked
Hello, wxruby-users.
This is an addition which implement wrapper for
overloading wxHtmlWindow::OnLinkClicked method. Unfortunately, it was
impossible to make it correctly without ugly hack to wxpp.rb, but i`m
hope it does not broke it.
Please look at attachment for a patch for htmlwindow.t and wxpp.rb and
additional file htmllinkinfo.t (need to be added to $objs array in
extconf.rb).
Sample
2004 Apr 17
1
wxruby-swig progress report
Tonight, I generated a full set of almost 400 swiggable .h files, one
for each wxWidgets class. I used the big xml file that I mentioned
earlier, which itself was (apparently) scraped from the wxWidgets html
help files.
Several interesting notes:
1. REXML took forever to parse the 2.5 meg xml file. I didn''t want to do
stream processing, and hoped to stay with a pure-ruby solution,
2008 May 18
0
[ wxruby-Bugs-20211 ] Unresolved symbol due to linkage error
Bugs item #20211, was opened at 2008-05-18 13:46
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=20211&group_id=35
Category: Compile/build
Group: current
Status: Open
Resolution: None
Priority: 3
Submitted By: Tobias Peters (t-peters)
Assigned to: Nobody (None)
Summary: Unresolved symbol due to linkage error
Initial Comment:
While compiling wxruby
2007 Feb 09
20
Hello Everyone
I have a bit of a problem with installation. I installed wxX11 in my
linux box. I compiled the demos and all the demos, save dbbrowse,
work. I think I have a functional wx. Now I''m trying to install wxRuby
from source, since I have a 64 bit machine. I only have permission to
my home directory so my installation is :
/usr/people/stevenq/Applications/wxX11/
2006 Feb 01
4
REXML::ParseException - but the feed IS valid
I am using Ruby feedparser and when I try to parse this feed:
http://feeds.feedburner.com/Mobilecrunch
I get an error:
REXML::ParseException: Declarations can only occur in the doctype
declaration.
This feed does validate at feedvalidator.org. Any idea why it would raise
an exception?
Thanks,
eduard
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2004 Dec 17
14
WxRuby-SWIG and WxWidgets 2.5.x
A while back there was a discussion about what version of WxWidgets to
target with WxRuby-SWIG. I don''t remember seeing any resolution, but I
gather that thus far WxRuby-SWIG has continued to target 2.4.2, with
the thinking that WxRuby-SWIG would quickly mature to the point that it
could replace WxRuby, and once that was done the focus would shift to
working with 2.5.x.