I get unresolved external symbol when i try to multiply or divide.
#include <iostream>
#include <mpir.h>
#include <mpirxx.h>
using namespace std;
// ============================================
// ============================================
// ============================================
int main()
{
mpz_class first(123), second(123), result(0);
result = first + second;
result = first - second;
result = first * second;
result = first / second;
// cout << result.get_d();
return 0;
}
I include both C and C++ header and link with C and C++ .a file also.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"mpir-devel" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/mpir-devel?hl=en
-~----------~----~----~----~------~----~------~--~---