Subject: CGAL users discussion list
List archive
- From: Subhasree M <>
- To:
- Subject: Re: [cgal-discuss] error while compiling Point_set_processing_3_
- Date: Wed, 12 Oct 2011 19:03:27 +0530
Hello,
Thanks for your suggestions. They solved the problems related to the .lib files.
I tried the alternatives you suggested.
1)setting BLAS_INC_DIR and BLAS_LIB_DIR as environment variables using the binaries from netlib.org, but it gave the same error
"LINK : fatal error LNK1104: cannot open file 'libcblas.lib"
2) Tried your precompiled libraries LAPACK/BLAS/TAUCS and got lipcblas.lib,
but got another error : "cannot open vcf2c.lib"(i forgot the error number)
Downloaded vcf2c.lib and put it in CGAL-3.8\auxiliary\taucs\include directory and compiled it again , but got the following error:
2>jet_smoothing_example.obj : error LNK2019: unresolved external symbol _dgelss_ referenced in function "void __cdecl CGAL::LAPACK::dgelss(int *,int *,int *,double *,int *,double *,int *,double *,double *,int *,double *,int *,int *)" (?dgelss@LAPACK@CGAL@@YAXPAH00PAN010110100@Z)
2>C:\Users\Subha\Desktop\CGAL-3.8\examples\Point_set_processing_3\Debug\jet_smoothing_example.exe : fatal error LNK1120: 1 unresolved externals
I followed one of your earlier suggestions to Laurent Saboret(on Fri, 29 Jan 2010)
for the same query and added #define CGAL_LIB_DIAGNOSTIC at the beginning of e.g. jet_smoothing_example.cpp, and compiled.
The error still persists and the list of errors is as follows :
2>jet_smoothing_example.obj : error LNK2019: unresolved external symbol _dgelss_ referenced in function "void __cdecl CGAL::LAPACK::dgelss(int *,int *,int *,double *,int *,double *,int *,double *,double *,int *,double *,int *,int *)" (?dgelss@LAPACK@CGAL@@YAXPAH00PAN010110100@Z)
2>C:\Users\Subha\Desktop\CGAL-3.8\examples\Point_set_processing_3\Debug\jet_smoothing_example.exe : fatal error LNK1120: 1 unresolved externals
1>normal_estimation.obj : error LNK2019: unresolved external symbol _dgelss_ referenced in function "void __cdecl CGAL::LAPACK::dgelss(int *,int *,int *,double *,int *,double *,int *,double *,double *,int *,double *,int *,int *)" (?dgelss@LAPACK@CGAL@@YAXPAH00PAN010110100@Z)
1>C:\Users\Subha\Desktop\CGAL-3.8\examples\Point_set_processing_3\Debug\normal_estimation.exe : fatal error LNK1120: 1 unresolved externals.
Anticipating your valuable suggestions,
Subhasree.
On Tue, Oct 11, 2011 at 6:11 PM, Laurent Rineau (GeometryFactory) <> wrote:
On mardi 11 octobre 2011 11:27:05 Subhas2>jet_smoothing_example.obj : error LNK2019: unresolved external symbol _dgelss_ referenced in function "void __cdecl CGAL::LAPACK::dgelss(int *,int *,int *,double *,int *,double *,int *,double *,double *,int *,double *,int *,int *)" (?dgelss@LAPACK@CGAL@@YAXPAH00PAN010110100@Z) 2>C:\Users\Subha\Desktop\CGAL-3.8\examples\Point_set_processing_3\Debug\jet_smoothing_example.exe : fatal error LNK1120: 1 unresolved externalsree M wrote:[MSVC build log]
> Hello,
>
> When I compile Point_set_processing_3_
> example.sln, I get the following message:
> 6>LINK : fatal error LNK1104: cannot open file 'libcblas.lib'
> I am using Windows 7 and the following :Probably you did not setup the CMake configuration correctly.
> 1) Visual Studio(9) 2008
> 2)Boost 1.46.1
> 3) CMake 2.6.4
> 4) CGAL 3.8
> 5) QT 4.7.1
>
> I downloaded all the LAPACK from
> http://www.netlib.org/clapack/LIB_WINDOWS/prebuilt_libraries_windows.html.,
> but couldn't get
> 'libcblas.lib'.
If you want to avoid to do that yourself, you can relaunch the CGAL Windows
installer, and ask it to download our precompiled LAPACK/BLAS/TAUCS libraries.
Then re-run cmake for Point_set_processing_3 from an empty cache. That time it
will find BLAS automatically.
If you really want to use the binaries from netlib.org, then you probably need
to define BLAS_INC_DIR and BLAS_LIB_DIR in your environment variables.
--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss
- [cgal-discuss] error while compiling Point_set_processing_3_, Subhasree M, 10/11/2011
- Re: [cgal-discuss] error while compiling Point_set_processing_3_, Laurent Rineau (GeometryFactory), 10/11/2011
- Re: [cgal-discuss] error while compiling Point_set_processing_3_, Subhasree M, 10/12/2011
- Re: [cgal-discuss] error while compiling Point_set_processing_3_, Laurent Saboret, 10/12/2011
- Re: [cgal-discuss] error while compiling Point_set_processing_3_, Subhasree M, 10/12/2011
- Re: [cgal-discuss] error while compiling Point_set_processing_3_, Laurent Rineau (GeometryFactory), 10/11/2011
Archive powered by MHonArc 2.6.16.