Gambas3 erreur compilation

View: New views
6 Messages — Rating Filter:   Alert me  

Gambas3 erreur compilation

by Gaël Le Hec'H :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

bonjour,

Depuis la revision 2091 j'ai cette erreur à la compilation :

In file included from CDrawingArea_moc.cpp:10:
CDrawingArea.h:53: error: expected class-name before '{' token
CDrawingArea.h: In member function 'bool MyDrawingArea::isAllowFocus()':
CDrawingArea.h:84: error: 'focusPolicy' was not declared in this scope
CDrawingArea_moc.cpp: At global scope:
CDrawingArea_moc.cpp:39: error: 'QFrame' has not been declared
CDrawingArea_moc.cpp: In member function 'virtual void* MyDrawingArea::qt_metacast(const char*)':
CDrawingArea_moc.cpp:53: error: 'QFrame' has not been declared
CDrawingArea_moc.cpp: In member function 'virtual int MyDrawingArea::qt_metacall(QMetaObject::Call, int, void**)':
CDrawingArea_moc.cpp:58: error: 'QFrame' has not been declared
make[5]: *** [gb_qt4_la-CDrawingArea_moc.lo] Error 1
make[5]: Leaving directory `/home/gael.lehech/Sources/c++/gambas3/gb.qt4/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/gael.lehech/Sources/c++/gambas3/gb.qt4/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/gael.lehech/Sources/c++/gambas3/gb.qt4'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/gael.lehech/Sources/c++/gambas3/gb.qt4'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gael.lehech/Sources/c++/gambas3'
make: *** [all] Error 2

Pb sur Fedora 10 / Qt-4.5.1 / Gcc-4.3.2 ou slackware-12.2 / Qt 4.5.2 / Gcc-4.2.4

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Gambas-user-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr

Re: Gambas3 erreur compilation

by Benoît Minisini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> bonjour,
>
> Depuis la revision 2091 j'ai cette erreur à la compilation :
>
> In file included from CDrawingArea_moc.cpp:10:
> CDrawingArea.h:53: error: expected class-name before '{' token
> CDrawingArea.h: In member function 'bool MyDrawingArea::isAllowFocus()':
> CDrawingArea.h:84: error: 'focusPolicy' was not declared in this scope
> CDrawingArea_moc.cpp: At global scope:
> CDrawingArea_moc.cpp:39: error: 'QFrame' has not been declared
> CDrawingArea_moc.cpp: In member function 'virtual void*
> MyDrawingArea::qt_metacast(const char*)':
> CDrawingArea_moc.cpp:53: error: 'QFrame' has not been declared
> CDrawingArea_moc.cpp: In member function 'virtual int
> MyDrawingArea::qt_metacall(QMetaObject::Call, int, void**)':
> CDrawingArea_moc.cpp:58: error: 'QFrame' has not been declared
> make[5]: *** [gb_qt4_la-CDrawingArea_moc.lo] Error 1
> make[5]: Leaving directory
> `/home/gael.lehech/Sources/c++/gambas3/gb.qt4/src'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory
> `/home/gael.lehech/Sources/c++/gambas3/gb.qt4/src'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/gael.lehech/Sources/c++/gambas3/gb.qt4'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/gael.lehech/Sources/c++/gambas3/gb.qt4'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/gael.lehech/Sources/c++/gambas3'
> make: *** [all] Error 2
>
> Pb sur Fedora 10 / Qt-4.5.1 / Gcc-4.3.2 ou slackware-12.2 / Qt 4.5.2 /
> Gcc-4.2.4

Il faut passer à la dernière révision.

--
Benoît

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Gambas-user-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr

Re: Gambas3 erreur compilation

by Laurent Carlier-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Le vendredi 10 juillet 2009 14:13:29 Benoît Minisini, vous avez écrit :

> > bonjour,
> >
> > Depuis la revision 2091 j'ai cette erreur à la compilation :
> >
> > In file included from CDrawingArea_moc.cpp:10:
> > CDrawingArea.h:53: error: expected class-name before '{' token
> > CDrawingArea.h: In member function 'bool MyDrawingArea::isAllowFocus()':
> > CDrawingArea.h:84: error: 'focusPolicy' was not declared in this scope
> > CDrawingArea_moc.cpp: At global scope:
> > CDrawingArea_moc.cpp:39: error: 'QFrame' has not been declared
> > CDrawingArea_moc.cpp: In member function 'virtual void*
> > MyDrawingArea::qt_metacast(const char*)':
> > CDrawingArea_moc.cpp:53: error: 'QFrame' has not been declared
> > CDrawingArea_moc.cpp: In member function 'virtual int
> > MyDrawingArea::qt_metacall(QMetaObject::Call, int, void**)':
> > CDrawingArea_moc.cpp:58: error: 'QFrame' has not been declared
> > make[5]: *** [gb_qt4_la-CDrawingArea_moc.lo] Error 1
> > make[5]: Leaving directory
> > `/home/gael.lehech/Sources/c++/gambas3/gb.qt4/src'
> > make[4]: *** [all-recursive] Error 1
> > make[4]: Leaving directory
> > `/home/gael.lehech/Sources/c++/gambas3/gb.qt4/src'
> > make[3]: *** [all-recursive] Error 1
> > make[3]: Leaving directory `/home/gael.lehech/Sources/c++/gambas3/gb.qt4'
> > make[2]: *** [all] Error 2
> > make[2]: Leaving directory `/home/gael.lehech/Sources/c++/gambas3/gb.qt4'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/home/gael.lehech/Sources/c++/gambas3'
> > make: *** [all] Error 2
> >
> > Pb sur Fedora 10 / Qt-4.5.1 / Gcc-4.3.2 ou slackware-12.2 / Qt 4.5.2 /
> > Gcc-4.2.4
>
> Il faut passer à la dernière révision.

Problème identique, je viens de le corriger, ça doit venir de Qt 4.5.2 (chez
moi) m'enfin je poste le correctif sur le dépôt.

:-p


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Gambas-user-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr

Re: Gambas3 erreur compilation

by Benoît Minisini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Le vendredi 10 juillet 2009 14:13:29 Benoît Minisini, vous avez écrit :
> > > bonjour,
> > >
> > > Depuis la revision 2091 j'ai cette erreur à la compilation :
> > >
> > > In file included from CDrawingArea_moc.cpp:10:
> > > CDrawingArea.h:53: error: expected class-name before '{' token
> > > CDrawingArea.h: In member function 'bool
> > > MyDrawingArea::isAllowFocus()': CDrawingArea.h:84: error: 'focusPolicy'
> > > was not declared in this scope CDrawingArea_moc.cpp: At global scope:
> > > CDrawingArea_moc.cpp:39: error: 'QFrame' has not been declared
> > > CDrawingArea_moc.cpp: In member function 'virtual void*
> > > MyDrawingArea::qt_metacast(const char*)':
> > > CDrawingArea_moc.cpp:53: error: 'QFrame' has not been declared
> > > CDrawingArea_moc.cpp: In member function 'virtual int
> > > MyDrawingArea::qt_metacall(QMetaObject::Call, int, void**)':
> > > CDrawingArea_moc.cpp:58: error: 'QFrame' has not been declared
> > > make[5]: *** [gb_qt4_la-CDrawingArea_moc.lo] Error 1
> > > make[5]: Leaving directory
> > > `/home/gael.lehech/Sources/c++/gambas3/gb.qt4/src'
> > > make[4]: *** [all-recursive] Error 1
> > > make[4]: Leaving directory
> > > `/home/gael.lehech/Sources/c++/gambas3/gb.qt4/src'
> > > make[3]: *** [all-recursive] Error 1
> > > make[3]: Leaving directory
> > > `/home/gael.lehech/Sources/c++/gambas3/gb.qt4' make[2]: *** [all] Error
> > > 2
> > > make[2]: Leaving directory
> > > `/home/gael.lehech/Sources/c++/gambas3/gb.qt4' make[1]: ***
> > > [all-recursive] Error 1
> > > make[1]: Leaving directory `/home/gael.lehech/Sources/c++/gambas3'
> > > make: *** [all] Error 2
> > >
> > > Pb sur Fedora 10 / Qt-4.5.1 / Gcc-4.3.2 ou slackware-12.2 / Qt 4.5.2 /
> > > Gcc-4.2.4
> >
> > Il faut passer à la dernière révision.
>
> Problème identique, je viens de le corriger, ça doit venir de Qt 4.5.2
> (chez moi) m'enfin je poste le correctif sur le dépôt.
>
> :-p
>

C'est moi qui ait oublié de committer: attends, je vais le faire...

--
Benoît

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Gambas-user-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr

Re: Gambas3 erreur compilation

by Laurent Carlier-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Le vendredi 10 juillet 2009 14:38:38 Benoît Minisini, vous avez écrit :

> > Le vendredi 10 juillet 2009 14:13:29 Benoît Minisini, vous avez écrit :
> > > > bonjour,
> > > >
> > > > Depuis la revision 2091 j'ai cette erreur à la compilation :
> > > >
> > > > In file included from CDrawingArea_moc.cpp:10:
> > > > CDrawingArea.h:53: error: expected class-name before '{' token
> > > > CDrawingArea.h: In member function 'bool
> > > > MyDrawingArea::isAllowFocus()': CDrawingArea.h:84: error:
> > > > 'focusPolicy' was not declared in this scope CDrawingArea_moc.cpp: At
> > > > global scope: CDrawingArea_moc.cpp:39: error: 'QFrame' has not been
> > > > declared CDrawingArea_moc.cpp: In member function 'virtual void*
> > > > MyDrawingArea::qt_metacast(const char*)':
> > > > CDrawingArea_moc.cpp:53: error: 'QFrame' has not been declared
> > > > CDrawingArea_moc.cpp: In member function 'virtual int
> > > > MyDrawingArea::qt_metacall(QMetaObject::Call, int, void**)':
> > > > CDrawingArea_moc.cpp:58: error: 'QFrame' has not been declared
> > > > make[5]: *** [gb_qt4_la-CDrawingArea_moc.lo] Error 1
> > > > make[5]: Leaving directory
> > > > `/home/gael.lehech/Sources/c++/gambas3/gb.qt4/src'
> > > > make[4]: *** [all-recursive] Error 1
> > > > make[4]: Leaving directory
> > > > `/home/gael.lehech/Sources/c++/gambas3/gb.qt4/src'
> > > > make[3]: *** [all-recursive] Error 1
> > > > make[3]: Leaving directory
> > > > `/home/gael.lehech/Sources/c++/gambas3/gb.qt4' make[2]: *** [all]
> > > > Error 2
> > > > make[2]: Leaving directory
> > > > `/home/gael.lehech/Sources/c++/gambas3/gb.qt4' make[1]: ***
> > > > [all-recursive] Error 1
> > > > make[1]: Leaving directory `/home/gael.lehech/Sources/c++/gambas3'
> > > > make: *** [all] Error 2
> > > >
> > > > Pb sur Fedora 10 / Qt-4.5.1 / Gcc-4.3.2 ou slackware-12.2 / Qt 4.5.2
> > > > / Gcc-4.2.4
> > >
> > > Il faut passer à la dernière révision.
> >
> > Problème identique, je viens de le corriger, ça doit venir de Qt 4.5.2
> > (chez moi) m'enfin je poste le correctif sur le dépôt.
> >
> > :-p
>
> C'est moi qui ait oublié de committer: attends, je vais le faire...

Trop tard :-p


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Gambas-user-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr

Re: Gambas3 erreur compilation

by Gaël Le Hec'h-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

c'est ok pour Fedora 10 (Qt-4.5.1) j'essaierais ce soir sur slackware-12.2
Merci

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Gambas-user-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr