Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
最初に gmp.h をインクルードし、コンパイルすると、関数 ( float 関数、 mpf_t ) が見つからないと言われました。次に、C++ プロジェクトに gmpxx.h を含める必要があると書かれているページを見つけましたが、コンパイルすると、コンパイラが gmpxx を見つけることができないとだけ書かれています。それはGMPでインストールされませんか?
--enable-cxx を指定して GMP をビルドすると、動作するはずです。