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

//mediapipe/calculators/tensor:image_to_tensor_converter_gl_buffer #1684

Closed
nyanmn opened this issue Mar 1, 2021 · 1 comment
Closed

//mediapipe/calculators/tensor:image_to_tensor_converter_gl_buffer #1684

nyanmn opened this issue Mar 1, 2021 · 1 comment
Assignees
Labels
legacy:pose Pose Detection related issues type:build/install For Build and Installation issues

Comments

@nyanmn
Copy link

nyanmn commented Mar 1, 2021

When I guild for pose, I have the following error.
Build command
bazel build -c opt --copt -DMESA_EGL_NO_X11_HEADERS --copt -DEGL_NO_X11 mediapipe/examples/desktop/pose_tracking:pose_tracking_gpu

Errors

ERROR: /home/itc/mediapipe/mediapipe/calculators/tensor/BUILD:620:11: C++ compilation of rule '//mediapipe/calculators/tensor:image_to_tensor_converter_gl_buffer' failed (Exit 1) gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections ... (remaining 67 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
mediapipe/calculators/tensor/image_to_tensor_converter_gl_buffer.cc: In member function 'virtual absl::lts_2020_09_23::StatusOr<mediapipe::Tensor> mediapipe::{anonymous}::GlProcessor::Convert(const mediapipe::Image&, const mediapipe::RotatedRect&, const mediapipe::Size&, float, float)':
mediapipe/calculators/tensor/image_to_tensor_converter_gl_buffer.cc:315:12: error: could not convert 'tensor' from 'mediapipe::Tensor' to 'absl::lts_2020_09_23::StatusOr<mediapipe::Tensor>'
     return tensor;
            ^~~~~~
Target //mediapipe/examples/desktop/pose_tracking:pose_tracking_gpu failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 1136.493s, Critical Path: 955.86s
INFO: 1422 processes: 1422 linux-sandbox.
FAILED: Build did NOT complete successfully


What could be wrong?

@sgowroji sgowroji self-assigned this Mar 1, 2021
@sgowroji sgowroji added legacy:pose Pose Detection related issues type:build/install For Build and Installation issues labels Mar 1, 2021
@sgowroji sgowroji assigned camillol and unassigned sgowroji Mar 4, 2021
@sgowroji sgowroji added the stat:awaiting googler Waiting for Google Engineer's Response label Mar 4, 2021
@camillol
Copy link
Contributor

camillol commented Mar 9, 2021

I think your version of GCC is too old. It needs to implement DR1579.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
legacy:pose Pose Detection related issues type:build/install For Build and Installation issues
Projects
None yet
Development

No branches or pull requests

3 participants