[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Troubles during compilation
Hello,
I downloaded ePiX from
http://mathcs.holycross.edu/~ahwang/current/ePiX.html#Downloading
(version 1.0.0).
My compiler is:
gcc (GCC) 3.3.2 20031022 (Red Hat Linux 3.3.2-1)
and I try to compile ePiX under Aurox 10.0 (it's the Polish Linux
based on Fedora Core 2).
When I tried to compile it (make) I got:
g++ -c -Wall triples.cc
In file included from triples.cc:36:
globals.h:56:18: string: Nie ma takiego pliku ani katalogu
globals.h:57:17: cmath: Nie ma takiego pliku ani katalogu
In file included from triples.cc:36:
globals.h:92: error: ISO C++ forbids declaration of `string' with no
type
globals.h:92: error: invalid use of `::'
globals.h:92: error: syntax error before `;' token
globals.h: In function `void ePiX::degrees()':
globals.h:104: error: `M_PI' undeclared (first use this function)
globals.h:104: error: (Each undeclared identifier is reported only
once for
each function it appears in.)
In file included from triples.cc:37:
triples.h: In function `double ePiX::norm(ePiX::P)':
triples.h:133: error: `sqrt' undeclared (first use this function)
make: *** [triples.o] B=B3=B1d 1
p.s. ,,Nie ma takiego pliku ani katalogu'' means ,,no file or
directory'' and ,,B=B3=B1d'' means ,,error''
Please help me.
Best wishes,
Quantum Boy