Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to set up Camera Feed #21

Open
KogdatoDavno opened this issue Jan 2, 2025 · 2 comments
Open

Failed to set up Camera Feed #21

KogdatoDavno opened this issue Jan 2, 2025 · 2 comments

Comments

@KogdatoDavno
Copy link

> 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);
@SueChetty
Copy link

Also experiencing the same error, I am using Godot 4.2

@CatotheCat11
Copy link

CatotheCat11 commented Jan 15, 2025

I found that it works properly if you clone the godot-cpp repository separately and move its folder into the godot-arcore folder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants