Displaying 20 results from an estimated 300 matches similar to: "Build problem with ruby-1.9.1-preview1"
2009 Nov 05
17
installing wxruby 2.0.1. missing lwx_gtk2u_media-2.8
Hi,
i tried too install wxruby-2.0.1 on opensuse 11.2 from the rake command
I get the following error:
...
usr/lib/gcc/i586-suse-linux/4.4/../../../../i586-suse-linux/bin/ld:
cannot find -lwx_gtk2u_media-2.8
collect2: ld returned 1 exit status
rake aborted!
Command failed with status (1): [g++ -shared -fPIC -o -L. -rdynamic
-Wl,-...]
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:995:in
2009 Aug 05
1
Re: mingw32 library compatibility
Hi Fabio
Fabio Petrucci wrote:
> is the mingw32 wxruby distribution
> http://rubyforge.org/frs/download.php/52487/wxruby-ruby19-2.0.0-x86-mingw32.gem
> compatible with
> mingw32 ruby 1.9.1 installer provided by Luis Lavena
> http://rubyinstaller.org/downloads/ ?
I think it is - I believe that''s the MingW-ruby19 distribution that''s
used to build wxruby-2.0.0
2009 May 26
4
Unable to use wxruby-ruby19 in Ruby 1.9.1-p129 on Windows
Hello,
I''m using wxRuby as my favourite GUI toolkit with Ruby 1.9. But after I
updated my Ruby installation from Ruby 1.9.1-p0 to Ruby 1.9.1-p129, I
cannot do a require "wx" anymore. Every time I try I get an error that
says that Windows isn''t able to find some procedure. I have a German
Windows XP installation, so I don''t know the English equivalent of this
2007 Sep 20
3
Bug? in wxSugar enumerable_controls.rb
Hi,
I wanted to use wxSugar enumerable features to add a method for
returning checked items'' index to the CheckListBox class :
require ''wx_sugar/version''
require ''wx_sugar/wx_classes/control_with_items''
require ''wx_sugar/wx_classes/listctrl''
class Wx::CheckListBox
def checked_items
# use of find_all method from Enumerable
2007 Oct 09
17
Crash when using item data with a CheckListBox
Hi,
The following code works as expected with a list box.
require "wx"
class HelloWorld < Wx::App
def on_init
helloframe = Wx::Frame.new(nil, "Hello World")
choices = ["one", "two", "three", "four", "five"]
data = ["data1", "data2", "data3", "data4", "data5"]
2007 Oct 09
17
Crash when using item data with a CheckListBox
Hi,
The following code works as expected with a list box.
require "wx"
class HelloWorld < Wx::App
def on_init
helloframe = Wx::Frame.new(nil, "Hello World")
choices = ["one", "two", "three", "four", "five"]
data = ["data1", "data2", "data3", "data4", "data5"]
2007 Oct 09
3
Trouble with dialog based application
Hi,
A long time ago, I made some MFC GUI programming ...
There was basically 2 kinds of application :
- dialog based application : a simple app based on a dialog (without
menu, toolbar, status bar ...)
- frame based app (Single Document or Multiple Document) with menu,
toolbar, status bar ...
I tried to make a dialog based app with wxRuby but the application
never exits !!
The following code
2010 Jan 28
5
Compiling problem on Ubuntu 9.10 64 bit
Hello,
I''m trying to compile wxruby for Ruby 1.9 on Ubuntu Karmic 64 bit, but I
can''t get it to work. I''ve already done this for the 32 bit version (on
another machine, of course), so I don''t see where''s the problem with
that. I thought, I had all neccessary libraries installed, but maybe you
know better... After compiling for a long time, rake fails
2008 Mar 18
14
Proposal for an improved API for Sizer (and ToolBar)
Hi all,
This is a proposal for supporting keyword arguments to Sizer#add
following the thread below :
http://rubyforge.org/pipermail/wxruby-development/2008-March/001244.html
After a deeper look at lib/wx/keyword_ctors.rb and
lib/wx/keyword_defs.rb, I understood the whole thing :-).
I just reused and modified slightly the method args_as_list.
The new Sizer#add_item combines the features of add
2007 Sep 27
10
Adding more sugar to wxSugar
Hi all,
New wxRuby event handling offers the choice between using blocks or
methods seamlessly and easily. This is great respectively for simple
app and more complex app.
Nevertheless, currently the creation of an application, a frame, or a
dialog is very tedious for simple app :
- you need to create a subclass of Wx::App, Wx::Frame ...
- you need to put the initialization code in the initialize
2009 Jan 05
8
How to use evt_update_ui wrt RichTextCtrl ?
Hi,
I''m trying to create a very simple RichTextCtrl sample based on the C++ version.
This works pretty well now with the fixes for missing
RichTextCtrl.selection_bold? ... methods.
See the attached script.
Given the formatting buttons (bold, italics, underlined), I can type
text with the proper formatting, select some text and apply a
formatting later ...
The problem I have is I
2009 Jan 05
8
How to use evt_update_ui wrt RichTextCtrl ?
Hi,
I''m trying to create a very simple RichTextCtrl sample based on the C++ version.
This works pretty well now with the fixes for missing
RichTextCtrl.selection_bold? ... methods.
See the attached script.
Given the formatting buttons (bold, italics, underlined), I can type
text with the proper formatting, select some text and apply a
formatting later ...
The problem I have is I
2007 Sep 17
7
Re : syntax II
Alex Fenton wrote :
>1) Setting up event handlers
>
>In most real apps, I think the most normal way to set up event handlers
>is for the event to be dealt with by a corresponding method. At the
>moment this has to be done using a block:
>
>evt_button(AN_ID) { on_button_click }
>evt_button(my_button.get_id) do | event |
> on_button_click(event)
>end
>evt_size { |
2009 Nov 12
1
[ win32utils-Bugs-27425 ] win32-open3 doesn't build with 1.9.1
Bugs item #27425, was opened at 2009-11-11 21:15
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=27425&group_id=85
Category: win32-open3
Group: Code
Status: Open
Resolution: None
Priority: 3
Submitted By: Daniel Berger (djberg96)
Assigned to: Nobody (None)
Summary: win32-open3 doesn''t build with 1.9.1
Initial Comment:
Windows XP
VC++ 9
2007 Sep 20
7
Troubles with ListBox and CheckListBox events
Hi all,
Here is an excerpt of code (with the new syntax from upcoming wxRuby 1.9.2) :
evt_checklistbox(my_checklist, :on_checklistbox)
evt_listbox(my_checklist, :on_listbox)
evt_listbox(my_list, :on_listbox)
def on_checklistbox(event)
checklist = event.event_object
# puts "listbox - event : item[#{event.int}] checked : #{event.checked?}"
puts "listbox -
2007 Sep 15
2
wxRuby 1.9.1 and id accessor consistency problem
Hi all,
wxRuby 1.9.1 introduced great Rubish style accessors (x.label as a synonym
for x.get_label).
I just found that get_id has no corresponding Rubish style id accessor.
For a CheckListBox or a StaticText (I haven''t checked for other kind of
controls), id just returns the Ruby object_id.
This is very confusing and not consistent with other accessors.
Chauk-Mean.
2008 Feb 27
2
Missing evt_tree_item_menu method for TreeCtrl ?
Hi,
The documentation mentions the evt_tree_item_menu method for TreeCtrl
but it seems that this method is not defined (wxRuby 1.9.4 on
Windows).
As a workaround, I''m currently using evt_tree_item_right_click.
Cheers.
Chauk-Mean.
2009 Sep 03
24
wxRuby-2.0.1 release ?
Hi,
What about releasing a new version shortly ?
This is a long-awaited request from several users especially for
recent ruby-1.9.1 versions on MinGW.
Cheers.
Chauk-Mean.
2012 Dec 18
3
[LLVMdev] Can't compile Dragonegg
Hi,
I'm trying to compile release 3.2 of DragonEgg (checked out from
http://llvm.org/svn/llvm-project/dragonegg/branches/release_32. I'm at
revision 170458), under Ubuntu (Ubuntu 12.04.1 LTS (GNU/Linux
2.6.39-gcg-20121018 x86_64)) and I get the following error.
tmroeder at myubuntu:~/src/dragonegg$ make
Compiling utils/TargetInfo.cpp
Linking TargetInfo
Compiling Aliasing.cpp
2007 Oct 23
3
CheckListBox : delete method bug !
Hi,
I''ve practically finished a patch for removing the limitation of
CheckListBox (http://rubyforge.org/pipermail/wxruby-development/2007-October/000973.html)
but I just discovered a new bug related with this control !!
I need to redefine the delete method to take into account the deletion
of the associated data. The problem is that if I just redefine this
method and simply call super,