4 Jul
2013
4 Jul
'13
9:23 p.m.
I'm a bit of a newbie and I ran into some issues using gmp with boost.
You need to add
-lgmp to the end of your command line, and probably an -L option before that to point to the directory containing the gmp library files - please see the GCC manual for information on those options. HTH, John.
Correct. Because, when using these data types, Boost.Multiprecision simply wraps GMP. Therefore the underlying GMP library needs to be linked into the project. Boost.Multiprecision also provides its own set of independent types such ass cpp_int, etc. Sincerely, Chris.