[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Got error while using gmp3.1.1
From: |
s k |
Subject: |
Got error while using gmp3.1.1 |
Date: |
Sat, 28 Oct 2000 03:23:48 GMT |
Good morning
My name is Santi K. I use gmp3.1.1 (gmp.h) in Visual C++.
I tried to build an test program in INSTALL file (gmp3.1.1.tar.gz)
but I got this error
" gmp.cpp : error C2065: '__gmpz_out_str' : undeclared
identifier "
So I comment lines -> mpz_out_str (stdout, 10, p); and
fputc ('\n', stdout);
Now I have an error when linking instread
" gmp.obj : error LNK2001: unresolved external symbol ___gmpz_clear
gmp.obj : error LNK2001: unresolved external symbol ___gmpz_mul
gmp.obj : error LNK2001: unresolved external symbol ___gmpz_set_str
gmp.obj : error LNK2001: unresolved external symbol ___gmpz_init
Debug/gmptest.exe : fatal error LNK1120: 4 unresolved externals
Error executing link.exe.
gmptest.exe - 5 error(s), 0 warning(s) "
How can I fix these errors ?
Thanks in advance
Santi K.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
- Got error while using gmp3.1.1,
s k <=