Re: [WIP] Android port testing
Posted: 19 Jan 2018, 14:41
How do you type in your character name?
The biggest thing I learn in the Android Development class I took was that phone manufacturers are basically Satan.AnyOldName3 wrote: ↑20 Jan 2018, 00:39 even if it's entirely LG's fault for coming up with their own crappy ways of doing things that are prone to breaking.
Code: Select all
[ 2%] Building CXX object components/CMakeFiles/components.dir/sceneutil/lightmanager.cpp.o
/opt/OpenMW/openmw/components/sceneutil/lightmanager.cpp: In member function 'void SceneUtil::LightStateAttribute::applyLight(GLenum, const osg::Light*) const':
/opt/OpenMW/openmw/components/sceneutil/lightmanager.cpp:78:34: error: 'GL_AMBIENT' was not declared in this scope
glLightfv( lightNum, GL_AMBIENT, light->getAmbient().ptr() );
^~~~~~~~~~
/opt/OpenMW/openmw/components/sceneutil/lightmanager.cpp:78:34: note: suggested alternative: 'GL_APIENTRY'
glLightfv( lightNum, GL_AMBIENT, light->getAmbient().ptr() );
^~~~~~~~~~
GL_APIENTRY
/opt/OpenMW/openmw/components/sceneutil/lightmanager.cpp:78:13: error: 'glLightfv' was not declared in this scope
glLightfv( lightNum, GL_AMBIENT, light->getAmbient().ptr() );
^~~~~~~~~
/opt/OpenMW/openmw/components/sceneutil/lightmanager.cpp:78:13: note: suggested alternative: 'mLights'
glLightfv( lightNum, GL_AMBIENT, light->getAmbient().ptr() );
^~~~~~~~~
mLights
/opt/OpenMW/openmw/components/sceneutil/lightmanager.cpp:79:34: error: 'GL_DIFFUSE' was not declared in this scope
glLightfv( lightNum, GL_DIFFUSE, light->getDiffuse().ptr() );
^~~~~~~~~~
/opt/OpenMW/openmw/components/sceneutil/lightmanager.cpp:79:34: note: suggested alternative: 'GL_FALSE'
glLightfv( lightNum, GL_DIFFUSE, light->getDiffuse().ptr() );
^~~~~~~~~~
GL_FALSE
/opt/OpenMW/openmw/components/sceneutil/lightmanager.cpp:80:34: error: 'GL_SPECULAR' was not declared in this scope
glLightfv( lightNum, GL_SPECULAR, light->getSpecular().ptr() );
^~~~~~~~~~~
/opt/OpenMW/openmw/components/sceneutil/lightmanager.cpp:80:34: note: suggested alternative: 'GL_APICALL'
glLightfv( lightNum, GL_SPECULAR, light->getSpecular().ptr() );
^~~~~~~~~~~
GL_APICALL
/opt/OpenMW/openmw/components/sceneutil/lightmanager.cpp:81:34: error: 'GL_POSITION' was not declared in this scope
glLightfv( lightNum, GL_POSITION, light->getPosition().ptr() );
^~~~~~~~~~~
/opt/OpenMW/openmw/components/sceneutil/lightmanager.cpp:81:34: note: suggested alternative: 'GL_POLYGON'
glLightfv( lightNum, GL_POSITION, light->getPosition().ptr() );
^~~~~~~~~~~
GL_POLYGON
/opt/OpenMW/openmw/components/sceneutil/lightmanager.cpp:87:34: error: 'GL_CONSTANT_ATTENUATION' was not declared in this scope
glLightf ( lightNum, GL_CONSTANT_ATTENUATION, light->getConstantAttenuation() );
^~~~~~~~~~~~~~~~~~~~~~~
/opt/OpenMW/openmw/components/sceneutil/lightmanager.cpp:87:34: note: suggested alternative: 'GL_CONSTANT_ALPHA'
glLightf ( lightNum, GL_CONSTANT_ATTENUATION, light->getConstantAttenuation() );
^~~~~~~~~~~~~~~~~~~~~~~
GL_CONSTANT_ALPHA
/opt/OpenMW/openmw/components/sceneutil/lightmanager.cpp:87:13: error: 'glLightf' was not declared in this scope
glLightf ( lightNum, GL_CONSTANT_ATTENUATION, light->getConstantAttenuation() );
^~~~~~~~
/opt/OpenMW/openmw/components/sceneutil/lightmanager.cpp:87:13: note: suggested alternative: 'mLights'
glLightf ( lightNum, GL_CONSTANT_ATTENUATION, light->getConstantAttenuation() );
^~~~~~~~
mLights
/opt/OpenMW/openmw/components/sceneutil/lightmanager.cpp:88:34: error: 'GL_LINEAR_ATTENUATION' was not declared in this scope
glLightf ( lightNum, GL_LINEAR_ATTENUATION, light->getLinearAttenuation() );
^~~~~~~~~~~~~~~~~~~~~
/opt/OpenMW/openmw/components/sceneutil/lightmanager.cpp:88:34: note: suggested alternative: 'GL_BLEND_EQUATION'
glLightf ( lightNum, GL_LINEAR_ATTENUATION, light->getLinearAttenuation() );
^~~~~~~~~~~~~~~~~~~~~
GL_BLEND_EQUATION
/opt/OpenMW/openmw/components/sceneutil/lightmanager.cpp:89:34: error: 'GL_QUADRATIC_ATTENUATION' was not declared in this scope
glLightf ( lightNum, GL_QUADRATIC_ATTENUATION, light->getQuadraticAttenuation() );
^~~~~~~~~~~~~~~~~~~~~~~~
/opt/OpenMW/openmw/components/sceneutil/lightmanager.cpp:89:34: note: suggested alternative: 'GL_INVALID_OPERATION'
glLightf ( lightNum, GL_QUADRATIC_ATTENUATION, light->getQuadraticAttenuation() );
^~~~~~~~~~~~~~~~~~~~~~~~
GL_INVALID_OPERATION
/opt/OpenMW/openmw/components/sceneutil/lightmanager.cpp: In member function 'virtual void SceneUtil::DisableLight::apply(osg::State&) const':
/opt/OpenMW/openmw/components/sceneutil/lightmanager.cpp:326:34: error: 'GL_AMBIENT' was not declared in this scope
glLightfv( lightNum, GL_AMBIENT, mNull.ptr() );
^~~~~~~~~~
/opt/OpenMW/openmw/components/sceneutil/lightmanager.cpp:326:34: note: suggested alternative: 'GL_APIENTRY'
glLightfv( lightNum, GL_AMBIENT, mNull.ptr() );
^~~~~~~~~~
GL_APIENTRY
/opt/OpenMW/openmw/components/sceneutil/lightmanager.cpp:326:13: error: 'glLightfv' was not declared in this scope
glLightfv( lightNum, GL_AMBIENT, mNull.ptr() );
^~~~~~~~~
/opt/OpenMW/openmw/components/sceneutil/lightmanager.cpp:327:34: error: 'GL_DIFFUSE' was not declared in this scope
glLightfv( lightNum, GL_DIFFUSE, mNull.ptr() );
^~~~~~~~~~
/opt/OpenMW/openmw/components/sceneutil/lightmanager.cpp:327:34: note: suggested alternative: 'GL_FALSE'
glLightfv( lightNum, GL_DIFFUSE, mNull.ptr() );
^~~~~~~~~~
GL_FALSE
/opt/OpenMW/openmw/components/sceneutil/lightmanager.cpp:328:34: error: 'GL_SPECULAR' was not declared in this scope
glLightfv( lightNum, GL_SPECULAR, mNull.ptr() );
^~~~~~~~~~~
/opt/OpenMW/openmw/components/sceneutil/lightmanager.cpp:328:34: note: suggested alternative: 'GL_APICALL'
glLightfv( lightNum, GL_SPECULAR, mNull.ptr() );
^~~~~~~~~~~
GL_APICALL
Where I should copy this text?Now copy contents of the steam version into it (I've only tested that one - and right now expansions are required or it will crash):