Hello, I'm new to this site, first post. I have found this site most helpful in my Fedora 13 installation. I'm an intermediate Linux user, recently switched from Windows. Any help would be greatly appreciated.
I'm trying to compile a beta MIPS simulator application built on the Qt UI framework, called QtSpim. It's been quite a learning experience for me so far, but I've run into a roadblock. The beta can be downloaded from here:
http://pages.cs.wisc.edu/~larus/spim.html (look in the column on the right).
I first had trouble finding qmake, then found out that I could use qmake-qt4. Since I saw that it already had a Makefile, make resulted in
Code:
Makefile:66: *** multiple target patterns. Stop.
For some reason I was thinking that the developer was using Windows, so I decided to make another Makefile. Ran qmake-qt4 -project, and qmake-qt4 QtSpim.pro ok, then the first error lines of make yielded
Code:
error: spim.h: No such file or directory
, same for several files. I then copied said files from the CPU directory to the current. Then the first error lines of make gave many errors similar to the following:
Code:
In file included from /usr/include/QtCore/qobjectdefs.h:45,
from /usr/include/QtGui/qwindowdefs.h:45,
from /usr/include/QtGui/qwidget.h:45,
from /usr/include/QtGui/qmainwindow.h:45,
from /usr/include/QtGui/QMainWindow:1,
from spimview.h:37,
from spim_support.c:36:
/usr/include/QtCore/qnamespace.h: In function ‘QT_MODULE’:
/usr/include/QtCore/qnamespace.h:54: error: expected declaration specifiers before ‘namespace’
/usr/include/QtCore/qnamespace.h:1744: error: expected declaration specifiers before ‘Q_DECLARE_OPERATORS_FOR_FLAGS’
/usr/include/QtCore/qnamespace.h:1763: error: expected declaration specifiers before ‘class’
/usr/include/QtCore/qnamespace.h:1818: error: expected declaration specifiers before ‘;’ token
It certainly seems like I'm on the right track, but I have no idea how to continue debugging from here. It's probably something simple. Any suggestions? Thanks in advance!
OS:
Fedora release 13 (Goddard) - Linux 2.6.34.7-61.fc13.i686
KDE 4.5.2
And a quick look at the qt packages:
qt - 1:4.6.3-8.fc13 (i686)
qt-devel - 1:4.6.3-8.fc13 (i686)
qt-mysql - 1:4.6.3-8.fc13 (i686)
qt-sqlite - 1:4.6.3-8.fc13 (i686)
qt-x11 - 1:4.6.3-8.fc13 (i686)
qt3 -3.3.8b-29.fc13 (i686)
qt3-config -3.3.8b-29.fc13 (i686)
qtcurve-gtk2 - 1.6.3-1.fc13 (i686)
qtcurve-kde4 - 1.6.3-1.fc13 (i686)
qtscriptbindings - 0.1.0-10.fc13 (i686)