Skip to content
This repository was archived by the owner on Nov 24, 2021. It is now read-only.
This repository was archived by the owner on Nov 24, 2021. It is now read-only.

posix-support "error: ‘s_GLShaderDevice’ was not declared in this scope" #87

@Titaniumtown

Description

@Titaniumtown

In file included from /home/simon/Engine/src/materialsystem/shaderapigl/DeviceManager.cpp:10:
/home/simon/Engine/src/materialsystem/shaderapigl/ShaderAPIGL.h:31:8: error: ‘CShaderDeviceEmpty’ does not name a type; did you mean ‘CShaderDevice’?
31 | static CShaderDeviceEmpty s_GLShaderDevice;
| ^~~~~~~~~~~~~~~~~~
| CShaderDevice
In file included from /home/simon/Engine/src/public/materialsystem/imaterialsystem.h:19,
from /home/simon/Engine/src/public/materialsystem/imaterial.h:17,
from /home/simon/Engine/src/public/shaderapi/ishaderdynamic.h:17,
from /home/simon/Engine/src/public/shaderapi/ishaderapi.h:17,
from /home/simon/Engine/src/materialsystem/shaderapigl/DeviceManager.h:10,
from /home/simon/Engine/src/materialsystem/shaderapigl/DeviceManager.cpp:8:
/home/simon/Engine/src/materialsystem/shaderapigl/ShaderAPIGL.h: In function ‘void* __CreateCOpenGLShaderDeviceIShaderDevice_interface()’:
/home/simon/Engine/src/materialsystem/shaderapigl/ShaderAPIGL.h:35:44: error: ‘s_GLShaderDevic ’ was not declared in this scope; did you mean ‘CGLShaderDevice’?
35 | SHADER_DEVICE_INTERFACE_VERSION, s_GLShaderDevice )
| ^~~~~~~~~~~~~~~~
/home/simon/Engine/src/public/tier1/interface.h:124:122: note: in definition of macro ‘EXPOSE_SINGLE_INTERFACE_GLOBALVAR_WITH_NAMESPACE’
124 | static void* __Create##className##interfaceName##_interface() {return static_cast<interfaceNamespace interfaceName >( &globalVarName );}
| ^~~~~~~~~~~~~
/home/simon/Engine/src/materialsystem/shaderapigl/ShaderAPIGL.h:34:1: note: in expansion of macro ‘EXPOSE_SINGLE_INTERFACE_GLOBALVAR’
34 | EXPOSE_SINGLE_INTERFACE_GLOBALVAR( COpenGLShaderDevice, IShaderDevice,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/simon/Engine/src/materialsystem/shaderapigl/DeviceManager.cpp: In function ‘void
ShaderInterfaceFactory(const char*, int*)’:
/home/simon/Engine/src/materialsystem/shaderapigl/DeviceManager.cpp:23:42: error: ‘s_GLShaderDevice’ was not declared in this scope; did you mean ‘CGLShaderDevice’?
23 | return static_cast< IShaderDevice* >( &s_GLShaderDevice );
| ^~~~~~~~~~~~~~~~
| CGLShaderDevice

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions