Well,
I ended up staying up to look at this. I did got it to compile by
adding the following in before each line:
wxString item(STR2CSTR(str),wxConvUTF8);
Then replacing the requisite parts with ''item''
Roy Sutton wrote:
> The latest tarball won''t compile on Windows:
>
> src/Functions.cpp(582) : error C2664: ''wxLogWarning'' :
cannot convert
> parameter 1 from ''const class wxWCharBuffer'' to
''const char *''
> No user-defined-conversion operator available that can perform
> this conversion, or the operator cannot be called
> src/Functions.cpp(592) : error C2665: ''wxLogStatus'' :
none of the 2
> overloads can convert parameter 1 from type ''class wxFrame
*''
> src/Functions.cpp(596) : error C2665: ''wxLogStatus'' :
none of the 2
> overloads can convert parameter 1 from type ''const class
wxWCharBuffer''
> src/Functions.cpp(606) : error C2664: ''wxLogWarning'' :
cannot convert
> parameter 1 from ''const class wxWCharBuffer'' to
''const char *''
> No user-defined-conversion operator available that can perform
> this conversion, or the operator cannot be called
> src/Functions.cpp(614) : error C2664: ''wxLogError'' :
cannot convert
> parameter 1 from ''const class wxWCharBuffer'' to
''const char *''
> No user-defined-conversion operator available that can perform
> this conversion, or the operator cannot be called
> Exception `RuntimeError'' at
> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.5.4/lib/rake.rb:485 - Command
> failed with status (2): [cl.exe -c -IC:\RubyDev\wxWidgets-2.6.1/inc...]
> rake aborted!
> Command failed with status (2): [cl.exe -c
> -IC:\RubyDev\wxWidgets-2.6.1/inc...]
>
> [Clean install this time. :)] I was on my way to sleep when I saw the
> e-mails so I thought I''d try a compile. Sorry I have no fixes for
this.
>
> _______________________________________________
> wxruby-users mailing list
> wxruby-users@rubyforge.org
> http://rubyforge.org/mailman/listinfo/wxruby-users
>
>
>