Skip to content

iOS HelloCardboard build fails following c++20 update #720

Description

@tellypresence

Following updates to iOS "HelloCardboard" project, build fails

The problem

Line 57 in screen_params.mm
Build error: No member named 'starts_with' in 'std::string'
Image

The solution

Fix is as easy as updating C++ Language Dialect in sdk sub project

Before:

Dialect is still set to C++17

Image

After:

Select C++20 from dropdown menu

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions