Subject: CGAL users discussion list
List archive
- From: "Laurent Rineau (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] TAUCS problems once more
- Date: Thu, 19 Aug 2010 18:06:33 +0200
- Organization: GeometryFactory
On Thursday 19 August 2010 17:53:03
wrote:
> Hi Laurent,
>
> Thank you very much for your reply. I remove that file, but I got another
> error LINK : fatal error LNK1104: cannot open file
> 'libtaucs-vc90-mt-gd.pdb
Ooops. My previous proposal was not a good idea.
I do not know why this file is corrupted. It was generated long ago, and I
would not really like to recompile TAUCS with VC9.
I suggest to change things a bit:
- copy libtaucs-vc90-mt.lib (without "-gd") to libtaucs.lib,
- copy libmetis-vc90-mt.lib (without "-gd") to libmetis.lib,
- copy the attached file to CGAL-3.6.1/include/CGAL/auto_link/TAUCS.h
That new TAUCS auto-link file removes the name mangling for TAUCS and Metis.
That way, you will always use the Release version of TAUCS and Metis, even in
Debug builds. That setup will be the setup used in CGAL-3.7 (to be released
soon).
--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/
// Copyright (c) 1997-2004 Utrecht University (The Netherlands), // ETH Zurich (Switzerland), Freie Universitaet Berlin (Germany), // INRIA Sophia-Antipolis (France), Martin-Luther-University Halle-Wittenberg // (Germany), Max-Planck-Institute Saarbruecken (Germany), RISC Linz (Austria), // and Tel-Aviv University (Israel). All rights reserved. // // This file is part of CGAL (www.cgal.org); you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public License as // published by the Free Software Foundation; version 2.1 of the License. // See the file LICENSE.LGPL distributed with CGAL. // // Licensees holding a valid commercial license may use this file in // accordance with the commercial license agreement provided with the software. // // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. // // $URL: svn+ssh://scm.gforge.inria.fr/svn/cgal/trunk/Installation/include/CGAL/auto_link/TAUCS.h $ // $Id: TAUCS.h 57926 2010-08-10 14:07:57Z lrineau $ // // Author(s) : Laurent Saboret #ifndef CGAL_AUTO_LINK_TAUCS_H #define CGAL_AUTO_LINK_TAUCS_H // Skip the whole file if auto-link is off #if !defined(CGAL_NO_AUTOLINK_TAUCS) && !defined(CGAL_NO_AUTOLINK) #if defined(_WIN32) && !defined(_WIN64) // if Windows 32 bits // CGAL ships with TAUCS for Windows 32 bits, i.e this set of libraries (e.g. for VC++ 8 /MD): // libtaucs-vc80-mt.lib libmetis-vc80-mt.lib liblapack.lib libf77blas.lib libcblas.lib libatlas.lib vcf2c-vc80-mt.lib // // Notes: - Order matters. // - Libraries with no "vc" toolset are compiled by gcc/g77. They are // compatible with VC++ 7.1, 8.0 and 9.0, and with all VC++ runtimes. // - Tested with 7.1, 8.0 and 9.0. #define CGAL_LIB_NAME libtaucs #include <CGAL/auto_link/auto_link.h> #define CGAL_LIB_NAME libmetis #include <CGAL/auto_link/auto_link.h> // Link with LAPACK, BLAS and F2C #include <CGAL/auto_link/LAPACK.h> #endif // Win32 #ifdef _WIN64 // if Windows 64 bits // ATLAS is not compatible with Win64, thus CGAL ships with CLAPACK and CBLAS. // VC++ >= 8.0 is compatible with Windows 64 bits. // The set set of libraries is (e.g. for VC++ 8 /MD): // libtaucs-vc80-mt.lib libmetis-vc80-mt.lib clapack-vc80-mt.lib blas-vc80-mt.lib vcf2c-vc80-mt.lib // // Notes: - Order matters. // - Tested with VC++ 8.0 and 9.0. #define CGAL_LIB_NAME libtaucs #define CGAL_AUTO_LINK_NOMANGLE #include <CGAL/auto_link/auto_link.h> #define CGAL_LIB_NAME libmetis #define CGAL_AUTO_LINK_NOMANGLE #include <CGAL/auto_link/auto_link.h> // Link with LAPACK, BLAS and F2C #include <CGAL/auto_link/LAPACK.h> #endif // _WIN64 #endif // CGAL_NO_AUTOLINK_TAUCS && CGAL_NO_AUTOLINK #endif // CGAL_AUTO_LINK_TAUCS_H
- [cgal-discuss] TAUCS problems once more, wangruisheng, 08/19/2010
- Re: [cgal-discuss] TAUCS problems once more, Laurent Rineau (GeometryFactory), 08/19/2010
Archive powered by MHonArc 2.6.16.