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
If you are building gmp from source, you need to add the --enable-cxx flag to the configure command.
You can also copy that to the path"/usr/include/", the system will find it.
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
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.