質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.46%
Ubuntu

Ubuntuは、Debian GNU/Linuxを基盤としたフリーのオペレーティングシステムです。

Q&A

解決済

1回答

1177閲覧

Autoware AIのインストールでエラー

prog_tamaza

総合スコア14

Ubuntu

Ubuntuは、Debian GNU/Linuxを基盤としたフリーのオペレーティングシステムです。

0グッド

0クリップ

投稿2021/09/30 03:11

編集2021/09/30 05:19

Ubuntu 18.04
CUDA 10.0
ROS Melodic

Autoware1.14をインストールしようとする際に、エラーが出力されて進まない状態となっています。
$AUTOWARE_COMPILE_WITH_CUDA=1 colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release
を実行した際に、以下のエラーが出力されます。


--- stderr: lidar_apollo_cnn_seg_detect
In file included from /home/caffe/distribute/include/caffe/blob.hpp:9:0,
from /home/caffe/distribute/include/caffe/caffe.hpp:7,
from /home/autoware.ai/src/autoware/core_perception/lidar_apollo_cnn_seg_detect/include/cnn_segmentation.h:24,
from /home/autoware.ai/src/autoware/core_perception/lidar_apollo_cnn_seg_detect/nodes/lidar_apollo_cnn_seg_detect_node.cpp:16:
/home/caffe/distribute/include/caffe/proto/caffe.pb.h:17:2: error: #error This file was generated by an older version of protoc which is
error This file was generated by an older version of protoc which is
^~~~~
/home/caffe/distribute/include/caffe/proto/caffe.pb.h:18:2: error: #error incompatible with your Protocol Buffer headers. Please
error incompatible with your Protocol Buffer headers. Please
^~~~~
/home/caffe/distribute/include/caffe/proto/caffe.pb.h:19:2: error: #error regenerate this file with a newer version of protoc.
error regenerate this file with a newer version of protoc.
^~~~~
make[2]: *** [CMakeFiles/lidar_apollo_cnn_seg_detect.dir/nodes/lidar_apollo_cnn_seg_detect_node.cpp.o] Error 1
make[1]: *** [CMakeFiles/lidar_apollo_cnn_seg_detect.dir/all] Error 2
make: *** [all] Error 2


Failed <<< lidar_apollo_cnn_seg_detect [13.7s, exited with code 2]
Aborted <<< gnss_localizer [32.4s]
Aborted <<< map_tf_generator [10.8s]
Aborted <<< integrated_viewer [33.0s]
Aborted <<< lidar_naive_l_shape_detect [24.6s]
Aborted <<< lanelet2_routing [2min 1s]
Aborted <<< lidar_fake_perception [29.5s]
Aborted <<< lidar_shape_estimation [29.2s]

Summary: 93 packages finished [2min 31s]
1 package failed: lidar_apollo_cnn_seg_detect
7 packages aborted: gnss_localizer integrated_viewer lanelet2_routing lidar_fake_perception lidar_naive_l_shape_detect lidar_shape_estimation map_tf_generator
16 packages had stderr output: adi_driver autoware_camera_lidar_calibrator autoware_connector autoware_driveworks_gmsl_interface autoware_driveworks_interface autoware_pointgrey_drivers citysim glviewer kvaser lanelet2_io lidar_apollo_cnn_seg_detect lidar_point_pillars lidar_shape_estimation microstrain_driver pc2_downsampler sick_lms5xx
69 packages not processed


原因と解決方法がわかる方がいましたら回答お願いします。

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

jbpb0

2021/10/06 08:41 編集

> /home/caffe/distribute/include/caffe/proto/caffe.pb.h:17:2: error: #error This file was generated by an older version of protoc which is https://tok41.github.io/caffe-first-build.html の「トラブルシュート」の「caffe/proto/caffe.pb.h が存在しないと怒られる」 によると、「caffe.pb.h」は「protoc」を使って作られるものですが、その時に使った「protoc」が古いバージョンなのでエラーになってるようです 新し目の「protoc」を使って「caffe.pb.h」を作り直したらいいのではないですかね 【追記】 もしかしたら逆に、 https://beike.hatenablog.jp/entry/2021/02/25/185936 に書かれてるケースのように、必要なものよりも新しすぎる「protobuf」がどこかに入ってて、それが邪魔してるのかもしれません
guest

回答1

0

自己解決

pythonのバージョン設定が原因だったようです.ご回答ありがとうございました。

投稿2021/10/04 09:35

prog_tamaza

総合スコア14

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.46%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問