Re: [Osalp-dev] installation problem
Status: Abandoned
                
                Brought to you by:
                
                    daservis
                    
                
            | 
      
      
      From: garbe n. <ga...@et...> - 2001-10-02 12:37:50
      
     | 
| Le Mardi 2 Octobre 2001 00:09, Bruce Forsberg a =E9crit : > Nicolas Garbe wrote: > > My name is nicolas garbe and I am trying to use the Open Source Audio > > Library Project beta VO.7.2.... > > So I downloaded osalp7.2 and I installed the library... > > I'm working on LINUX mandrake 8.0..... > > I tried to used the player's example but I couldn't compile..... > > there is an error message > > make > > g++ -g -Wall -fguiding-decls -I/usr/local/include/g++ -I/usr/include/= g++ > > -I/usr/include/X11 -I/usr/X11R6/include -I/usr/local/include > > -I/usr/local/include/aflib -I. -c gui.cc > > cc1plus: warning: -fguiding-decls is no longer supported > > gui.cc: In function `void gui_build (int, char **)': > > gui.cc:270: cannot convert `void (*) (_WidgetRec *, char *, > > XmScaleCallbackStruct *)' to `void (*) (_WidgetRec *, void *, void *)= ' > > for argument `3' to `XtAddCallback (_WidgetRec *, const char *, void > > (*) (_WidgetRec *, void *, void *), void *)' > > gui.cc:288: cannot convert `void (*) (_WidgetRec *, char *, > > XmScaleCallbackStruct *)' to `void (*) (_WidgetRec *, void *, void *)= ' > > for argument `3' to `XtAddCallback (_WidgetRec *, const char *, void > > (*) (_WidgetRec *, void *, void *), void *)' > > make: *** [gui.o] Erreur 1 > > > > Do you have any idea of what could be the problem ? > > Can you tell me what version of g++ you are using? You should > be able to do: > > g++ --version > > Also what Motif are you using. The offical version or lesstif? > > > Thanks, > Bruce Forsberg I cast the argument 3 with (void (*) (_WidgetRec *, void *, void *)) and it's good... What version of lesstif will be good for you....??? My lesstif's version is lesstif-0.93.9-1 and my gcc's version is 2.96 best regards , nicolas. |