0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

WARNING - FreeImage is not set up correctly. Please ensure FreeImage is set up correctly. というエラーが出た

Posted at

経緯

UbuntuにNVIDIAのcuDNNをインストールしようとして、
公式ドキュメントのinstallation Guideに沿って進めていったところ、1.4. Verifying the Install on Linux
make clean && make
を実行したときに以下のようなのwarnningが出て、mnistCUDNNが作成できなかった。

test.c:1:10: fatal error: FreeImage.h: そのようなファイルやディレクトリはありません
 #include "FreeImage.h"
          ^~~~~~~~~~~~~
compilation terminated.
>>> WARNING - FreeImage is not set up correctly. Please ensure FreeImage is set up correctly. <<<

解決法

以下を実行してFreeImageをインストールする。

sudo apt-get install libfreeimage3 libfreeimage-dev

再度make clean && make以下を実行し、無事
Test passed!となった。

0
1
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
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?