Skip to content

Build error because bgfx/Demo.java needs to be updated #63

@MaciejV

Description

@MaciejV

From the log from building a fresh clone:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.14.1:compile (default-compile) on project lwjgl3-demos: Compilation failure
[ERROR] /home/.../lwjgl3-demos/src/org/lwjgl/demo/bgfx/Demo.java:[131,39] cannot find symbol
[ERROR] symbol: method format()
[ERROR] location: class org.lwjgl.bgfx.BGFXResolution

After replacing init.resolution().format() with init.resolution().formatColor() | init.resolution().formatDepthStencil() in line 131, it compiles. I just guessed and doubt this is right though.

(Afterwards, when I try to run org.lwjgl.demo.bgfx.Cubes, for example, I get "Error initializing bgfx demo" caused by "No demo shaders supported for Vulkan renderer" at runtime, I don't know if this is related.)

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