[fxruby-users] Build error: Debian testing, libfox1.4, FXRuby-1.4.7
Lyle Johnson
lyle at knology.net
Sat Oct 14 08:47:54 EDT 2006
On Oct 13, 2006, at 10:30 PM, Wayne Conrad wrote:
> I'm getting compile errors when attempting to build FXRuby 1.4.7.
> This happens when installing using gems, or when installing from
> source:
>
> g++ -I. -I. -I/usr/lib/ruby/1.8/i486-linux -I/home/wayne/lab/fox/
> FXRuby-1.4.7/ext/fox14 -DHAVE_SYS_TIME_H -DHAVE_SIGNAL_H -I/usr/
> local/include/fxscintilla -I/usr/local/include/fox-1.4 -I/usr/
> include/fox-1.4 -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC -O0 -
> Iinclude -c fx3d_wrap.cpp
> fx3d_wrap.cpp: In function 'FX::FXVec3f FXVec3f_normal(const
> FX::FXVec3f&, const FX::FXVec3f&, const FX::FXVec3f&)':
> fx3d_wrap.cpp:705: error: no matching function for call to 'normal
> (const FX::FXVec3f&, const FX::FXVec3f&, const FX::FXVec3f&)'
> fx3d_wrap.cpp: In function 'FX::FXVec3f FXVec3f_normal(const
> FX::FXVec3f&, const FX::FXVec3f&, const FX::FXVec3f&, const
> FX::FXVec3f&)':
> fx3d_wrap.cpp:708: error: no matching function for call to 'normal
> (const FX::FXVec3f&, const FX::FXVec3f&, const FX::FXVec3f&, const
> FX::FXVec3f&)'
> ...
>
> My environment:
>
> Debian testing
> Ruby 1.8.2-1
> Fox 1.4, from Debian packages libfox1.4 and libfox1.4-dev
> (package versions 1.4.31-2+b1)
>
> Any idea what's up?
Well, I guess for starters, can you confirm that Debian installs the
FOX include files into either /usr/local/include/fox-1.4 or /usr/
include/fox-1.4? I think the compiler is in fact seeing the include
files, but I just wanted to rule out that possibility up front.
I'm also wondering if it has to do with the "friend injection" change
made in GCC 4.1, which I know broke some earlier versions of FOX.
Jeroen put a patch in FOX 1.4.32 to address this problem. Do you know
which version of FOX Debian is using for their libfox1.4 packages?
More information about the fxruby-users
mailing list