Login   Register  
PHP Classes
elePHPant
Icontem

Error during setup

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      PHP Classes blog  >  ShishKabab PHP IDE  >  All threads  >  Error during setup  >  (Un) Subscribe thread alerts  
Subject:Error during setup
Summary:Error with setup
Messages:8
Author:svacant
Date:2009-09-21 19:43:54
Update:2009-09-30 19:07:58
 

  1. Error during setup   Reply   Report abuse  
Picture of svacant
svacant
2009-09-21 19:56:59
idgetItem’ was not declared in this scope
/home/svacant/skphpide-1.0b2/bin/moc_findinprojectresults.cpp:82: error: expected primary-expression before ‘)’ token
make[2]: *** [bin/CMakeFiles/skphpide.dir/skphpide_automoc.o] Errore 1
make[1]: *** [bin/CMakeFiles/skphpide.dir/all] Errore 2
make: *** [all] Errore 2
Failed compiling.

  2. Re: Error during setup   Reply   Report abuse  
Picture of Karol Janyst
Karol Janyst
2009-09-21 22:03:10 - In reply to message 1 from svacant
Try SVN version, compiles perfectly with no errors.

  3. Re: Error during setup   Reply   Report abuse  
Picture of Ciaran Kendellen
Ciaran Kendellen
2009-09-22 01:52:58 - In reply to message 2 from Karol Janyst
I to got an error on install (this *was* down loaded from svn trunk...)

/opt/skphpide/bin/moc_findinprojectresults.cpp:81: error: expected type-specifier before ‘QListWidgetItem’
/opt/skphpide/bin/moc_findinprojectresults.cpp:81: error: expected `>' before ‘QListWidgetItem’
/opt/skphpide/bin/moc_findinprojectresults.cpp:81: error: expected `(' before ‘QListWidgetItem’
/opt/skphpide/bin/moc_findinprojectresults.cpp:81: error: ‘QListWidgetItem’ was not declared in this scope
/opt/skphpide/bin/moc_findinprojectresults.cpp:81: error: expected primary-expression before ‘)’ token
make[2]: *** [bin/CMakeFiles/skphpide.dir/skphpide_automoc.o] Error 1
make[1]: *** [bin/CMakeFiles/skphpide.dir/all] Error 2
make: *** [all] Error 2
Failed compiling.

  4. Re: Error during setup   Reply   Report abuse  
Picture of Vincent den Boer
Vincent den Boer
2009-09-22 08:34:36 - In reply to message 3 from Ciaran Kendellen
I've made a commit that could fix the problem (the problem doesn't occur on my PC, but I've had errors like this on other machines before). Just do a 'svn up' and everything should be fine.

  5. Re: Error during setup   Reply   Report abuse  
Picture of Ciaran Kendellen
Ciaran Kendellen
2009-09-22 09:08:47 - In reply to message 4 from Vincent den Boer
Many thanks for the prompt response. Still no joy though :(

Am adding the entire output here, in case it helps, sorry - for the hassle I just have been looking for something effective and lightweight for a LONG time and actually got quite excited about this when I saw the news :)

-- Found Qt-Version 4.4.3 (using /usr/bin/qmake)
-- Found X11: /usr/lib64/libX11.so
-- Found Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl
-- Found KDE 4.1 include dir: /usr/include
-- Found KDE 4.1 library dir: /usr/lib64
-- Found KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/skphpide
[ 2%] Building CXX object bin/CMakeFiles/skphpide.dir/skphpide_automoc.o
In file included from /usr/include/KDE/KFileTreeView:1,
from /opt/skphpide/bin/../src/findinprojectdialog.h:19,
from /opt/skphpide/bin/moc_findinprojectdialog.cpp:10,
from /opt/skphpide/bin/skphpide_automoc.cpp:5:
/usr/include/QtGui/qtreeview.h:213: warning: ‘virtual void QTreeView::currentChanged(const QModelIndex&, const QModelIndex&)’ was hidden
/usr/include/KDE/../kfiletreeview.h:104: warning: by ‘void KFileTreeView::currentChanged(const KUrl&)’
In file included from /opt/skphpide/bin/moc_findinprojectresults.cpp:10,
from /opt/skphpide/bin/skphpide_automoc.cpp:8:
/opt/skphpide/bin/../src/widgets/findinprojectresults.h:28: error: ‘QListWidgetItem’ has not been declared
In file included from /opt/skphpide/bin/skphpide_automoc.cpp:8:
/opt/skphpide/bin/moc_findinprojectresults.cpp: In member function ‘virtual int FindInProjectResults::qt_metacall(QMetaObject::Call, int, void**)’:
/opt/skphpide/bin/moc_findinprojectresults.cpp:81: error: expected type-specifier before ‘QListWidgetItem’
/opt/skphpide/bin/moc_findinprojectresults.cpp:81: error: expected `>' before ‘QListWidgetItem’
/opt/skphpide/bin/moc_findinprojectresults.cpp:81: error: expected `(' before ‘QListWidgetItem’
/opt/skphpide/bin/moc_findinprojectresults.cpp:81: error: ‘QListWidgetItem’ was not declared in this scope
/opt/skphpide/bin/moc_findinprojectresults.cpp:81: error: expected primary-expression before ‘)’ token
make[2]: *** [bin/CMakeFiles/skphpide.dir/skphpide_automoc.o] Error 1
make[1]: *** [bin/CMakeFiles/skphpide.dir/all] Error 2
make: *** [all] Error 2
Failed compiling.

  6. Re: Error during setup   Reply   Report abuse  
Picture of Vincent den Boer
Vincent den Boer
2009-09-22 18:47:57 - In reply to message 5 from Ciaran Kendellen
Hmm... The only thing that I can think of is that there are are cached moc files lying around. You could try deleting the entire skphpie dir and check out a fresh copy so all caches are clean.

The differences between distros can be quite difficult to cope with. Speaking of which, which distro are you using?

  7. Re: Error during setup   Reply   Report abuse  
Picture of Vincent den Boer
Vincent den Boer
2009-09-24 18:54:36 - In reply to message 6 from Vincent den Boer
Someone contacted me who was having the same problems using Arch Linux. We've managed to solve the problem.

  8. Re: Error during setup   Reply   Report abuse  
Picture of Ciaran Kendellen
Ciaran Kendellen
2009-09-30 19:07:58 - In reply to message 7 from Vincent den Boer
Hello there,

Firstly my apologies for the delay in getting back to you - I DO appreciate your assistance, I was away for a few days...

That last update did the trick and I'm now officially a "Shish-Kebaber" :)

On first impressions it seems to do for php development what git did for software repos, the function/class detection seems to require a little work (on some scripts it only detected the first function - possible due to the use of RECORD?), but will keep checking back for updates!

Many thanks and sincere regards...