Skip to content
This repository has been archived by the owner on Feb 6, 2025. It is now read-only.

ubuntu runtime error? #3

Open
oUp2Uo opened this issue May 1, 2023 · 3 comments
Open

ubuntu runtime error? #3

oUp2Uo opened this issue May 1, 2023 · 3 comments

Comments

@oUp2Uo
Copy link

oUp2Uo commented May 1, 2023

Hello, have you ever met this problem on Ubuntu when using libMP-example?

[libprotobuf ERROR external/com_google_protobuf/src/google/protobuf/descriptor_database.cc:641] File already exists in database: mediapipe/framework/formats/landmark.proto
[libprotobuf FATAL external/com_google_protobuf/src/google/protobuf/descriptor.cc:2021] CHECK failed: GeneratedDatabase()->Add(encoded_file_descriptor, size): 
terminate called after throwing an instance of 'google::protobuf::FatalException'
  what():  CHECK failed: GeneratedDatabase()->Add(encoded_file_descriptor, size): 
Aborted (core dumped)
@oUp2Uo oUp2Uo changed the title runtime error? ubuntu runtime error? May 1, 2023
@oUp2Uo
Copy link
Author

oUp2Uo commented May 1, 2023

After several hours search on this problem,
I think maybe functions of get landmarks/geometry should be moved into libMP.
In that case, files using libprotobuf will not be compiled in two different places.
This problem will not occur on Windows, only on Ubuntu.
I will try to test this.

@oUp2Uo
Copy link
Author

oUp2Uo commented May 7, 2023

Like what https://github.com/cpvrlab/libmediapipe is doing,
making no protobuf in the header file,
LibMP could be used on Ubuntu.
Otherwise, there will be compiling error.

@rajkundu
Copy link
Owner

Hi! Sorry for the very long delay; I was away for some time and just now am seeing this. I haven't had this error before, unfortunately, as I primarily tested on Windows.

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

No branches or pull requests

2 participants