Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#5 Problems in Compiling

Version_3
closed-rejected
Johan Rossouw
5
2001-07-11
2001-03-21
Anonymous
No

Hello,

I tried to compile the vipec-3.0.0 and I got the
following error message.

--------------------------------------------
moc ../include/MainWindow.h -o moc_MainWindow.cpp
g++ -c -pipe -Wall -W -DQT_FATAL_ASSERT -I../include
-I/usr/src/packages/BUILD/qt-2.2.2/include -o
moc_MainWindow.o moc_MainWindow.cpp
moc_MainWindow.cpp:45: new declaration `static void
MainWindow::staticMetaObject()'
../include/MainWindow.h:53: ambiguates old declaration
`static class QMetaObject *
MainWindow::staticMetaObject()'
moc_MainWindow.cpp: In function `void
__static_initialization_and_destruction_0(int, int)':
moc_MainWindow.cpp:29: no matching function for call to
`QMetaObjectInit::QMetaObjectInit (QMetaObject *
(*)())'
/usr/src/packages/BUILD/qt-2.2.2/include/qmetaobject.h:259:
candidates are: QMetaObjectInit::QMetaObjectInit(void
(*)())
/usr/src/packages/BUILD/qt-2.2.2/include/qmetaobject.h:261:
QMetaObjectInit::QMetaObjectInit(const QMetaObjectInit
&)
make[1]: *** [moc_MainWindow.o] Error 1
make[1]: Leaving directory
`/usr/src/packages/SOURCES/vipec-3.0.0/src'
make: *** [src] Error 2

-------------------------------------------

I'm new to this so there is a posibility I made a
mistake. Either way I thought you 'd be interested.

Thank you.

Discussion

  • Johan Rossouw
    Johan Rossouw
    2001-07-11

    • labels: --> Compile problems
    • milestone: --> Version_3
    • assigned_to: nobody --> johanrossouw
    • status: open --> closed-rejected
     
  • Johan Rossouw
    Johan Rossouw
    2001-07-11

    Logged In: YES
    user_id=147452

    Could not reproduce. Think it is a compiler problem. Try
    upgrading to the latest version of the GNU compiler.