Skip to content

Failed to set up Camera Feed  #21

Description

@KogdatoDavno
> Task :plugin:buildCMakeDebug[arm64-v8a] FAILED
C/C++: ninja: Entering directory `C:\Users\kogdato\godot_arcore\plugin\.cxx\Debug\4x6f3p33\arm64-v8a'
C/C++: C:/Users/kogdato/godot_arcore/plugin/src/main/cpp/background_renderer.cpp:21:11: error: no member named 'set_name' in 'godot::CameraFeed'
C/C++: C:/Users/kogdato/godot_arcore/plugin/src/main/cpp/background_renderer.cpp:38:11: error: no member named 'set_external' in 'godot::CameraFeed'
C/C++: C:/Users/kogdato/godot_arcore/plugin/src/main/cpp/background_renderer.cpp:40:33: error: no member named 'get_texture_tex_id' in 'godot::CameraFeed'

Just tried with console and Android Studio, result is the same, IDE always asks to rename the references in background_renderer.cpp:

  • m_feed->set_name("ARCore");
  • m_feed->set_external(p_width, p_height);
  • m_camera_texture_id = m_feed->get_texture_tex_id(CameraServer::FEED_YCBCR_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

    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