When running make (after running qmake), I get this:
g++ -c -pipe -Wall -W -O2 -g -pipe -m32 -march=i386
-mtune=pentium4 -DQT_NO_DEBUG -DQT_SHARED
-DQT_THREAD_SUPPORT -I/usr/lib/qt-3.3/mkspecs/default
-I. -I/usr/kde/3.1/include -I/usr/lib/qt-3.3/include
-I.ui/ -I. -I.moc/ -o .obj/main.o main.cpp
In file included from .ui/mainform.h:17,
from main.cpp:2:
./expression.h:17:25: ginac/ginac.h: No such file or
directory
In file included from .ui/mainform.h:17,
from main.cpp:2:
./expression.h:18: error: expected namespace-name
before ';' token
./expression.h:18: error: `<type error>' is not a namespace
./expression.h:36: error: `ex' does not name a type
./expression.h:37: error: `symbol' does not name a type
gcc --version:
gcc (GCC) 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)
Running on Fedora Core 3:
2.6.9-1.681_FC3
I got the (only) tar.bz2 package
Logged In: YES
user_id=594550
Also fails on CVS version:
/usr/lib/qt-3.3/bin/uic about.ui -o .ui/about.h
/usr/lib/qt-3.3/bin/uic graph2doptions.ui -o
.ui/graph2doptions.h
/usr/lib/qt-3.3/bin/uic graph3drendermodes.ui -o
.ui/graph3drendermodes.h
/usr/lib/qt-3.3/bin/uic graph3doptions.ui -o
.ui/graph3doptions.h
/usr/lib/qt-3.3/bin/uic mainform.ui -o .ui/mainform.h
/usr/lib/qt-3.3/bin/uic outputmode.ui -o .ui/outputmode.h
g++ -c -pipe -Wall -W -O2 -g -pipe -m32 -march=i386
-mtune=pentium4 -DQT_NO_DEBUG -DQT_SHARED
-DQT_THREAD_SUPPORT -I/usr/lib/qt-3.3/mkspecs/default -I.
-I/usr/kde/3.2/include -I/usr/lib/qt-3.3/include -I.ui/ -I.
-I.moc/ -o .obj/main.o main.cpp
In file included from .ui/mainform.h:17,
from main.cpp:2:
./expression.h:17:25: ginac/ginac.h: No such file or directory
In file included from .ui/mainform.h:17,
from main.cpp:2:
./expression.h:18: error: expected namespace-name before ';'
token
./expression.h:18: error: `<type error>' is not a namespace
./expression.h:36: error: `ex' does not name a type
./expression.h:37: error: `symbol' does not name a type
make: *** [.obj/main.o] Error 1
Logged In: NO
3 problems:
1. You don't have the required ginac installed.
2. qmake is probably setting the wrong kde includes & libs
(unless you're really using 3.1)
3. qmake most likely won't have set the right library flags
for gl.
To fix 2 and 3, open the Makefile and change -I/usr/kde/3.1/
include on the INCPATH line to 3.x where x is your kde
version. Do the same for LIBS Then add -lglut -lGLU -lGL to
the LIBS variable as well. It should then compile.
Without have seen the code : ginac/ginac.h: No such file or directory
-> missing header ;)