Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] dgelss cannot be found CGAL3.5 OSX10.6.2 gcc4.2.1 cmake2.6 taucs

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] dgelss cannot be found CGAL3.5 OSX10.6.2 gcc4.2.1 cmake2.6 taucs


Chronological Thread 
  • From: Laurent Saboret <>
  • To:
  • Subject: Re: [cgal-discuss] dgelss cannot be found CGAL3.5 OSX10.6.2 gcc4.2.1 cmake2.6 taucs
  • Date: Thu, 28 Jan 2010 17:04:39 +0100
  • Organization: INFOTERRA

Hi Thibault,

LAPACK seems properly installed on your machine and CMake detects it.

On Windows, LAPACK is added to link step via a feature called auto-linking.
Please add
#define CGAL_LIB_DIAGNOSTIC
at the beginning of e.g. jet_smoothing_example.cpp, compile it and post the compiler's output.

Regards,
Laurent Saboret


Thibault LUGINBÜHL wrote:
Thanks for your help,

Here is a screenshot of my folder : C:\Program Files\CGAL-3.5.1\auxiliary\taucs\lib
taucsDirectorty

Here is the output of CMake in the folder : C:\Program Files\CGAL-3.5.1\examples\Point_set_processing_3 :

Build type: Release

USING CXXFLAGS = ' /DWIN32 /D_WINDOWS /W3 /Zm1000 /EHsc /GR -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS /fp:strict /fp:except- /MD /O2 /Ob2 /D NDEBUG'

USING EXEFLAGS = ' /STACK:10000000 /machine:I386 /INCREMENTAL:NO'

Targetting Visual Studio 9 2008

Target build enviroment supports auto-linking

Using VC90 compiler.

Generator uses intermediate configuration directory: $(OutDir)

USING DEBUG CXXFLAGS = ' /DWIN32 /D_WINDOWS /W3 /Zm1000 /EHa /GR -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS /fp:strict /fp:except- /FR /wd4267 /wd4311 /wd4800 /wd4503 /wd4244 /wd4345 /wd4996 /wd4396 /wd4018 /D_DEBUG /MDd /Zi /Ob0 /Od /RTC1'

USING DEBUG EXEFLAGS = ' /STACK:10000000 /machine:I386 /LARGEADDRESSAWARE /debug /INCREMENTAL:YES'

USING RELEASE CXXFLAGS = ' /DWIN32 /D_WINDOWS /W3 /Zm1000 /EHa /GR -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS /fp:strict /fp:except- /FR /wd4267 /wd4311 /wd4800 /wd4503 /wd4244 /wd4345 /wd4996 /wd4396 /wd4018 /MD /O2 /Ob2 /D NDEBUG'

USING RELEASE EXEFLAGS = ' /STACK:10000000 /machine:I386 /LARGEADDRESSAWARE /INCREMENTAL:NO'

LAPACK include: C:/Program Files/CGAL-3.5.1/auxiliary/taucs/include

LAPACK definitions:

LAPACK library directories: C:/Program Files/CGAL-3.5.1/auxiliary/taucs/lib

LAPACK link flags:

BLAS include: C:/Program Files/CGAL-3.5.1/auxiliary/taucs/include

BLAS definitions:

BLAS library directories: C:/Program Files/CGAL-3.5.1/auxiliary/taucs/lib

BLAS link flags:

Configuring done

Generating done



Laurent Saboret a écrit :
Hi Thibault,

On Windows, CGAL searches for LAPACK in P:/ath/to/TAUCS/auxiliary/taucs.
Please post the content of this folder on your PC.

LAPACK should be detected at CMake stage.
Please run again CMake in e.g.  jet_smoothing_example's folder and post its output
(I recommend you do use cmake-gui to see CMake's output).

Best regards,
Laurent Saboret


Thibault LUGINBÜHL wrote:
Hi Laurent,

Thanks for your answer, but I checked it.
I have lapack.lib in the taucs directory, I even tried to manually add the directory and the name of the lib in the options of visual studio, but the problem remains the same.
I also tried to download the latest version of clapack, compiled it and tried to use this one but nothing changed.
The exact same error appears in different examples : jet_smoothing_example, single_estimation, mesh_estimation, Compute_Ridges_Umbilics.
The error is :
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)

Regards,
Thibault LUGINBÜHL

Laurent Saboret a écrit :
Hi Thibault,

You need the LAPACK library to compile the normal estimation example.

To install it:
Run CGAL 3.5.1 Windows installer, select your platform and compiler, and check the option to install LAPACK, BLAS and TAUCS libraries.
Then follow the instructions to compile CGAL.

Best regards,
Laurent Saboret


wrote:
Hi,

I have the same problem but on winXP with VS2008.
I used cmake2.6 to generate all examples en demos. But the projects using
lapack failed at the linking. I have the same message : CGAL::LAPACK::dgelss
couldn't be found. (I try to compile the normal estimation project in the point
set processing package)
I don't have the same options in cmake as you have on OSX10.6.2 apparently.

Does anyone knows how to make it work under this configuration XP SP2 32bit,
VS2008 ?

Thanks in advance,
Thibault LUGINBÜHL
 
Ce courrier électronique et toutes les pièces éventuellement jointes qu’il contient sont CONFIDENTIELS et destinés exclusivement à l’usage de leur destinataire. Si une erreur de transmission ou une adresse erronée a mal dirigée ce courrier, merci d’en informer l’expéditeur en lui faisant une réponse par courrier électronique dès réception. Si vous n’êtes pas le destinataire de ce courrier, vous ne devez pas l’utiliser, le conserver, en faire état, le distribuer, le copier, l’imprimer ou en révéler le contenu à une tierce partie.
Ce courrier électronique est à usage strictement informatif et ne saurait engager de quelque manière que ce soit INFOTERRA France SAS, ni ses filiales.

This e-mail and any attachments hereto are CONFIDENTIAL and intended solely for the use of the addressee. If you have received this e-mail in error please send it back to the person that sent it to you.
If you have received it in error, please notify the sender by return email. If you are not the addressee of this email, you must not use, keep, disseminate, copy, print or otherwise deal with it.
This email is for information only and will not bind INFOTERRA France SAS in any contract or obligation, nor its subsidiaries.



Archive powered by MHonArc 2.6.16.

Top of Page