Problems installing Irrlicht (Ubuntu 7.04)

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Pörzi
Posts: 9
Joined: Wed Aug 08, 2007 8:16 am

Problems installing Irrlicht (Ubuntu 7.04)

Post by Pörzi »

I tried to install Irrlicht... I ran make and this is what happened: (this is not the whole install process... the Terminal did'nt save the whole process)

Code: Select all

COpenGLDriver.cpp:894: error: ‘GL_QUADS’ was not declared in this scope
COpenGLDriver.cpp:894: error: ‘glBegin’ was not declared in this scope
COpenGLDriver.cpp:896: error: ‘glColor4ub’ was not declared in this scope
COpenGLDriver.cpp:897: error: ‘glTexCoord2f’ was not declared in this scope
COpenGLDriver.cpp:898: error: ‘glVertex2f’ was not declared in this scope
COpenGLDriver.cpp:912: error: ‘glEnd’ was not declared in this scope
COpenGLDriver.cpp:915: error: ‘GL_SCISSOR_TEST’ was not declared in this scope
COpenGLDriver.cpp:915: error: ‘glDisable’ was not declared in this scope
COpenGLDriver.cpp: In member function ‘virtual void irr::video::COpenGLDriver::draw2DRectangle(irr::video::SColor, const irr::core::rect<int>&, const irr::core::rect<int>*)’:
COpenGLDriver.cpp:942: error: ‘glColor4ub’ was not declared in this scope
COpenGLDriver.cpp:946: error: ‘glRectf’ was not declared in this scope
COpenGLDriver.cpp: In member function ‘virtual void irr::video::COpenGLDriver::draw2DRectangle(const irr::core::rect<int>&, irr::video::SColor, irr::video::SColor, irr::video::SColor, irr::video::SColor, const irr::core::rect<int>*)’:
COpenGLDriver.cpp:984: error: ‘GL_QUADS’ was not declared in this scope
COpenGLDriver.cpp:984: error: ‘glBegin’ was not declared in this scope
COpenGLDriver.cpp:986: error: ‘glColor4ub’ was not declared in this scope
COpenGLDriver.cpp:987: error: ‘glVertex2f’ was not declared in this scope
COpenGLDriver.cpp:1001: error: ‘glEnd’ was not declared in this scope
COpenGLDriver.cpp: In member function ‘virtual void irr::video::COpenGLDriver::draw2DLine(const irr::core::position2d<int>&, const irr::core::position2d<int>&, irr::video::SColor)’:
COpenGLDriver.cpp:1032: error: ‘GL_LINES’ was not declared in this scope
COpenGLDriver.cpp:1032: error: ‘glBegin’ was not declared in this scope
COpenGLDriver.cpp:1033: error: ‘glColor4ub’ was not declared in this scope
COpenGLDriver.cpp:1034: error: ‘glVertex2f’ was not declared in this scope
COpenGLDriver.cpp:1036: error: ‘glEnd’ was not declared in this scope
COpenGLDriver.cpp: In member function ‘bool irr::video::COpenGLDriver::setTexture(irr::s32, irr::video::ITexture*)’:
COpenGLDriver.cpp:1043: error: ‘MaxTextureUnits’ was not declared in this scope
COpenGLDriver.cpp:1057: error: ‘GL_TEXTURE_2D’ was not declared in this scope
COpenGLDriver.cpp:1057: error: ‘glDisable’ was not declared in this scope
COpenGLDriver.cpp:1064: error: ‘GL_TEXTURE_2D’ was not declared in this scope
COpenGLDriver.cpp:1064: error: ‘glDisable’ was not declared in this scope
COpenGLDriver.cpp:1069: error: ‘GL_TEXTURE_2D’ was not declared in this scope
COpenGLDriver.cpp:1069: error: ‘glEnable’ was not declared in this scope
COpenGLDriver.cpp:1071: error: ‘class irr::video::COpenGLTexture’ has no member named ‘getOpenGLTextureName’
COpenGLDriver.cpp:1071: error: ‘glBindTexture’ was not declared in this scope
COpenGLDriver.cpp: In member function ‘bool irr::video::COpenGLDriver::disableTextures(irr::s32)’:
COpenGLDriver.cpp:1083: error: ‘MaxTextureUnits’ was not declared in this scope
COpenGLDriver.cpp: At global scope:
COpenGLDriver.cpp:1091: error: variable or field ‘createGLMatrix’ declared void
COpenGLDriver.cpp:1091: error: ‘irr::video::COpenGLDriver::createGLMatrix’ declared as an ‘inline’ variable
COpenGLDriver.cpp:1091: error: ‘int irr::video::COpenGLDriver::createGLMatrix’ is not a static member of ‘class irr::video::COpenGLDriver’
COpenGLDriver.cpp:1091: error: ‘GLfloat’ was not declared in this scope
COpenGLDriver.cpp:1091: error: expected primary-expression before ‘const’
COpenGLDriver.cpp:1091: error: initializer expression list treated as compound expression
COpenGLDriver.cpp:1092: error: expected ‘,’ or ‘;’ before ‘{’ token
COpenGLDriver.cpp:1098: error: variable or field ‘createGLTextureMatrix’ declared void
COpenGLDriver.cpp:1098: error: ‘irr::video::COpenGLDriver::createGLTextureMatrix’ declared as an ‘inline’ variable
COpenGLDriver.cpp:1098: error: ‘int irr::video::COpenGLDriver::createGLTextureMatrix’ is not a static member of ‘class irr::video::COpenGLDriver’
COpenGLDriver.cpp:1098: error: ‘GLfloat’ was not declared in this scope
COpenGLDriver.cpp:1098: error: ‘o’ was not declared in this scope
COpenGLDriver.cpp:1098: error: expected primary-expression before ‘const’
COpenGLDriver.cpp:1098: error: initializer expression list treated as compound expression
COpenGLDriver.cpp:1099: error: expected ‘,’ or ‘;’ before ‘{’ token
COpenGLDriver.cpp: In member function ‘virtual void irr::video::COpenGLDriver::setMaterial(const irr::video::SMaterial&)’:
COpenGLDriver.cpp:1135: error: ‘MaxTextureUnits’ was not declared in this scope
COpenGLDriver.cpp: In member function ‘void irr::video::COpenGLDriver::setRenderStates3DMode()’:
COpenGLDriver.cpp:1181: error: ‘GL_TEXTURE_ENV’ was not declared in this scope
COpenGLDriver.cpp:1181: error: ‘GL_MODULATE’ was not declared in this scope
COpenGLDriver.cpp:1181: error: ‘glTexEnvi’ was not declared in this scope
COpenGLDriver.cpp:1182: error: ‘GL_BLEND’ was not declared in this scope
COpenGLDriver.cpp:1182: error: ‘glDisable’ was not declared in this scope
COpenGLDriver.cpp:1183: error: ‘GL_ONE’ was not declared in this scope
COpenGLDriver.cpp:1183: error: ‘GL_ONE_MINUS_SRC_COLOR’ was not declared in this scope
COpenGLDriver.cpp:1183: error: ‘glBlendFunc’ was not declared in this scope
COpenGLDriver.cpp:1186: error: ‘GLfloat’ was not declared in this scope
COpenGLDriver.cpp:1186: error: expected `;' before ‘glmat’
COpenGLDriver.cpp:1188: error: ‘glmat’ was not declared in this scope
COpenGLDriver.cpp:1189: error: ‘GL_MODELVIEW’ was not declared in this scope
COpenGLDriver.cpp:1189: error: ‘glMatrixMode’ was not declared in this scope
COpenGLDriver.cpp:1190: error: ‘glLoadMatrixf’ was not declared in this scope
COpenGLDriver.cpp:1194: error: ‘GL_PROJECTION’ was not declared in this scope
COpenGLDriver.cpp: In member function ‘virtual void irr::video::COpenGLDriver::setBasicRenderStates(const irr::video::SMaterial&, const irr::video::SMaterial&, bool)’:
COpenGLDriver.cpp:1235: error: ‘GLfloat’ was not declared in this scope
COpenGLDriver.cpp:1235: error: expected `;' before ‘color’
COpenGLDriver.cpp:1239: error: ‘color’ was not declared in this scope
COpenGLDriver.cpp:1243: error: ‘GL_FRONT_AND_BACK’ was not declared in this scope
COpenGLDriver.cpp:1243: error: ‘GL_AMBIENT’ was not declared in this scope
COpenGLDriver.cpp:1243: error: ‘glMaterialfv’ was not declared in this scope
COpenGLDriver.cpp:1249: error: ‘GL_DIFFUSE’ was not declared in this scope
COpenGLDriver.cpp:1256: error: ‘glLightModeli’ was not declared in this scope
COpenGLDriver.cpp:1258: error: ‘GL_SHININESS’ was not declared in this scope
COpenGLDriver.cpp:1258: error: ‘glMaterialf’ was not declared in this scope
COpenGLDriver.cpp:1263: error: ‘GL_SPECULAR’ was not declared in this scope
COpenGLDriver.cpp:1268: error: ‘glLightModeli’ was not declared in this scope
COpenGLDriver.cpp:1275: error: ‘GL_EMISSION’ was not declared in this scope
COpenGLDriver.cpp:1281: error: ‘MaxTextureUnits’ was not declared in this scope
COpenGLDriver.cpp:1290: error: ‘GL_TEXTURE_2D’ was not declared in this scope
COpenGLDriver.cpp:1290: error: ‘GL_TEXTURE_MAG_FILTER’ was not declared in this scope
COpenGLDriver.cpp:1291: error: ‘GL_LINEAR’ was not declared in this scope
COpenGLDriver.cpp:1291: error: ‘GL_NEAREST’ was not declared in this scope
COpenGLDriver.cpp:1291: error: ‘glTexParameteri’ was not declared in this scope
COpenGLDriver.cpp:1294: error: ‘GL_TEXTURE_MIN_FILTER’ was not declared in this scope
COpenGLDriver.cpp:1295: error: ‘GL_LINEAR_MIPMAP_LINEAR’ was not declared in this scope
COpenGLDriver.cpp:1295: error: ‘GL_LINEAR_MIPMAP_NEAREST’ was not declared in this scope
COpenGLDriver.cpp:1295: error: ‘GL_NEAREST_MIPMAP_NEAREST’ was not declared in this scope
COpenGLDriver.cpp:1297: error: ‘GL_TEXTURE_MIN_FILTER’ was not declared in this scope
COpenGLDriver.cpp:1302: error: ‘glTexParameterf’ was not declared in this scope
COpenGLDriver.cpp:1307: error: ‘GL_FRONT_AND_BACK’ was not declared in this scope
COpenGLDriver.cpp:1307: error: ‘GL_LINE’ was not declared in this scope
COpenGLDriver.cpp:1307: error: ‘GL_POINT’ was not declared in this scope
COpenGLDriver.cpp:1307: error: ‘GL_FILL’ was not declared in this scope
COpenGLDriver.cpp:1307: error: ‘glPolygonMode’ was not declared in this scope
COpenGLDriver.cpp:1314: error: ‘GL_SMOOTH’ was not declared in this scope
COpenGLDriver.cpp:1314: error: ‘glShadeModel’ was not declared in this scope
COpenGLDriver.cpp:1316: error: ‘GL_FLAT’ was not declared in this scope
COpenGLDriver.cpp:1316: error: ‘glShadeModel’ was not declared in this scope
COpenGLDriver.cpp:1324: error: ‘GL_LIGHTING’ was not declared in this scope
COpenGLDriver.cpp:1324: error: ‘glEnable’ was not declared in this scope
COpenGLDriver.cpp:1326: error: ‘GL_LIGHTING’ was not declared in this scope
COpenGLDriver.cpp:1326: error: ‘glDisable’ was not declared in this scope
COpenGLDriver.cpp:1335: error: ‘GL_DEPTH_TEST’ was not declared in this scope
COpenGLDriver.cpp:1335: error: ‘glDisable’ was not declared in this scope
COpenGLDriver.cpp:1338: error: ‘glEnable’ was not declared in this scope
COpenGLDriver.cpp:1339: error: ‘GL_LEQUAL’ was not declared in this scope
COpenGLDriver.cpp:1339: error: ‘glDepthFunc’ was not declared in this scope
COpenGLDriver.cpp:1343: error: ‘GL_EQUAL’ was not declared in this scope
COpenGLDriver.cpp:1353: error: ‘GL_TRUE’ was not declared in this scope
COpenGLDriver.cpp:1353: error: ‘glDepthMask’ was not declared in this scope
COpenGLDriver.cpp:1356: error: ‘GL_FALSE’ was not declared in this scope
COpenGLDriver.cpp:1356: error: ‘glDepthMask’ was not declared in this scope
COpenGLDriver.cpp:1364: error: ‘GL_CULL_FACE’ was not declared in this scope
COpenGLDriver.cpp:1364: error: ‘glEnable’ was not declared in this scope
COpenGLDriver.cpp:1366: error: ‘GL_CULL_FACE’ was not declared in this scope
COpenGLDriver.cpp:1366: error: ‘glDisable’ was not declared in this scope
COpenGLDriver.cpp:1373: error: ‘GL_FOG’ was not declared in this scope
COpenGLDriver.cpp:1373: error: ‘glEnable’ was not declared in this scope
COpenGLDriver.cpp:1375: error: ‘GL_FOG’ was not declared in this scope
COpenGLDriver.cpp:1375: error: ‘glDisable’ was not declared in this scope
COpenGLDriver.cpp:1382: error: ‘GL_NORMALIZE’ was not declared in this scope
COpenGLDriver.cpp:1382: error: ‘glEnable’ was not declared in this scope
COpenGLDriver.cpp:1384: error: ‘GL_NORMALIZE’ was not declared in this scope
COpenGLDriver.cpp:1384: error: ‘glDisable’ was not declared in this scope
COpenGLDriver.cpp:1390: error: ‘glPointSize’ was not declared in this scope
COpenGLDriver.cpp:1391: error: ‘glLineWidth’ was not declared in this scope
COpenGLDriver.cpp:1395: error: ‘MaxTextureUnits’ was not declared in this scope
COpenGLDriver.cpp:1399: error: ‘GLint’ was not declared in this scope
COpenGLDriver.cpp:1399: error: expected `;' before ‘mode’
COpenGLDriver.cpp:1403: error: ‘mode’ was not declared in this scope
COpenGLDriver.cpp:1403: error: ‘GL_REPEAT’ was not declared in this scope
COpenGLDriver.cpp:1406: error: ‘GL_CLAMP’ was not declared in this scope
COpenGLDriver.cpp:1465: error: ‘GL_TEXTURE_2D’ was not declared in this scope
COpenGLDriver.cpp:1465: error: ‘GL_TEXTURE_WRAP_S’ was not declared in this scope
COpenGLDriver.cpp:1465: error: ‘mode’ was not declared in this scope
COpenGLDriver.cpp:1465: error: ‘glTexParameteri’ was not declared in this scope
COpenGLDriver.cpp:1466: error: ‘GL_TEXTURE_WRAP_T’ was not declared in this scope
COpenGLDriver.cpp: In member function ‘void irr::video::COpenGLDriver::setRenderStates2DMode(bool, bool, bool)’:
COpenGLDriver.cpp:1483: error: ‘GL_PROJECTION’ was not declared in this scope
COpenGLDriver.cpp:1483: error: ‘glMatrixMode’ was not declared in this scope
COpenGLDriver.cpp:1484: error: ‘glLoadIdentity’ was not declared in this scope
COpenGLDriver.cpp:1486: error: ‘GL_MODELVIEW’ was not declared in this scope
COpenGLDriver.cpp:1489: error: ‘GL_TEXTURE’ was not declared in this scope
COpenGLDriver.cpp:1494: error: ‘GL_DEPTH_TEST’ was not declared in this scope
COpenGLDriver.cpp:1494: error: ‘glDisable’ was not declared in this scope
COpenGLDriver.cpp:1495: error: ‘GL_FOG’ was not declared in this scope
COpenGLDriver.cpp:1496: error: ‘GL_FRONT_AND_BACK’ was not declared in this scope
COpenGLDriver.cpp:1496: error: ‘GL_FILL’ was not declared in this scope
COpenGLDriver.cpp:1496: error: ‘glPolygonMode’ was not declared in this scope
COpenGLDriver.cpp:1497: error: ‘GL_LIGHTING’ was not declared in this scope
COpenGLDriver.cpp:1499: error: ‘GL_TEXTURE_GEN_S’ was not declared in this scope
COpenGLDriver.cpp:1500: error: ‘GL_TEXTURE_GEN_T’ was not declared in this scope
COpenGLDriver.cpp:1502: error: ‘GL_ALPHA_TEST’ was not declared in this scope
COpenGLDriver.cpp:1503: error: ‘GL_BACK’ was not declared in this scope
COpenGLDriver.cpp:1503: error: ‘glCullFace’ was not declared in this scope
COpenGLDriver.cpp:1508: error: ‘GL_TEXTURE_2D’ was not declared in this scope
COpenGLDriver.cpp:1508: error: ‘GL_TEXTURE_MIN_FILTER’ was not declared in this scope
COpenGLDriver.cpp:1508: error: ‘GL_NEAREST’ was not declared in this scope
COpenGLDriver.cpp:1508: error: ‘glTexParameteri’ was not declared in this scope
COpenGLDriver.cpp:1509: error: ‘GL_TEXTURE_MAG_FILTER’ was not declared in this scope
COpenGLDriver.cpp:1511: error: ‘GL_TEXTURE_WRAP_S’ was not declared in this scope
COpenGLDriver.cpp:1511: error: ‘GL_REPEAT’ was not declared in this scope
COpenGLDriver.cpp:1511: error: ‘glTexParameterf’ was not declared in this scope
COpenGLDriver.cpp:1512: error: ‘GL_TEXTURE_WRAP_T’ was not declared in this scope
COpenGLDriver.cpp:1518: error: ‘GL_TEXTURE_ENV’ was not declared in this scope
COpenGLDriver.cpp:1518: error: ‘GL_MODULATE’ was not declared in this scope
COpenGLDriver.cpp:1518: error: ‘glTexEnvf’ was not declared in this scope
COpenGLDriver.cpp:1519: error: ‘GL_TEXTURE’ was not declared in this scope
COpenGLDriver.cpp:1524: error: ‘GL_TEXTURE_ENV’ was not declared in this scope
COpenGLDriver.cpp:1524: error: ‘GL_REPLACE’ was not declared in this scope
COpenGLDriver.cpp:1524: error: ‘glTexEnvf’ was not declared in this scope
COpenGLDriver.cpp:1525: error: ‘GL_TEXTURE’ was not declared in this scope
COpenGLDriver.cpp:1528: error: ‘GL_SRC_ALPHA’ was not declared in this scope
COpenGLDriver.cpp:1528: error: ‘GL_ONE_MINUS_SRC_ALPHA’ was not declared in this scope
COpenGLDriver.cpp:1528: error: ‘glBlendFunc’ was not declared in this scope
COpenGLDriver.cpp:1529: error: ‘GL_BLEND’ was not declared in this scope
COpenGLDriver.cpp:1529: error: ‘glEnable’ was not declared in this scope
COpenGLDriver.cpp:1531: error: ‘GL_TEXTURE_ENV’ was not declared in this scope
COpenGLDriver.cpp:1531: error: ‘GL_TEXTURE_ENV_MODE’ was not declared in this scope
COpenGLDriver.cpp:1531: error: ‘glTexEnvf’ was not declared in this scope
COpenGLDriver.cpp:1532: error: ‘GL_MODULATE’ was not declared in this scope
COpenGLDriver.cpp:1533: error: ‘GL_TEXTURE’ was not declared in this scope
COpenGLDriver.cpp:1540: error: ‘GL_TEXTURE_ENV’ was not declared in this scope
COpenGLDriver.cpp:1540: error: ‘GL_TEXTURE_ENV_MODE’ was not declared in this scope
COpenGLDriver.cpp:1540: error: ‘glTexEnvf’ was not declared in this scope
COpenGLDriver.cpp:1541: error: ‘GL_REPLACE’ was not declared in this scope
COpenGLDriver.cpp:1543: error: ‘GL_ALPHA_TEST’ was not declared in this scope
COpenGLDriver.cpp:1543: error: ‘glDisable’ was not declared in this scope
COpenGLDriver.cpp:1544: error: ‘GL_SRC_ALPHA’ was not declared in this scope
COpenGLDriver.cpp:1544: error: ‘GL_ONE_MINUS_SRC_ALPHA’ was not declared in this scope
COpenGLDriver.cpp:1544: error: ‘glBlendFunc’ was not declared in this scope
COpenGLDriver.cpp:1545: error: ‘GL_BLEND’ was not declared in this scope
COpenGLDriver.cpp:1545: error: ‘glEnable’ was not declared in this scope
COpenGLDriver.cpp:1549: error: ‘GL_TEXTURE_ENV’ was not declared in this scope
COpenGLDriver.cpp:1549: error: ‘GL_TEXTURE_ENV_MODE’ was not declared in this scope
COpenGLDriver.cpp:1549: error: ‘GL_MODULATE’ was not declared in this scope
COpenGLDriver.cpp:1549: error: ‘glTexEnvi’ was not declared in this scope
COpenGLDriver.cpp:1550: error: ‘GL_ALPHA_TEST’ was not declared in this scope
COpenGLDriver.cpp:1550: error: ‘glDisable’ was not declared in this scope
COpenGLDriver.cpp:1551: error: ‘GL_BLEND’ was not declared in this scope
COpenGLDriver.cpp:1560: error: ‘GL_TEXTURE_ENV’ was not declared in this scope
COpenGLDriver.cpp:1560: error: ‘GL_REPLACE’ was not declared in this scope
COpenGLDriver.cpp:1560: error: ‘glTexEnvf’ was not declared in this scope
COpenGLDriver.cpp:1562: error: ‘GL_BLEND’ was not declared in this scope
COpenGLDriver.cpp:1562: error: ‘glEnable’ was not declared in this scope
COpenGLDriver.cpp:1563: error: ‘GL_SRC_ALPHA’ was not declared in this scope
COpenGLDriver.cpp:1563: error: ‘GL_ONE_MINUS_SRC_ALPHA’ was not declared in this scope
COpenGLDriver.cpp:1563: error: ‘glBlendFunc’ was not declared in this scope
COpenGLDriver.cpp:1564: error: ‘GL_TEXTURE_ENV_MODE’ was not declared in this scope
COpenGLDriver.cpp:1564: error: ‘GL_MODULATE’ was not declared in this scope
COpenGLDriver.cpp:1564: error: ‘glTexEnvi’ was not declared in this scope
COpenGLDriver.cpp:1565: error: ‘GL_ALPHA_TEST’ was not declared in this scope
COpenGLDriver.cpp:1565: error: ‘glDisable’ was not declared in this scope
COpenGLDriver.cpp:1569: error: ‘GL_TEXTURE_ENV’ was not declared in this scope
COpenGLDriver.cpp:1569: error: ‘GL_TEXTURE_ENV_MODE’ was not declared in this scope
COpenGLDriver.cpp:1569: error: ‘GL_MODULATE’ was not declared in this scope
COpenGLDriver.cpp:1569: error: ‘glTexEnvi’ was not declared in this scope
COpenGLDriver.cpp:1570: error: ‘GL_BLEND’ was not declared in this scope
COpenGLDriver.cpp:1570: error: ‘glDisable’ was not declared in this scope
COpenGLDriver.cpp:1571: error: ‘GL_ALPHA_TEST’ was not declared in this scope
COpenGLDriver.cpp: In member function ‘virtual void irr::video::COpenGLDriver::deleteAllDynamicLights()’:
COpenGLDriver.cpp:1591: error: ‘GL_LIGHT0’ was not declared in this scope
COpenGLDriver.cpp:1591: error: ‘glDisable’ was not declared in this scope
COpenGLDriver.cpp: In member function ‘virtual void irr::video::COpenGLDriver::addDynamicLight(const irr::video::SLight&)’:
COpenGLDriver.cpp:1602: error: ‘MaxLights’ was not declared in this scope
COpenGLDriver.cpp:1610: error: ‘GL_LIGHT0’ was not declared in this scope
COpenGLDriver.cpp:1611: error: ‘GLfloat’ was not declared in this scope
COpenGLDriver.cpp:1611: error: expected `;' before ‘data’
COpenGLDriver.cpp:1616: error: ‘data’ was not declared in this scope
COpenGLDriver.cpp:1621: error: ‘GL_POSITION’ was not declared in this scope
COpenGLDriver.cpp:1621: error: ‘glLightfv’ was not declared in this scope
COpenGLDriver.cpp:1624: error: ‘GL_SPOT_DIRECTION’ was not declared in this scope
COpenGLDriver.cpp:1626: error: ‘GL_SPOT_CUTOFF’ was not declared in this scope
COpenGLDriver.cpp:1626: error: ‘glLightf’ was not declared in this scope
COpenGLDriver.cpp:1627: error: ‘GL_SPOT_EXPONENT’ was not declared in this scope
COpenGLDriver.cpp:1632: error: ‘data’ was not declared in this scope
COpenGLDriver.cpp:1636: error: ‘GL_POSITION’ was not declared in this scope
COpenGLDriver.cpp:1636: error: ‘glLightfv’ was not declared in this scope
COpenGLDriver.cpp:1640: error: ‘data’ was not declared in this scope
COpenGLDriver.cpp:1644: error: ‘GL_DIFFUSE’ was not declared in this scope
COpenGLDriver.cpp:1644: error: ‘glLightfv’ was not declared in this scope
COpenGLDriver.cpp:1651: error: ‘GL_SPECULAR’ was not declared in this scope
COpenGLDriver.cpp:1658: error: ‘GL_AMBIENT’ was not declared in this scope
COpenGLDriver.cpp:1663: error: ‘GL_CONSTANT_ATTENUATION’ was not declared in this scope
COpenGLDriver.cpp:1663: error: ‘glLightf’ was not declared in this scope
COpenGLDriver.cpp:1664: error: ‘GL_LINEAR_ATTENUATION’ was not declared in this scope
COpenGLDriver.cpp:1665: error: ‘GL_QUADRATIC_ATTENUATION’ was not declared in this scope
COpenGLDriver.cpp:1667: error: ‘glEnable’ was not declared in this scope
COpenGLDriver.cpp: In member function ‘virtual irr::u32 irr::video::COpenGLDriver::getMaximalDynamicLightAmount()’:
COpenGLDriver.cpp:1674: error: ‘MaxLights’ was not declared in this scope
COpenGLDriver.cpp: In member function ‘virtual void irr::video::COpenGLDriver::setAmbientLight(const irr::video::SColorf&)’:
COpenGLDriver.cpp:1683: error: ‘GLfloat’ was not declared in this scope
COpenGLDriver.cpp:1683: error: expected `;' before ‘data’
COpenGLDriver.cpp:1684: error: ‘GL_LIGHT_MODEL_AMBIENT’ was not declared in this scope
COpenGLDriver.cpp:1684: error: ‘data’ was not declared in this scope
COpenGLDriver.cpp:1684: error: ‘glLightModelfv’ was not declared in this scope
COpenGLDriver.cpp: In member function ‘virtual void irr::video::COpenGLDriver::setViewPort(const irr::core::rect<int>&)’:
COpenGLDriver.cpp:1699: error: ‘glViewport’ was not declared in this scope
COpenGLDriver.cpp: In member function ‘virtual void irr::video::COpenGLDriver::drawStencilShadowVolume(const irr::core::vector3df*, irr::s32, bool)’:
COpenGLDriver.cpp:1721: error: ‘GL_COLOR_BUFFER_BIT’ was not declared in this scope
COpenGLDriver.cpp:1721: error: ‘GL_DEPTH_BUFFER_BIT’ was not declared in this scope
COpenGLDriver.cpp:1721: error: ‘GL_ENABLE_BIT’ was not declared in this scope
COpenGLDriver.cpp:1722: error: ‘GL_POLYGON_BIT’ was not declared in this scope
COpenGLDriver.cpp:1722: error: ‘GL_STENCIL_BUFFER_BIT’ was not declared in this scope
COpenGLDriver.cpp:1722: error: ‘glPushAttrib’ was not declared in this scope
COpenGLDriver.cpp:1724: error: ‘GL_LIGHTING’ was not declared in this scope
COpenGLDriver.cpp:1724: error: ‘glDisable’ was not declared in this scope
COpenGLDriver.cpp:1725: error: ‘GL_FOG’ was not declared in this scope
COpenGLDriver.cpp:1726: error: ‘GL_FALSE’ was not declared in this scope
COpenGLDriver.cpp:1726: error: ‘glDepthMask’ was not declared in this scope
COpenGLDriver.cpp:1727: error: ‘GL_LEQUAL’ was not declared in this scope
COpenGLDriver.cpp:1727: error: ‘glDepthFunc’ was not declared in this scope
COpenGLDriver.cpp:1728: error: ‘glColorMask’ was not declared in this scope
COpenGLDriver.cpp:1729: error: ‘GL_STENCIL_TEST’ was not declared in this scope
COpenGLDriver.cpp:1729: error: ‘glEnable’ was not declared in this scope
COpenGLDriver.cpp:1730: error: ‘GL_ALWAYS’ was not declared in this scope
COpenGLDriver.cpp:1730: error: ‘glStencilFunc’ was not declared in this scope
COpenGLDriver.cpp:1731: error: ‘GL_CULL_FACE’ was not declared in this scope
COpenGLDriver.cpp:1733: error: ‘GL_VERTEX_ARRAY’ was not declared in this scope
COpenGLDriver.cpp:1733: error: ‘glEnableClientState’ was not declared in this scope
COpenGLDriver.cpp:1734: error: ‘GL_FLOAT’ was not declared in this scope
COpenGLDriver.cpp:1734: error: ‘glVertexPointer’ was not declared in this scope
COpenGLDriver.cpp:1740: error: ‘GL_KEEP’ was not declared in this scope
COpenGLDriver.cpp:1740: error: ‘GL_INCR’ was not declared in this scope
COpenGLDriver.cpp:1740: error: ‘glStencilOp’ was not declared in this scope
COpenGLDriver.cpp:1741: error: ‘GL_BACK’ was not declared in this scope
COpenGLDriver.cpp:1741: error: ‘glCullFace’ was not declared in this scope
COpenGLDriver.cpp:1742: error: ‘GL_TRIANGLES’ was not declared in this scope
COpenGLDriver.cpp:1742: error: ‘glDrawArrays’ was not declared in this scope
COpenGLDriver.cpp:1744: error: ‘GL_DECR’ was not declared in this scope
COpenGLDriver.cpp:1745: error: ‘GL_FRONT’ was not declared in this scope
COpenGLDriver.cpp:1752: error: ‘GL_KEEP’ was not declared in this scope
COpenGLDriver.cpp:1752: error: ‘GL_INCR’ was not declared in this scope
COpenGLDriver.cpp:1752: error: ‘glStencilOp’ was not declared in this scope
COpenGLDriver.cpp:1753: error: ‘GL_FRONT’ was not declared in this scope
COpenGLDriver.cpp:1753: error: ‘glCullFace’ was not declared in this scope
COpenGLDriver.cpp:1754: error: ‘GL_TRIANGLES’ was not declared in this scope
COpenGLDriver.cpp:1754: error: ‘glDrawArrays’ was not declared in this scope
COpenGLDriver.cpp:1756: error: ‘GL_DECR’ was not declared in this scope
COpenGLDriver.cpp:1757: error: ‘GL_BACK’ was not declared in this scope
COpenGLDriver.cpp:1761: error: ‘glDisableClientState’ was not declared in this scope
COpenGLDriver.cpp:1762: error: ‘glPopAttrib’ was not declared in this scope
COpenGLDriver.cpp: In member function ‘virtual void irr::video::COpenGLDriver::drawStencilShadow(bool, irr::video::SColor, irr::video::SColor, irr::video::SColor, irr::video::SColor)’:
COpenGLDriver.cpp:1776: error: ‘GL_COLOR_BUFFER_BIT’ was not declared in this scope
COpenGLDriver.cpp:1776: error: ‘GL_DEPTH_BUFFER_BIT’ was not declared in this scope
COpenGLDriver.cpp:1776: error: ‘GL_ENABLE_BIT’ was not declared in this scope
COpenGLDriver.cpp:1776: error: ‘GL_POLYGON_BIT’ was not declared in this scope
COpenGLDriver.cpp:1776: error: ‘GL_STENCIL_BUFFER_BIT’ was not declared in this scope
COpenGLDriver.cpp:1776: error: ‘glPushAttrib’ was not declared in this scope
COpenGLDriver.cpp:1778: error: ‘GL_LIGHTING’ was not declared in this scope
COpenGLDriver.cpp:1778: error: ‘glDisable’ was not declared in this scope
COpenGLDriver.cpp:1779: error: ‘GL_FOG’ was not declared in this scope
COpenGLDriver.cpp:1780: error: ‘GL_FALSE’ was not declared in this scope
COpenGLDriver.cpp:1780: error: ‘glDepthMask’ was not declared in this scope
COpenGLDriver.cpp:1781: error: ‘GL_LEQUAL’ was not declared in this scope
COpenGLDriver.cpp:1781: error: ‘glDepthFunc’ was not declared in this scope
COpenGLDriver.cpp:1783: error: ‘GL_CCW’ was not declared in this scope
COpenGLDriver.cpp:1783: error: ‘glFrontFace’ was not declared in this scope
COpenGLDriver.cpp:1784: error: ‘GL_FLAT’ was not declared in this scope
COpenGLDriver.cpp:1784: error: ‘glShadeModel’ was not declared in this scope
COpenGLDriver.cpp:1785: error: ‘GL_TRUE’ was not declared in this scope
COpenGLDriver.cpp:1785: error: ‘glColorMask’ was not declared in this scope
COpenGLDriver.cpp:1787: error: ‘GL_BLEND’ was not declared in this scope
COpenGLDriver.cpp:1787: error: ‘glEnable’ was not declared in this scope
COpenGLDriver.cpp:1788: error: ‘GL_SRC_ALPHA’ was not declared in this scope
COpenGLDriver.cpp:1788: error: ‘GL_ONE_MINUS_SRC_ALPHA’ was not declared in this scope
COpenGLDriver.cpp:1788: error: ‘glBlendFunc’ was not declared in this scope
COpenGLDriver.cpp:1790: error: ‘GL_STENCIL_TEST’ was not declared in this scope
COpenGLDriver.cpp:1791: error: ‘GL_NOTEQUAL’ was not declared in this scope
COpenGLDriver.cpp:1791: error: ‘glStencilFunc’ was not declared in this scope
COpenGLDriver.cpp:1792: error: ‘GL_KEEP’ was not declared in this scope
COpenGLDriver.cpp:1792: error: ‘glStencilOp’ was not declared in this scope
COpenGLDriver.cpp:1795: error: ‘GL_MODELVIEW’ was not declared in this scope
COpenGLDriver.cpp:1795: error: ‘glMatrixMode’ was not declared in this scope
COpenGLDriver.cpp:1796: error: ‘glPushMatrix’ was not declared in this scope
COpenGLDriver.cpp:1797: error: ‘glLoadIdentity’ was not declared in this scope
COpenGLDriver.cpp:1799: error: ‘GL_TRIANGLE_STRIP’ was not declared in this scope
COpenGLDriver.cpp:1799: error: ‘glBegin’ was not declared in this scope
COpenGLDriver.cpp:1801: error: ‘glColor4ub’ was not declared in this scope
COpenGLDriver.cpp:1802: error: ‘glVertex3f’ was not declared in this scope
COpenGLDriver.cpp:1813: error: ‘glEnd’ was not declared in this scope
COpenGLDriver.cpp:1816: error: ‘glClear’ was not declared in this scope
COpenGLDriver.cpp:1819: error: ‘glPopMatrix’ was not declared in this scope
COpenGLDriver.cpp:1820: error: ‘glPopAttrib’ was not declared in this scope
COpenGLDriver.cpp: In member function ‘virtual void irr::video::COpenGLDriver::setFog(irr::video::SColor, bool, irr::f32, irr::f32, irr::f32, bool, bool)’:
COpenGLDriver.cpp:1830: error: ‘GL_FOG_MODE’ was not declared in this scope
COpenGLDriver.cpp:1830: error: ‘GL_LINEAR’ was not declared in this scope
COpenGLDriver.cpp:1830: error: ‘GL_EXP’ was not declared in this scope
COpenGLDriver.cpp:1830: error: ‘glFogi’ was not declared in this scope
COpenGLDriver.cpp:1837: error: ‘GL_FOG_START’ was not declared in this scope
COpenGLDriver.cpp:1837: error: ‘glFogf’ was not declared in this scope
COpenGLDriver.cpp:1838: error: ‘GL_FOG_END’ was not declared in this scope
COpenGLDriver.cpp:1841: error: ‘GL_FOG_DENSITY’ was not declared in this scope
COpenGLDriver.cpp:1841: error: ‘glFogf’ was not declared in this scope
COpenGLDriver.cpp:1844: error: ‘GLfloat’ was not declared in this scope
COpenGLDriver.cpp:1844: error: expected `;' before ‘data’
COpenGLDriver.cpp:1845: error: ‘GL_FOG_COLOR’ was not declared in this scope
COpenGLDriver.cpp:1845: error: ‘data’ was not declared in this scope
COpenGLDriver.cpp:1845: error: ‘glFogfv’ was not declared in this scope
COpenGLDriver.cpp: In member function ‘virtual void irr::video::COpenGLDriver::draw3DLine(const irr::core::vector3df&, const irr::core::vector3df&, irr::video::SColor)’:
COpenGLDriver.cpp:1856: error: ‘GL_LINES’ was not declared in this scope
COpenGLDriver.cpp:1856: error: ‘glBegin’ was not declared in this scope
COpenGLDriver.cpp:1857: error: ‘glColor4ub’ was not declared in this scope
COpenGLDriver.cpp:1858: error: ‘glVertex3f’ was not declared in this scope
COpenGLDriver.cpp:1862: error: ‘glEnd’ was not declared in this scope
COpenGLDriver.cpp: In member function ‘virtual void irr::video::COpenGLDriver::OnResize(const irr::core::dimension2d<int>&)’:
COpenGLDriver.cpp:1872: error: ‘glViewport’ was not declared in this scope
COpenGLDriver.cpp: In member function ‘virtual void irr::video::COpenGLDriver::setVertexShaderConstant(const irr::f32*, irr::s32, irr::s32)’:
COpenGLDriver.cpp:1890: error: invalid conversion from ‘const irr::f32*’ to ‘int’
COpenGLDriver.cpp:1890: error:   initializing argument 3 of ‘void irr::video::COpenGLExtensionHandler::extGlProgramLocalParameter4fv(int, int, int)’
COpenGLDriver.cpp: In member function ‘virtual void irr::video::COpenGLDriver::setPixelShaderConstant(const irr::f32*, irr::s32, irr::s32)’:
COpenGLDriver.cpp:1899: error: invalid conversion from ‘const irr::f32*’ to ‘int’
COpenGLDriver.cpp:1899: error:   initializing argument 3 of ‘void irr::video::COpenGLExtensionHandler::extGlProgramLocalParameter4fv(int, int, int)’
COpenGLDriver.cpp: In member function ‘virtual bool irr::video::COpenGLDriver::setRenderTarget(irr::video::ITexture*, bool, bool, irr::video::SColor)’:
COpenGLDriver.cpp:2032: error: ‘GL_TEXTURE_2D’ was not declared in this scope
COpenGLDriver.cpp:2032: error: ‘class irr::video::COpenGLTexture’ has no member named ‘getOpenGLTextureName’
COpenGLDriver.cpp:2032: error: ‘glBindTexture’ was not declared in this scope
COpenGLDriver.cpp:2036: error: ‘glCopyTexSubImage2D’ was not declared in this scope
COpenGLDriver.cpp:2043: error: ‘glViewport’ was not declared in this scope
COpenGLDriver.cpp:2054: error: ‘glViewport’ was not declared in this scope
COpenGLDriver.cpp:2059: error: ‘GLbitfield’ was not declared in this scope
COpenGLDriver.cpp:2059: error: expected `;' before ‘mask’
COpenGLDriver.cpp:2064: error: ‘glClearColor’ was not declared in this scope
COpenGLDriver.cpp:2066: error: ‘mask’ was not declared in this scope
COpenGLDriver.cpp:2066: error: ‘GL_COLOR_BUFFER_BIT’ was not declared in this scope
COpenGLDriver.cpp:2070: error: ‘GL_TRUE’ was not declared in this scope
COpenGLDriver.cpp:2070: error: ‘glDepthMask’ was not declared in this scope
COpenGLDriver.cpp:2071: error: ‘mask’ was not declared in this scope
COpenGLDriver.cpp:2071: error: ‘GL_DEPTH_BUFFER_BIT’ was not declared in this scope
COpenGLDriver.cpp:2074: error: ‘mask’ was not declared in this scope
COpenGLDriver.cpp:2074: error: ‘glClear’ was not declared in this scope
COpenGLDriver.cpp: In member function ‘virtual void irr::video::COpenGLDriver::clearZBuffer()’:
COpenGLDriver.cpp:2092: error: ‘GLboolean’ was not declared in this scope
COpenGLDriver.cpp:2092: error: expected `;' before ‘enabled’
COpenGLDriver.cpp:2093: error: ‘GL_DEPTH_WRITEMASK’ was not declared in this scope
COpenGLDriver.cpp:2093: error: ‘enabled’ was not declared in this scope
COpenGLDriver.cpp:2093: error: ‘glGetBooleanv’ was not declared in this scope
COpenGLDriver.cpp:2095: error: ‘GL_TRUE’ was not declared in this scope
COpenGLDriver.cpp:2095: error: ‘glDepthMask’ was not declared in this scope
COpenGLDriver.cpp:2096: error: ‘GL_DEPTH_BUFFER_BIT’ was not declared in this scope
COpenGLDriver.cpp:2096: error: ‘glClear’ was not declared in this scope
COpenGLDriver.cpp: In member function ‘virtual irr::video::IImage* irr::video::COpenGLDriver::createScreenShot()’:
COpenGLDriver.cpp:2113: error: ‘GL_RGB’ was not declared in this scope
COpenGLDriver.cpp:2113: error: ‘GL_UNSIGNED_BYTE’ was not declared in this scope
COpenGLDriver.cpp:2113: error: ‘glReadPixels’ was not declared in this scope
make: *** [COpenGLDriver.o] Error 1
I'm using 32bit Ubuntu 7.04. I tried to install it to the 64bit version of Ubuntu first, but it didn't work so i decided to try in 32bit. I would appreciate any help very much!
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

You need the OpenGL developer package. Don't know how it's called under Ubuntu, but it also depends on your gfx card (in case you want hardware acceleration).
Pörzi
Posts: 9
Joined: Wed Aug 08, 2007 8:16 am

Post by Pörzi »

I installed some OpenGL and other stuff... Now it works! Thank you very much!
I will probably be back soon with another n00b question. :D
ebharv
Posts: 3
Joined: Thu Oct 25, 2007 7:52 pm
Contact:

Post by ebharv »

What packages did you install?
I'm getting the same problem with Ubuntu 7.10.
hessiess
Posts: 47
Joined: Wed Mar 12, 2008 8:39 pm

Post by hessiess »

ebharv
Posts: 3
Joined: Thu Oct 25, 2007 7:52 pm
Contact:

Post by ebharv »

hessiess
PostPosted: Fri Mar 21, 2008 5:02 pm Post subject:
theres a guid here

http://www.irrlicht3d.org/wiki/index.ph ... ingOnLinux
Alright I'll try this tonight.
Post Reply