Subject: CGAL users discussion list
List archive
- From: Laurent Saboret <>
- To:
- Subject: Re: [cgal-discuss] Linking error in compiling TAUCS libs
- Date: Mon, 26 May 2008 09:53:33 +0200
Hi Kevin,
A Google search of "error LNK2001: unresolved external symbol __ftol2" indicates that:
If your source code includes a cast from double to long types, VC7 will generate a call to _ftol2.
Indeed, build_taucs_win32_for_CGAL.bat expects to be called from a Visual C++ 7.1 prompt shell (see CGAL-README.TXT).
Which version of VC++ are you using?
Best regards,
--
Laurent Saboret
INRIA Sophia-Antipolis
a écrit :
Hi all, I need to recompile TAUCS (on Windows) but I encountered a problem:
I download taucs_full.tgz (TAUCS with precompiled external libraries) from
CGAL download page.
I run the script build_taucs_win32_for_CGAL.bat to compile and install TAUCS
in MS-DOS Prompt Shell.
The compilation stops at some "unresolved external symbol" linking error as
follows:
........
cl /nologo /MD /F64000000 /Febin\\win32_MD\\direct.exe
obj\\win32_MD\\
direct.obj lib\\win32_MD\\libtaucs.lib external\\lib\\win32\\liblapack.lib
ext
ernal\\lib\\win32\\libf77blas.lib external\\lib\\win32\\libcblas.lib
external\\l
ib\\win32\\libatlas.lib external\\lib\\win32_MD\\libmetis.lib
external\\lib\\win
32_MD\\vcf2c.lib
libmetis.lib(fm.obj) : error LNK2001: unresolved external symbol __ftol2
libmetis.lib(balance.obj) : error LNK2001: unresolved external symbol __ftol2
libmetis.lib(match.obj) : error LNK2001: unresolved external symbol __ftol2
vcf2c.lib(lread.obj) : error LNK2001: unresolved external symbol __ftol2
libmetis.lib(ometis.obj) : error LNK2001: unresolved external symbol __ftol2
libmetis.lib(initpart.obj) : error LNK2001: unresolved external symbol __ftol2
libmetis.lib(pmetis.obj) : error LNK2001: unresolved external symbol __ftol2
libmetis.lib(sfm.obj) : error LNK2001: unresolved external symbol __ftol2
bin\\win32_MD\\direct.exe : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
Where should 'ftol2' be defined? How do I resolve this problem?
Thank you in advance!
Kevin
- Linking error in compiling TAUCS libs, kevin . kai . xu, 05/25/2008
- Re: [cgal-discuss] Linking error in compiling TAUCS libs, Laurent Saboret, 05/26/2008
- Re: [cgal-discuss] Linking error in compiling TAUCS libs, Kevin Xu, 05/26/2008
- Re: [cgal-discuss] Linking error in compiling TAUCS libs, Laurent Saboret, 05/26/2008
- Re: [cgal-discuss] Linking error in compiling TAUCS libs, Kevin Xu, 05/27/2008
- Re: [cgal-discuss] Linking error in compiling TAUCS libs, Laurent Saboret, 05/27/2008
- [cgal-discuss] CGAL 3.3.1 slow with VC++2008 ?, Johan Verbert, 05/28/2008
- Re: [cgal-discuss] CGAL 3.3.1 slow with VC++2008 ?, Fernando Cacciola, 05/28/2008
- Re: [cgal-discuss] CGAL 3.3.1 slow with VC++2008 ?, Johan Verbert, 05/28/2008
- Re: [cgal-discuss] CGAL 3.3.1 slow with VC++2008 ?, Ophir Setter, 05/29/2008
- Re: [cgal-discuss] CGAL 3.3.1 slow with VC++2008 ?, Fernando Cacciola, 05/29/2008
- Re: [cgal-discuss] CGAL 3.3.1 slow with VC++2008 ?, Ophir Setter, 05/29/2008
- Re: [cgal-discuss] CGAL 3.3.1 slow with VC++2008 ?, Fernando Cacciola, 05/28/2008
- Re: [cgal-discuss] Linking error in compiling TAUCS libs, Kevin Xu, 05/27/2008
- Re: [cgal-discuss] Linking error in compiling TAUCS libs, Laurent Saboret, 05/26/2008
- Re: [cgal-discuss] Linking error in compiling TAUCS libs, Kevin Xu, 05/26/2008
- Re: [cgal-discuss] Linking error in compiling TAUCS libs, Laurent Saboret, 05/26/2008
Archive powered by MHonArc 2.6.16.