始めまして。こんにちは。
やりたいこと
rootにFFTWを入れて使用したいです。
こちらのサイト(以下研究室)を参考に現在作業をしております。
既にubuntuにrootは入っており普段から使用しているので研究室内3番の赤字以下のみ実行をしております。
問題点
3番内5番のところまでは問題なく進んだのですが青いbox内の
$sudo cmake ~ 3=ON
が実行されずに
ubuntu
1CMake Error: The source directory "/home" does not appear to contain CMakeLists.txt. 2Specify --help for usage, or press the help button on the CMake GUI.
となります。
試したこと
・CMakeLists.txtを/home内にコピー、FFTディレクトリ内で実行(個人情報絡む名前にしておりますのでfilenameにしています)
ubuntu
1CMake Error: The source "/home/filename/CMakeLists.txt" does not match the source "/home/filename/fftw-3.3.10/CMakeLists.txt" used to generate cache. Re-run cmake with a different source directory.
・CMakeLists.txtを/home内にコピー、homeディレクトリ内で実行
ubuntu
1CMake Error: The source directory "/home" does not appear to contain CMakeLists.txt. 2Specify --help for usage, or press the help button on the CMake GUI.
・研究室内青boxのpython3の箇所のみ削除してみる(rootで使用しているのはC++の方なので)
ubuntu
1CMake Error: The source "/home/filename/CMakeLists.txt" does not match the source "/home/filename/fftw-3.3.10/CMakeLists.txt" used to generate cache. Re-run cmake with a different source directory.
CMakeLists.txtはFFTのインストール時に既に入っており、そこのコードが間違えているような気がしないのですが自分ではわからなかったです。初心者で勉強不足で申し訳ないのですがご存じの方がいらっしゃれば教えて頂けると幸いです。