gmpxx.h: no such file or directory

前端 未结 4 1377
遇见更好的自我
遇见更好的自我 2021-01-13 02:55

I just installed a brand new copy of mingw (32 bit) downloading it from the official project page from Sourceforge. I installed everything in the package, all compilers and

相关标签:
4条回答
  • 2021-01-13 03:19

    If you are building gmp from source, you need to add the --enable-cxx flag to the configure command.

    0 讨论(0)
  • 2021-01-13 03:26

    You can also copy that to the path"/usr/include/", the system will find it.

    0 讨论(0)
  • 2021-01-13 03:32

    gmpxx.h header file is included in the libgmp-dev package

    You can install it on Ubuntu based machines with this command:

    $ sudo apt-get install libgmp-dev
    
    0 讨论(0)
  • 2021-01-13 03:38

    You need to make sure the is among the directories searched for headers. Find the place where the gmpxx.h header resides and add -I /path/to/header/ on your g++ line.

    0 讨论(0)
提交回复
热议问题