LoginSignup
1
0

More than 3 years have passed since last update.

DarknetのMakefileを変更して再ビルドする

Last updated at Posted at 2020-11-20

はじめに

以前、Darknetを使用して物体検出にチャレンジしてみました。
【参考】Jetson Nanoを使って物体検出(YOLO)
Darknetでは、設定ファイルであるMakefileの内容を更新後、ターミナル上でmakeと打ち込んでビルドすることになります。
この時、Makefileの内容を書き間違えたため、Makefileの内容を変更して保存し、再びmakeを実行したところ、エラーが出てしまいました。

Makefileの内容を変更して再ビルドする

Darknetを再ビルドするには既存のコンパイル環境を削除する必要があります。
手順は簡単で下記を実行するだけです。

#darknetディレクトリに移動
cd darknet

#既存の環境を削除
make clean

#再ビルド実行
make
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0