wxruby-dev
[Top][All Lists]
Advanced

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

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


From: Gour
Subject: Rer [Wxruby-dev] Building on OS X...SUCCESS!
Date: Thu, 3 Jul 2003 17:03:00 +0200
User-agent: Mutt/1.4i

Reply-To: Gour <address@hidden>
In-Reply-To: <address@hidden>

Kevin Smith (address@hidden) wrote:

> I believe the API is pretty stable, and most features that have been
> implemented seem to work pretty well. We have lots of little sample
> programs available. We just haven't released a package, so you'll have
> to pull the source from CVS and build it yourself.

OK. I did it.

> 
> I would LOVE to get feedback from other Linux developers.

I'm not really Linux developer, but here is my attempt:

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 *'
app.cpp: In function `static void WxApp::SetAppName(long unsigned int, long 
unsigned int)':
app.cpp:165: conversion from `char *' to non-scalar type `wxString' requested
app.cpp: In function `static VALUE WxApp::GetClassName(long unsigned int)':
app.cpp:173: cannot convert `wxString()' from type `wxString' to type `const 
char *'
app.cpp: In function `static void WxApp::SetClassName(long unsigned int, long 
unsigned int)':
app.cpp:178: conversion from `char *' to non-scalar type `wxString' requested
app.cpp: In function `static VALUE WxApp::GetVendorName(long unsigned int)':
app.cpp:186: cannot convert `pCppSelf->wxAppBase::GetVendorName()' from type 
`const wxString' to type `const char *'
app.cpp: In function `static void WxApp::SetVendorName(long unsigned int, long 
unsigned int)':
app.cpp:191: conversion from `char *' to non-scalar type `wxString' requested
make: *** [app.o] Error 1


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)
address@hidden:~>

address@hidden:~> ruby -v
ruby 1.8.0 (2003-06-23) [i686-linux]
address@hidden:~>

Any hint how to proceed?

Sincerely,
Gour

-- 
Gour
address@hidden
Registered Linux User #278493





reply via email to

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