Cannot find the protoc header files

Đang mở
#1,980 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
30/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
cpp, macos
Lĩnh vực
build-system

Hướng nghiên cứu

Reproduce the macOS M2 ./configure failure with protoc 25.3.0, then inspect how the configuration check locates google/protobuf/compiler/command_line_interface.h. Done means ./configure finds the protoc headers without reporting the error.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug Maintainability Protobuf

Hello,

I am trying to build OLA from source on macos (M2) but when running ./configure I run into this problem:

checking for protoc... /Users/user1/miniconda3/bin/protoc
checking protoc version... 25.3.0
checking for google/protobuf/compiler/command_line_interface.h... no
configure: error: Cannot find the protoc header files

I have tried various ways of installing protobuf but I cannot seem to fix it, can anyone help?

Ngôn ngữ chính
C++
Star
773
Fork
233
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của OpenLightingProject/ola

Tất cả issue của OpenLightingProject/ola

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.