wxruby-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rer [Wxruby-dev] Building on OS X...SUCCESS!


From: Kevin Smith
Subject: Re: Rer [Wxruby-dev] Building on OS X...SUCCESS!
Date: 03 Jul 2003 20:59:11 -0700

On Thu, 2003-07-03 at 08:03, Gour wrote:
> Kevin Smith (address@hidden) wrote:
> > I would LOVE to get feedback from other Linux developers.
> 
> I'm not really Linux developer, but here is my attempt:

But I only wanted POSITIVE feedback.

Just kidding!!! I'm very happy that you tried it, and reported the
problem. :-)

> address@hidden:~/cvs/wxruby/src> make
> g++ -fPIC -g -O2 `wx-config --cxxflags`  -I. 
> -I/usr/local/lib/ruby/1.8/i686-linux -I/usr/local/lib/ruby/1.8/i686-linux -I. 
>   -c app.cpp
> app.cpp: In function `static VALUE WxApp::init(long unsigned int)':
> app.cpp:126: no matching function for call to `wxAppWithCallbacks::SetAppName 
> (const char[7])'
> /usr/local/include/wx/app.h:207: candidates are: void 
> wxAppBase::SetAppName(const wxString &)
> app.cpp: In function `static VALUE WxApp::GetAppName(long unsigned int)':
> app.cpp:160: cannot convert `wxString()' from type `wxString' to type `const 
> char *'

Ok. Clearly your system is using a different wxString than mine. I'm
using wxWindows 2.4. What version are you using?

> address@hidden:~> gcc -v
> Reading specs from /usr/lib/gcc-lib/i486-suse-linux/2.95.3/specs
> gcc version 2.95.3 20010315 (SuSE)

I'm using gcc 3.3, but I tried compiling app.cpp with gcc 2.95 and it
worked fine on my system. So I think this is fine.

Thanks again,

Kevin






reply via email to

[Prev in Thread] Current Thread [Next in Thread]