Those look like the errors I was getting, apply the patch I sent
earlier today in the message ''More wxruby-swig changes'' and
you should
be able to compile correctly. I use OS X 10.4 and wx 2.6.1 but I bet
it will work. Or you can just wait for Kevin to apply the patch to
HEAD.
Sean
On 7/20/05, Alex Fenton <alex@pressure.to> wrote:> Hi
>
> I''m getting a build error with the current cvs HEAD of
wxruby-swig. Perh
> something to do with the unicode changes?
>
> OS X 10.3
> WxMAC 2.6.0
> ruby 1.8.2
>
> thanks
> alex
>
> g++ -c -I/usr/local/lib/wx/include/mac-ansi-release-static-2.6
> -I/usr/local/include/wx-2.6 -D__WXMAC__ -D_FILE_OFFSET_BITS=64
> -D_LARGE_FILES -DNO_GCC_PRAGMA -O2 -fno-common -pipe -fno-common -x
> objective-c++ -I
> /Applications/Emacs.app/Contents/Resources/lib/ruby/site_ruby -I
> /usr/local/lib/ruby/site_ruby/1.8 -I
> /usr/local/lib/ruby/site_ruby/1.8/powerpc-darwin7.5.0 -I
> /usr/local/lib/ruby/site_ruby -I /usr/local/lib/ruby/1.8 -I
> /usr/local/lib/ruby/1.8/powerpc-darwin7.5.0 -I . -o obj/FileDialog.o
> src/FileDialog.cpp
> src/FileDialog.cpp: In function `VALUE _wrap_wxFileDialog_GetFilenames(int,
> VALUE*, long unsigned int)'':
> src/FileDialog.cpp:923: error: conversion from `const
wxWCharBuffer'' to
> non-scalar type `wxString'' requested
> src/FileDialog.cpp: In function `VALUE _wrap_wxFileDialog_GetPaths(int,
> VALUE*,
> long unsigned int)'':
> src/FileDialog.cpp:1007: error: conversion from `const
wxWCharBuffer'' to
> non-scalar type `wxString'' requested
> rake aborted!
> _______________________________________________
> wxruby-users mailing list
> wxruby-users@rubyforge.org
> http://rubyforge.org/mailman/listinfo/wxruby-users
>