Displaying 20 results from an estimated 500 matches similar to: "Building wxruby-swig on WinXP"
2006 Sep 12
6
Patch for Unicode on windows
This patch makes Unicode the default build for windows. You can
override the default by setting a WXRUBY_NO_UNICODE environment variable.
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2012 Feb 10
3
Installing from source missing -lruby18 in linking.
I am trying to build wxruby from source, but I have encounter an error.
For some reason the ''rake'' command fail when it tries to link lib/wxruby2.so
because it is missing missing -lruby18
resulting in errors like
wx.cpp:(.text+0x1618): undefined reference to `rb_intern''
wx.cpp:(.text+0x165c): undefined reference to `rb_eNotImpError''
wx.cpp:(.text+0x1666):
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 Aug 14
6
Patches to rake files
rakewx.rb:
- Added a $debug_build variable so when we do eventually we can also
release non debug builds. I did not make this a constant on purpose so
in the package tasks we can change it to false if we want to always
make non debug builds by default.
- Changed wx_config to use the $debug_build variable
rakemswin.rb:
- Updated the copyright year.
- removed the $DEBUG const and make use of
2006 Sep 12
6
Scintilla
wxScintilla already comes with a SWIG friendly header file. I modified
the rakewx and the Scintilla.i file to include it directly from the
wxScintilla install. This means it''s an odd-ball compared to our other
classes. Does anyone see a problem with this? I think it''s best to use
the one supplied with the installation to avoid problems of the header
file getting out of
2005 Jul 24
11
Official name change to wxruby2
The CVS module has been renamed from wxruby-swig to wxruby2, and I have
checked in the related changes to reflect the name change. Anyone with a
CVS tree will need to re-checkout from CVS because of the module name
change.
There is now a wx.rb in the lib/ directory, which loads the wxruby2
shared library that gets built.
I have tagged this as 0.0.22.
Next steps:
- Apply Choice.i patch from
2004 May 24
9
Combo Box
>> You really want to call get_value. Unfortunately, that''s not
implemented
>> in wxRuby 0.3.0.
>I found to my surprise that this method is actually working, but only
in the
>example code that comes with wxRuby one-click install for Windows.
@combo.get_label seems to work for me.
See sample code below.
HTH,
Assaph
----- CODE -----
require ''wxruby''
2004 Jun 19
4
FlexGridSizer question
=begin
I am trying to understand how FlexGridSizer works and I have written a small
test application using the latest wxRuby 0.4.0 on Win XP (Home).
I cannot get static text ''Week'', ''Day'' and ''Date'' line up above the OK button.
I have tried all combinations of ALIGN flags, but I either got the text sticking
far too close to the left edge of
2004 Oct 01
14
wxruby-swig on Windows & possible release
I''m trying to build wxruby-swig on windows with the idea of building a
windows installer for it. I think that this would go a long way toward
encouraging windows developers to try out wxruby-swig. What do you think?
Are we far enough along to contemplate a release?
Building wxruby-swig on windows is actually going pretty smoothly, but I
want to build it with vc++ 7.1 to match the
2006 Feb 07
3
ActiveRecord for kirbybase?
I''ve found vague mentions of various attempts at creating an ActiveRecord adapter for the KirbyBase pure Ruby DBMS, but
nothing which looks like it''s actually working. Anyone know of such an adapter that is functional and available?
b
2006 Mar 24
9
Escaping characters
Hi,
I am writing some help about post formatting. I am using redcloth to
format the text, and in a FAQ, also formatted with redcloth, I explain
what to type to what to obtain.
So, how could I escape ''*'', ''#'' & Co, to have an output like
<redcloth>
Type *word* to obtain <strong>word</strong>
</redcloth>
I tried "Type
2004 Jun 02
13
wxGrid Question
When operating with a wxGrid is there a way to get a reference to the
TextCtrl field that is created when you start typing in a cell.
Also is there a way to get mouse events to work with a wxGrid, so far I
can''t get any of them to work. I had tried various combo''s of:
@grid.evt_left_down(){ |event|
puts "Left mouse is down"; }
using evt_left_down, evt_left_up,
2004 Apr 26
7
TRW: getters and setters
Hi all,
I mentioned this on the forum but wasn''t sure if
anyone was paying attention. I was just wondering if
it would be possible to replace the
get_something/set_something style methods with the
more Rubyish something/something= style (i.e. uniform
access).
For example, the Button class currently has
button.get_label and button.set_label("foo"). It
would give me warm,
2004 Aug 25
7
problem subclassing Wx::Menu
Hi folks
I''m trying to make a class to make Wx::Menu easier for me to use and
hide the constants and event-binding complexity.
I''ve created a subclass of Wx::Menu, but whether I create my own
append() method and call super(), or create a differently-named method
and called append() from it, it seems to segfault. Sample attached, see
line 20. Am I doing something stupid?
2008 Jan 01
5
Compiling wxruby-1.9.2
Hi,
I''m trying to compile wxruby-1.9.2. This is my first time using rake.
All I get is the following:
(in /bld/lib/wxruby-1.9.2)
rake aborted!
can''t convert nil into String
/bld/lib/wxruby-1.9.2/rakefile:48
(See full trace by running task with --trace)
And with --trace:
(in /bld/lib/wxruby-1.9.2)
rake aborted!
can''t convert nil into
2006 Mar 02
5
Instiki and SQL Server??
Hello. I reeeeally want to get Instiki running at my day job, but they
are Microsoft-heads. While I can probably sell them on trying Rails,
they are definitely going to want the database to sit in our SQL Server
instance with our other databases. I can''t get instiki to create the
tables in sql server though (I''ve added ADO.rb, and gotten a
connection). When I run the
2006 Jun 16
6
rendering mathematical equations
Any recommendations on how I can get mathematical equations into my
resulting html? (Besides using x^2^ type markup.)
I figure I could parse out equation text from my main text before
RedCloth ever sees it... and then maybe create png''s somehow from it,
putting the links to them back into the main text before handing it
over to RC. But I don''t know of a util that will generate
2006 Feb 15
7
Ackbar - ActiveRecord Adapter for KirbyBase
= About Ackbar
Ackbar is an adapter for ActiveRecord (the Rails ORM layer) to the KirbyBase
pure-ruby plain-text DBMS. Because KirbyBase does not support SQL, joins or
transactions, this is not a 100% fit. There are some changes to the ActiveRecord
interface (see below), but it may still be useful in some cases.
= URIs
Ackbar: http://ackbar.rubyforge.org
KirbyBase:
2007 Dec 27
3
build problems
I am running on a redhat linux box. I could not use the binary package
because I do not have libXinerama, and installing it is a nightmare of
dependencies (and I am not root, so I can''t use the package manager).
So I am trying to install from source. I installed wxGTK-2.8.7. I
downloaded wxruby-1.9.2, and issued "rake", and got:
rake aborted!
WIN32 has been removed, use
2006 Aug 12
5
Windows build?
I performed a get on the CVS WxRuby2; I have installed wxWidgets 2.6.3 and
SWIG 1.3.29. Additionally I am running Visual Studio on Windows XP. When I
run rake to compile I receive the following error.
App.cpp
c:\wxWidgets-2.6.3/include\wx/platform.h(190) : fatal error C1083: Cannot
open include file: ''wx/setup.h'': No such file or directory
rake aborted!
Command failed with