On 19 February 2018 at 21:58, wrote:
> Mr. Hart,
>
> May I ask a follow-up question then? I did the same things on my Mac OS
> desktop as on my Ubuntu laptop, same g++ command (for compiling the same
> cpp file), same configure command (for installing mpir). Well, I didn't
> have to manually in
Mr. Hart,
May I ask a follow-up question then? I did the same things on my Mac OS
desktop as on my Ubuntu laptop, same g++ command (for compiling the same
cpp file), same configure command (for installing mpir). Well, I didn't
have to manually install m4 on my Mac OS while I had to do it on m
You need to give the location of the .h files (mpir.h or gmp.h if you pass
--enable-gmpcompat to configure). For this you must use the -I directive to
gcc. You also need to tell it where to find the library, with the -L
directive. These are always required when linking against libraries.
--
You r
After (supposedly semi-)successfully installing mpir thanks to BIll Hart, I
tried to compile and run my .cpp program. But I got a list of compile
errors, which I believe is linked to mpir.
First, I used
./configure --with-yasm=/usr/local/bin/yasm --enable-cxx
to install mpir on my Ubuntu