#1 parse error before token, any help with this

v1.0_(example)
closed
nobody
5
2015-02-23
2003-02-02
No

g++ -Wall -pedantic -ansi -O2 poopmup.cpp -o poopmup.o -lglut
-lGL -lGLU -L/usr/X11R6/lib -lXmu -lXext -lXt -lXi -lX11
In file included from poopmup.cpp:25:
common.h:37:21: GL/glut.h: No such file or directory
In file included from /usr/include/c++/3.2/backward/iostream.h:31,
from common.h:41,
from poopmup.cpp:25:
/usr/include/c++/3.2/backward/backward_warning.h:32:2:
warning: #warning This file includes at least one deprecated or
antiquated header. Please consider using one of the 32 headers
found in section 17.4.1.2 of the C++ standard. Examples include
substituting the <X> header for the <X.h> header for C++ includes,
or <sstream> instead of the deprecated header <strstream.h>. To
disable this warning use -Wno-deprecated.
In file included from common.h:42,
from poopmup.cpp:25:
includes/base/myDisplayLists.h:34: parse error before `[' token
includes/base/myDisplayLists.h:35: parse error before `[' token
includes/base/myDisplayLists.h:79: parse error before `)' token
includes/base/myDisplayLists.h:84: semicolon missing after
declaration of `
myDisplayLists'
includes/base/myDisplayLists.h: In member function `void
myDisplayLists::CreateAllLists()':
includes/base/myDisplayLists.h:51: `GLuint' undeclared (first use
this
function)
includes/base/myDisplayLists.h:51: (Each undeclared identifier is
reported only
once for each function it appears in.)
includes/base/myDisplayLists.h:51: parse error before `int'
includes/base/myDisplayLists.h:52: `n' undeclared (first use this
function)
includes/base/myDisplayLists.h:52: `glGenLists' undeclared (first
use this
function)
includes/base/myDisplayLists.h:53: `i' undeclared (first use this
function)
includes/base/myDisplayLists.h:55: `j' undeclared (first use this
function)
includes/base/myDisplayLists.h:57: `list' undeclared (first use this
function)
includes/base/myDisplayLists.h: In member function `void
myDisplayLists::setWindow(int, int)':
includes/base/myDisplayLists.h:70: `window_ids' undeclared (first
use this
function)
includes/base/myDisplayLists.h: In member function `void
myDisplayLists::SetCurrWindow(int)':
includes/base/myDisplayLists.h:76: `glutSetWindow' undeclared
(first use this
function)
includes/base/myDisplayLists.h: At global scope:
includes/base/myDisplayLists.h:84: warning: ISO C++ forbids
defining types
within return type
includes/base/myDisplayLists.h:84: extraneous `int' ignored
includes/base/myDisplayLists.h:84: semicolon missing after
declaration of `
class myDisplayLists'
includes/base/myDisplayLists.h:88: parse error before `}' token
In file included from poopmup.cpp:25:
common.h:64: syntax error before `;' token
In file included from includes/theWorld/PoopWorld.h:33,
from poopmup.cpp:26:
includes/base/myCam.h: In function `void glprintf(char*, int, int)':
includes/base/myCam.h:31: `glRasterPos2f' undeclared (first use
this function)
includes/base/myCam.h:33: `GLUT_BITMAP_HELVETICA_10'
undeclared (first use this
function)
includes/base/myCam.h:33: `glutBitmapCharacter' undeclared
(first use this
function)
In file included from includes/base/myCam.h:51,
from includes/theWorld/PoopWorld.h:33,
from poopmup.cpp:26:
includes/base/my3dPoint.h: At global scope:
includes/base/my3dPoint.h:45: parse error before `[' token
includes/base/my3dPoint.h:85: `GLfloat' was not declared in this
scope
includes/base/my3dPoint.h:85: parse error before `,' token
includes/base/my3dPoint.h: In member function `float
my3dPoint::getX()':
includes/base/my3dPoint.h:52: `points' undeclared (first use this
function)
includes/base/my3dPoint.h: In member function `void
my3dPoint::setXYZW(...)':
includes/base/my3dPoint.h:86: `tx' undeclared (first use this
function)
includes/base/my3dPoint.h:87: `ty' undeclared (first use this
function)
includes/base/my3dPoint.h:88: `tz' undeclared (first use this
function)
includes/base/my3dPoint.h:89: `tw' undeclared (first use this
function)
In file included from includes/theWorld/PoopWorld.h:33,
from poopmup.cpp:26:
includes/base/myCam.h: At global scope:
includes/base/myCam.h:64: parse error before `,' token
includes/base/myCam.h:66: 'GLdouble' is used as a type, but is
not defined as a
type.
includes/base/myCam.h:67: 'GLdouble' is used as a type, but is
not defined as a
type.
includes/base/myCam.h:68: 'GLdouble' is used as a type, but is
not defined as a
type.
includes/base/myCam.h:69: 'GLdouble' is used as a type, but is
not defined as a
type.
includes/base/myCam.h:70: 'GLdouble' is used as a type, but is
not defined as a
type.
includes/base/myCam.h:71: 'GLdouble' is used as a type, but is
not defined as a
type.
includes/base/myCam.h:72: 'GLdouble' is used as a type, but is
not defined as a
type.
includes/base/myCam.h:73: 'GLfloat' is used as a type, but is not
defined as a
type.
includes/base/myCam.h:103: parse error before `)' token
includes/base/myCam.h: In constructor `myCam::myCam()':
includes/base/myCam.h:78: `rollAngle' undeclared (first use this
function)
includes/base/myCam.h:79: `moveTo' undeclared (first use this
function)
includes/base/myCam.h:80: `setLookAt' undeclared (first use this
function)
includes/base/myCam.h:81: `setUpVector' undeclared (first use
this function)
includes/base/myCam.h:84: assignment of function
`std::ios_base&
std::left(std::ios_base&)'
includes/base/myCam.h:84: cannot convert `int' to `
std::ios_base&()(std::ios_base&)' in assignment
includes/base/myCam.h:85: assignment of function
`std::ios_base&
std::right(std::ios_base&)'
includes/base/myCam.h:85: cannot convert `int' to `
std::ios_base&()(std::ios_base&)' in assignment
includes/base/myCam.h:86: `bottom' undeclared (first use this
function)
includes/base/myCam.h:87: `top' undeclared (first use this
function)
includes/base/myCam.h:88: `nearPlane' undeclared (first use this
function)
includes/base/myCam.h:89: `farPlane' undeclared (first use this
function)
includes/base/myCam.h:91: `viewAngle' undeclared (first use this
function)
includes/base/myCam.h:92: `viewRatio' undeclared (first use this
function)
includes/base/myCam.h: At global scope:
includes/base/myCam.h:104: warning: ISO C++ forbids defining
types within
return type
includes/base/myCam.h:104: syntax error before `(' token
includes/base/myCam.h:105: parse error before `)' token
includes/base/myCam.h:106: parse error before `)' token
includes/base/myCam.h:107: parse error before `)' token
includes/base/myCam.h:108: parse error before `)' token
includes/base/myCam.h: In function `my3dPoint getEye()':
includes/base/myCam.h:109: `eye' undeclared (first use this
function)
includes/base/myCam.h: In function `my3dPoint getLookAt()':
includes/base/myCam.h:110: `lookAt' undeclared (first use this
function)
includes/base/myCam.h: At global scope:
includes/base/myCam.h:113: `GLfloat' was not declared in this
scope
includes/base/myCam.h:113: parse error before `,' token
includes/base/myCam.h:113: `void moveTo(...)' used prior to
declaration
includes/base/myCam.h:114: `GLfloat' was not declared in this
scope
includes/base/myCam.h:114: parse error before `,' token
includes/base/myCam.h:116: `GLfloat' was not declared in this
scope
includes/base/myCam.h:116: parse error before `,' token
includes/base/myCam.h:116: `void setLookAt(...)' used prior to
declaration
includes/base/myCam.h:118: `GLfloat' was not declared in this
scope
includes/base/myCam.h:118: parse error before `,' token
includes/base/myCam.h:120: `void setUpVector(myVector)' used
prior to
declaration
includes/base/myCam.h:121: `GLfloat' was not declared in this
scope
includes/base/myCam.h:121: parse error before `,' token
includes/base/myCam.h: In function `myVector getUpVector()':
includes/base/myCam.h:122: `up' undeclared (first use this
function)
includes/base/myCam.h: At global scope:
includes/base/myCam.h:127: `GLfloat' was not declared in this
scope
includes/base/myCam.h:127: parse error before `,' token
includes/base/myCam.h:128: `GLfloat' was not declared in this
scope
includes/base/myCam.h:128: parse error before `,' token
includes/base/myCam.h:129: `GLfloat' was not declared in this
scope
includes/base/myCam.h:129: parse error before `)' token
includes/base/myCam.h:130: `GLfloat' was not declared in this
scope
includes/base/myCam.h:130: parse error before `)' token
includes/base/myCam.h:131: `GLfloat' was not declared in this
scope
includes/base/myCam.h:131: parse error before `)' token
includes/base/myCam.h:132: `GLfloat' was not declared in this
scope
includes/base/myCam.h:132: parse error before `)' token
includes/base/myCam.h:133: `GLfloat' was not declared in this
scope
includes/base/myCam.h:133: parse error before `)' token
includes/base/myCam.h:134: `GLfloat' was not declared in this
scope
includes/base/myCam.h:134: parse error before `,' token
includes/base/myCam.h:135: `GLfloat' was not declared in this
scope
includes/base/myCam.h:135: parse error before `,' token
includes/base/myCam.h:136: `GLfloat' was not declared in this
scope
includes/base/myCam.h:136: parse error before `,' token
includes/base/myCam.h:137: `GLfloat' was not declared in this
scope
includes/base/myCam.h:137: parse error before `,' token
includes/base/myCam.h:146: parse error before `}' token
includes/base/myCam.h:148: no `void myCam::init()' member
function declared in
class `myCam'
includes/base/myCam.h: In member function `void myCam::init()':
includes/base/myCam.h:149: `GL_PROJECTION' undeclared
(first use this function)
includes/base/myCam.h:149: `glMatrixMode' undeclared (first use
this function)
includes/base/myCam.h:150: `glLoadIdentity' undeclared (first use
this
function)
includes/base/myCam.h:155: `rotationAngleAroundX' undeclared
(first use this
function)
includes/base/myCam.h:156: `rotationAngleAroundY' undeclared
(first use this
function)
In file included from includes/theWorld/PoopWorld.h:33,
from poopmup.cpp:26:
includes/base/myCam.h: At global scope:
includes/base/myCam.h:162: no `void
myCam::rotateLookAtBy(float, float)' member
function declared in class `myCam'
includes/base/myCam.h: In member function `void
myCam::rotateLookAtBy(float,
float)':
includes/base/myCam.h:179: `getLookAtX' undeclared (first use
this function)
includes/base/myCam.h:179: `getEyeX' undeclared (first use this
function)
includes/base/myCam.h:180: `getLookAtY' undeclared (first use
this function)
includes/base/myCam.h:180: `getEyeY' undeclared (first use this
function)
includes/base/myCam.h:181: `getLookAtZ' undeclared (first use
this function)
includes/base/myCam.h:181: `getEyeZ' undeclared (first use this
function)
In file included from includes/theWorld/PoopWorld.h:33,
from poopmup.cpp:26:
includes/base/myCam.h: At global scope:
includes/base/myCam.h:201: `GLfloat' was not declared in this
scope
includes/base/myCam.h:201: parse error before `)' token
includes/base/myCam.h:201: no `void myCam::rollBy(...)' member
function
declared in class `myCam'
includes/base/myCam.h: In member function `void
myCam::rollBy(...)':
includes/base/myCam.h:203: `tAngle' undeclared (first use this
function)
includes/base/myCam.h: At global scope:
includes/base/myCam.h:210: parse error before `)' token
includes/base/myCam.h:210: no `void myCam::rollTo(...)' member
function
declared in class `myCam'
includes/base/myCam.h:219: `GLfloat' was not declared in this
scope
includes/base/myCam.h:219: parse error before `,' token
includes/base/myCam.h:219: no `void myCam::panBy(...)'
member function declared
in class `myCam'
includes/base/myCam.h: In member function `void
myCam::panBy(...)':
includes/base/myCam.h:220: `x' undeclared (first use this
function)
includes/base/myCam.h:220: `y' undeclared (first use this
function)
includes/base/myCam.h:220: `z' undeclared (first use this
function)
includes/base/myCam.h: At global scope:
includes/base/myCam.h:224: parse error before `,' token
includes/base/myCam.h:224: no `void myCam::panTo(...)'
member function declared
in class `myCam'
includes/base/myCam.h: In member function `void
myCam::panTo(...)':
includes/base/myCam.h:225: `GLfloat' undeclared (first use this
function)
includes/base/myCam.h:225: parse error before `=' token
includes/base/myCam.h:229: `dX' undeclared (first use this
function)
includes/base/myCam.h:229: `dY' undeclared (first use this
function)
includes/base/myCam.h:229: `dZ' undeclared (first use this
function)
includes/base/myCam.h: At global scope:
includes/base/myCam.h:232: parse error before `)' token
includes/base/myCam.h:232: no `void myCam::zoomBy(...)'
member function
declared in class `myCam'
includes/base/myCam.h: In member function `void
myCam::zoomBy(...)':
includes/base/myCam.h:234: invalid operands of types
`<unknown type>' and `int'
to binary `operator!='
includes/base/myCam.h:238: invalid operands of types `float' and
`<unknown
type>' to binary `operator*'
includes/base/myCam.h:239: invalid operands of types `float' and
`<unknown
type>' to binary `operator*'
includes/base/myCam.h:241: invalid operands of types `float' and
`<unknown
type>' to binary `operator*'
In file included from includes/theWorld/PoopWorld.h:33,
from poopmup.cpp:26:
includes/base/myCam.h: At global scope:
includes/base/myCam.h:245: `GLfloat' was not declared in this
scope
includes/base/myCam.h:245: parse error before `,' token
includes/base/myCam.h:245: no `void myCam::rotateAroundY(...)'
member function
declared in class `myCam'
includes/base/myCam.h: In member function `void
myCam::rotateAroundY(...)':
includes/base/myCam.h:246: `GLfloat' undeclared (first use this
function)
includes/base/myCam.h:246: parse error before `;' token
includes/base/myCam.h:247: `radius' undeclared (first use this
function)
includes/base/myCam.h:249: `angle' undeclared (first use this
function)
includes/base/myCam.h: At global scope:
includes/base/myCam.h:252: parse error before `)' token
includes/base/myCam.h:252: redefinition of `void
myCam::rotateAroundY(...)'
includes/base/myCam.h:245: `void myCam::rotateAroundY(...)'
previously defined
here
includes/base/myCam.h:252: no `void myCam::rotateAroundY(...)'
member function
declared in class `myCam'
includes/base/myCam.h:256: parse error before `,' token
includes/base/myCam.h:256: no `void myCam::rotateAroundX(...)'
member function
declared in class `myCam'
includes/base/myCam.h: In member function `void
myCam::rotateAroundX(...)':
includes/base/myCam.h:257: parse error before `;' token
includes/base/myCam.h: At global scope:
includes/base/myCam.h:264: parse error before `)' token
includes/base/myCam.h:264: redefinition of `void
myCam::rotateAroundX(...)'
includes/base/myCam.h:256: `void myCam::rotateAroundX(...)'
previously defined
here
includes/base/myCam.h:264: no `void myCam::rotateAroundX(...)'
member function
declared in class `myCam'
includes/base/myCam.h:268: `GLfloat' was not declared in this
scope
includes/base/myCam.h:268: parse error before `,' token
includes/base/myCam.h:268: no `void
myCam::rotateAroundXY(...)' member function
declared in class `myCam'
includes/base/myCam.h: In member function `void
myCam::rotateAroundXY(...)':
includes/base/myCam.h:269: parse error before `;' token
includes/base/myCam.h:272: `angleX' undeclared (first use this
function)
includes/base/myCam.h:273: `angleY' undeclared (first use this
function)
includes/base/myCam.h:275: `class myCam' has no member
named `GLfloat'
includes/base/myCam.h:275: parse error before `=' token
includes/base/myCam.h:276: `class myCam' has no member
named `GLfloat'
includes/base/myCam.h: At global scope:
includes/base/myCam.h:282: parse error before `,' token
includes/base/myCam.h:282: redefinition of `void
myCam::rotateAroundXY(...)'
includes/base/myCam.h:268: `void myCam::rotateAroundXY(...)'
previously defined
here
includes/base/myCam.h:282: no `void
myCam::rotateAroundXY(...)' member function
declared in class `myCam'
includes/base/myCam.h:286: parse error before `,' token
includes/base/myCam.h:286: no `void myCam::moveTo(...)'
member function
declared in class `myCam'
includes/base/myCam.h:290: parse error before `,' token
includes/base/myCam.h:290: no `void myCam::moveBy(...)'
member function
declared in class `myCam'
includes/base/myCam.h:294: parse error before `,' token
includes/base/myCam.h:294: no `void myCam::setLookAt(...)'
member function
declared in class `myCam'
includes/base/myCam.h:298: prototype for `void
myCam::setLookAt(myVector)' does
not match any in class `myCam'
includes/base/myCam.h:294: candidate is: void
myCam::setLookAt(...)
In file included from includes/theWorld/PoopWorld.h:33,
from poopmup.cpp:26:
includes/base/myCam.h:302: parse error before `,' token
includes/base/myCam.h:302: no `void
myCam::moveLookAtBy(...)' member function
declared in class `myCam'
includes/base/myCam.h:306: parse error before `,' token
includes/base/myCam.h:306: no `void myCam::setUpVector(...)'
member function
declared in class `myCam'
includes/base/myCam.h:310: prototype for `void
myCam::setUpVector(myVector)'
does not match any in class `myCam'
includes/base/myCam.h:306: candidate is: void
myCam::setUpVector(...)
In file included from includes/theWorld/PoopWorld.h:33,
from poopmup.cpp:26:
includes/base/myCam.h:315: no `void myCam::draw()' member
function declared in
class `myCam'
includes/base/myCam.h: In member function `void
myCam::draw()':
includes/base/myCam.h:321: `glOrtho' undeclared (first use this
function)
includes/base/myCam.h:323: `gluPerspective' undeclared (first
use this
function)
includes/base/myCam.h:327: `gluLookAt' undeclared (first use
this function)
includes/base/myCam.h:328: `GL_MODELVIEW' undeclared (first
use this function)
includes/base/myCam.h: At global scope:
includes/base/myCam.h:332: no `myVector
myCam::getViewVector()' member function
declared in class `myCam'
In file included from includes/base/myObject2.h:48,
from includes/mapObjects/MapObject.h:29,
from includes/mapObjects/Tile.h:31,
from includes/theWorld/PoopWorld.h:34,
from poopmup.cpp:26:
includes/base/myMatrix.h:70: parse error before `[' token
includes/base/myMatrix.h:77: `tMatrix' was not declared in this
scope
includes/base/myMatrix.h:77: invalid data member initialization
includes/base/myMatrix.h:77: (use `=' to initialize static data
members)
includes/base/myMatrix.h:77: variable or field `setMatrix' declared
void
includes/base/myMatrix.h:78: type specifier omitted for parameter
`GLfloat'
includes/base/myMatrix.h:78: parse error before `)' token
includes/base/myMatrix.h:79: parse error before `,' token
includes/base/myMatrix.h:82: warning: ISO C++ forbids defining
types within
return type
includes/base/myMatrix.h:82: syntax error before `*' token
includes/base/myMatrix.h:94: parse error before `,' token
includes/base/myMatrix.h:95: parse error before `,' token
includes/base/myMatrix.h:96: parse error before `)' token
includes/base/myMatrix.h:97: parse error before `)' token
includes/base/myMatrix.h:98: parse error before `)' token
includes/base/myMatrix.h:100: parse error before `,' token
includes/base/myMatrix.h:101: parse error before `,' token
includes/base/myMatrix.h:102: parse error before `)' token
includes/base/myMatrix.h:103: parse error before `)' token
includes/base/myMatrix.h:104: parse error before `)' token
includes/base/myMatrix.h:108: destructors must be member
functions
includes/base/myMatrix.h:109: parse error before `}' token
includes/base/myMatrix.h:113: `tMatrix' was not declared in this
scope
includes/base/myMatrix.h:114: `void myMatrix::setMatrix' is not a
static member
of `class myMatrix'
includes/base/myMatrix.h:114: variable `void myMatrix::setMatrix'
has
initializer but incomplete type
includes/base/myMatrix.h:114: syntax error before `{' token
includes/base/myMatrix.h:115: parse error before `;' token
includes/base/myMatrix.h:115: syntax error before `++' token
includes/base/myMatrix.h:120: type specifier omitted for
parameter `GLfloat'
includes/base/myMatrix.h:120: parse error before `)' token
includes/base/myMatrix.h:121: warning: extra qualification
`myMatrix::' on
member `setElement' ignored
includes/base/myMatrix.h: In member function `void
myMatrix::setElement(...)':
includes/base/myMatrix.h:122: `matrix' undeclared (first use this
function)
includes/base/myMatrix.h:122: `col' undeclared (first use this
function)
includes/base/myMatrix.h:122: `row' undeclared (first use this
function)
includes/base/myMatrix.h:122: `value' undeclared (first use this
function)
includes/base/myMatrix.h: At global scope:
includes/base/myMatrix.h:126: warning: extra qualification
`myMatrix::' on
member `operator*' ignored
includes/base/myMatrix.h:126: no `myMatrix
myMatrix::operator*(myMatrix&)'
member function declared in class `myMatrix'
includes/base/myMatrix.h: In member function `myMatrix
myMatrix::operator*(myMatrix&)':
includes/base/myMatrix.h:128: parse error before `=' token
includes/base/myMatrix.h:133: `getElement' undeclared (first use
this function)
includes/base/myMatrix.h:133: no matching function for call to
`myMatrix::
getElement(int&, int&)'
includes/base/myMatrix.h: At global scope:
includes/base/myMatrix.h:144: warning: extra qualification
`myMatrix::' on
member `operator*' ignored
includes/base/myMatrix.h:144: prototype for `my3dPoint
myMatrix::operator*(my3dPoint&)' does not match any in class
`myMatrix'
includes/base/myMatrix.h:126: candidate is: myMatrix
myMatrix::operator*(myMatrix&)
includes/base/myMatrix.h: In member function `my3dPoint
myMatrix::operator*(my3dPoint&)':
includes/base/myMatrix.h:146: parse error before `=' token
In file included from includes/base/myObject2.h:48,
from includes/mapObjects/MapObject.h:29,
from includes/mapObjects/Tile.h:31,
from includes/theWorld/PoopWorld.h:34,
from poopmup.cpp:26:
includes/base/myMatrix.h: At global scope:
includes/base/myMatrix.h:165: warning: extra qualification
`myMatrix::' on
member `operator*' ignored
includes/base/myMatrix.h:165: prototype for `myVector
myMatrix::operator*(myVector&)' does not match any in class
`myMatrix'
includes/base/myMatrix.h:144: candidates are: my3dPoint
myMatrix::operator*(my3dPoint&)
includes/base/myMatrix.h:126: myMatrix
myMatrix::operator*(myMatrix&)
includes/base/myMatrix.h: In member function `myVector
myMatrix::operator*(myVector&)':
includes/base/myMatrix.h:167: parse error before `=' token
In file included from includes/base/myObject2.h:48,
from includes/mapObjects/MapObject.h:29,
from includes/mapObjects/Tile.h:31,
from includes/theWorld/PoopWorld.h:34,
from poopmup.cpp:26:
includes/base/myMatrix.h: At global scope:
includes/base/myMatrix.h:186: warning: extra qualification
`myMatrix::' on
member `print' ignored
includes/base/myMatrix.h:186: no `void myMatrix::print()' member
function
declared in class `myMatrix'
includes/base/myMatrix.h:197: warning: extra qualification
`myMatrix::' on
member `setIdentity' ignored
includes/base/myMatrix.h:197: no `void myMatrix::setIdentity()'
member function
declared in class `myMatrix'
includes/base/myMatrix.h: In member function `void
myMatrix::setIdentity()':
includes/base/myMatrix.h:198: `GLfloat' undeclared (first use this
function)
includes/base/myMatrix.h:198: parse error before `[' token
includes/base/myMatrix.h: At global scope:
includes/base/myMatrix.h:205: `temp' was not declared in this
scope
includes/base/myMatrix.h:205: warning: ISO C++ forbids
declaration of `
setMatrix' with no type
includes/base/myMatrix.h:207: parse error before `}' token
includes/base/myMatrix.h:209: parse error before `,' token
includes/base/myMatrix.h:210: warning: extra qualification
`myMatrix::' on
member `setTranslation' ignored
includes/base/myMatrix.h:210: no `void
myMatrix::setTranslation(...)' member
function declared in class `myMatrix'
includes/base/myMatrix.h: In member function `void
myMatrix::setTranslation(...)':
includes/base/myMatrix.h:211: `GLfloat' undeclared (first use this
function)
includes/base/myMatrix.h:211: parse error before `[' token
includes/base/myMatrix.h: At global scope:
includes/base/myMatrix.h:218: `temp' was not declared in this
scope
includes/base/myMatrix.h:218: warning: ISO C++ forbids
declaration of `
setMatrix' with no type
includes/base/myMatrix.h:218: redefinition of `int setMatrix'
includes/base/myMatrix.h:205: `int setMatrix' previously defined
here
includes/base/myMatrix.h:220: parse error before `}' token
includes/base/myMatrix.h:222: parse error before `,' token
includes/base/myMatrix.h:223: warning: extra qualification
`myMatrix::' on
member `setScale' ignored
includes/base/myMatrix.h:223: no `void myMatrix::setScale(...)'
member function
declared in class `myMatrix'
includes/base/myMatrix.h: In member function `void
myMatrix::setScale(...)':
includes/base/myMatrix.h:224: `GLfloat' undeclared (first use this
function)
includes/base/myMatrix.h:224: parse error before `[' token
includes/base/myMatrix.h: At global scope:
includes/base/myMatrix.h:231: `temp' was not declared in this
scope
includes/base/myMatrix.h:231: warning: ISO C++ forbids
declaration of `
setMatrix' with no type
includes/base/myMatrix.h:231: redefinition of `int setMatrix'
includes/base/myMatrix.h:218: `int setMatrix' previously defined
here
includes/base/myMatrix.h:233: parse error before `}' token
includes/base/myMatrix.h:235: parse error before `)' token
includes/base/myMatrix.h:236: warning: extra qualification
`myMatrix::' on
member `setRotationAroundX' ignored
includes/base/myMatrix.h:236: no `void
myMatrix::setRotationAroundX(...)'
member function declared in class `myMatrix'
includes/base/myMatrix.h: In member function `void
myMatrix::setRotationAroundX(...)':
includes/base/myMatrix.h:238: `GLfloat' undeclared (first use this
function)
includes/base/myMatrix.h:238: parse error before `[' token
includes/base/myMatrix.h: At global scope:
includes/base/myMatrix.h:245: `temp' was not declared in this
scope
includes/base/myMatrix.h:245: warning: ISO C++ forbids
declaration of `
setMatrix' with no type
includes/base/myMatrix.h:245: redefinition of `int setMatrix'
includes/base/myMatrix.h:231: `int setMatrix' previously defined
here
includes/base/myMatrix.h:246: parse error before `}' token
includes/base/myMatrix.h:248: parse error before `)' token
includes/base/myMatrix.h:249: warning: extra qualification
`myMatrix::' on
member `setRotationAroundY' ignored
includes/base/myMatrix.h:249: no `void
myMatrix::setRotationAroundY(...)'
member function declared in class `myMatrix'
includes/base/myMatrix.h: In member function `void
myMatrix::setRotationAroundY(...)':
includes/base/myMatrix.h:251: `GLfloat' undeclared (first use this
function)
includes/base/myMatrix.h:251: parse error before `[' token
includes/base/myMatrix.h: At global scope:
includes/base/myMatrix.h:258: `temp' was not declared in this
scope
includes/base/myMatrix.h:258: warning: ISO C++ forbids
declaration of `
setMatrix' with no type
includes/base/myMatrix.h:258: redefinition of `int setMatrix'
includes/base/myMatrix.h:245: `int setMatrix' previously defined
here
includes/base/myMatrix.h:259: parse error before `}' token
includes/base/myMatrix.h:261: parse error before `)' token
includes/base/myMatrix.h:262: warning: extra qualification
`myMatrix::' on
member `setRotationAroundZ' ignored
includes/base/myMatrix.h:262: no `void
myMatrix::setRotationAroundZ(...)'
member function declared in class `myMatrix'
includes/base/myMatrix.h: In member function `void
myMatrix::setRotationAroundZ(...)':
includes/base/myMatrix.h:264: `GLfloat' undeclared (first use this
function)
includes/base/myMatrix.h:264: parse error before `[' token
includes/base/myMatrix.h: At global scope:
includes/base/myMatrix.h:271: `temp' was not declared in this
scope
includes/base/myMatrix.h:271: warning: ISO C++ forbids
declaration of `
setMatrix' with no type
includes/base/myMatrix.h:271: redefinition of `int setMatrix'
includes/base/myMatrix.h:258: `int setMatrix' previously defined
here
includes/base/myMatrix.h:272: parse error before `}' token
includes/base/myMatrix.h:275: parse error before `,' token
includes/base/myMatrix.h:276: warning: extra qualification
`myMatrix::' on
member `setTranslationInv' ignored
includes/base/myMatrix.h:276: no `void
myMatrix::setTranslationInv(...)' member
function declared in class `myMatrix'
includes/base/myMatrix.h:280: parse error before `,' token
includes/base/myMatrix.h:281: warning: extra qualification
`myMatrix::' on
member `setScaleInv' ignored
includes/base/myMatrix.h:281: no `void myMatrix::setScaleInv(...)'
member
function declared in class `myMatrix'
includes/base/myMatrix.h:285: parse error before `)' token
includes/base/myMatrix.h:286: warning: extra qualification
`myMatrix::' on
member `setRotationAroundXInv' ignored
includes/base/myMatrix.h:286: no `void
myMatrix::setRotationAroundXInv(...)'
member function declared in class `myMatrix'
includes/base/myMatrix.h:290: parse error before `)' token
includes/base/myMatrix.h:291: warning: extra qualification
`myMatrix::' on
member `setRotationAroundYInv' ignored
includes/base/myMatrix.h:291: no `void
myMatrix::setRotationAroundYInv(...)'
member function declared in class `myMatrix'
includes/base/myMatrix.h:295: parse error before `)' token
includes/base/myMatrix.h:296: warning: extra qualification
`myMatrix::' on
member `setRotationAroundZInv' ignored
includes/base/myMatrix.h:296: no `void
myMatrix::setRotationAroundZInv(...)'
member function declared in class `myMatrix'
includes/base/myMatrix.h:302: warning: extra qualification
`myMatrix::' on
member `myMatrix' ignored
includes/base/myMatrix.h:306: warning: extra qualification
`myMatrix::' on
member `myMatrix' ignored
includes/base/myMatrix.h:306: no `myMatrix::~myMatrix()'
member function
declared in class `myMatrix'
In file included from includes/base/myLine.h:25,
from includes/base/myBoundingBox.h:35,
from includes/base/myObject2.h:51,
from includes/mapObjects/MapObject.h:29,
from includes/mapObjects/Tile.h:31,
from includes/theWorld/PoopWorld.h:34,
from poopmup.cpp:26:
includes/base/myPlane.h: In member function `float
myMatrix::myPlane::getA()':
includes/base/myPlane.h:38: parse error before `;' token
includes/base/myPlane.h:70: warning: extra qualification
`myMatrix::myPlane::'
on member `setPerpendicularTo' ignored
includes/base/myPlane.h:38: confused by earlier errors, bailing
out
make: *** [all] Error 1
[root@loft poopmup]#

Discussion

  • Sherif Zaroubi

    Sherif Zaroubi - 2003-02-04

    Logged In: YES
    user_id=161727

    Do you have GLUT installed? can you check /usr/include/GL is
    it there? Or is it in /usr/include/gl ? (That might be
    problem 1)
    in every header file change the #include <iostream.h> to
    #include <iostream>

    That should fix the problem.
    to know which files are have iostream.h do (in the base dir):
    %> grep -nr iostream.h *.*
    That should tell you what line they are at too.

     
  • Sherif Zaroubi

    Sherif Zaroubi - 2003-02-04
    • status: open --> closed
     
  • Steve Severson

    Steve Severson - 2003-02-05

    Logged In: YES
    user_id=702929

    Sherif,
    I am just getting back to this today. I have usr/include/GL,
    but noticed that at the top of my issue that GL/glut.g is
    missing. I am going to work on GLUT 3.7 tonight to see if
    there is a problem. I have changed the "iostream.h" to
    "iostream". Will get back to you soon on my results.
    thanks

     

Log in to post a comment.