Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Problems with CGAL 3.4 windows installer

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Problems with CGAL 3.4 windows installer


Chronological Thread 
  • From: Laurent Saboret <>
  • To:
  • Subject: Re: [cgal-discuss] Problems with CGAL 3.4 windows installer
  • Date: Tue, 25 Aug 2009 12:46:07 +0200

Dear Zohar,

Unlike most Windows installers (including CGAL 3.3.1), CGAL 3.4 Windows installer only downloads CGAL sources and precompiled third-party libraries.
After running the installer, you should:
- configure CGAL (ie run CMake in CGAL root folder)
- compile CGAL libraries

Then, in order to compile your own application, you have to:
- create a file CMakeLists.txt in your application's folder
- run CMake in your application's folder
- compile your application

This process is detailed in the installation guide
http://www.cgal.org/Manual/3.4/doc_html/installation_manual/contents.html

As the parameterization package requires third-party libraries (TAUCS, LAPACK and BLAS), I recommend you to create your CMakeLists.txt from CGAL-3.4\examples\Surface_mesh_parameterization\CMakeLists.txt.

Regards,
--
Laurent Saboret
INRIA Sophia-Antipolis


Zohar Levi a écrit :

Dear Laurent,

A week ago I had a problem with the parameterization package and I decided to try upgrade to version 3.4.

I started with the same simple procedure I used to install cgal 3.3.1:

1. I downloaded the windows binary installer two clicks and it was installed.
2. When I tried to compile my project it complained about missing 'compiler_config.h'.
3. I went to the installation manual, but it was corrupted. I went to the online notes, but I didn't find anything new regarding the windows installer which suppose to cover everything you need. The appendix mentioned something about the compiler_config.h, but it was related to cmake and building the libraries from the source.
4. I reinstalled the package. I installed version 3.5beta. I reinstalled version 3.3.1 for comparison and finally stayed with it.
5. Yesterday I tried to bother the group, since I couldn't cope anymore with the param. problems, and dared to ask a question.
6. I got a tip from you about cmake. I read carefully again the installation manual, and I saw a mention only of a new configuration procedure with cmake. Most of the stuff regarding cmake was concerning with building the libraries which I already have pre-compiled. There was a note on compiling the examples, but my application doesn't have CMakeLists.txt and no one said how to make it. The appendix says the compiler_config.h should be generated by the cmake. I installed the cmake. I ran from CGAL dir:
cmake-gui .
Pressed configure and got the message: "Error in configuration process, project files may be invalid".

Is this the intended procedure you meant users to install the new *stable release* version of CGAL with point and click windows installer?

Look, I don't ask petty questions like: Why there's a feeling that CGAL consists of 3 different packages - Polyhedron, Triangulation, Arrangement - with no seemingly basic common interface. For example, when I want to know the number of vertices in a structure I need to remember that one uses /size_of_vertices () /while the two others use/ //number_of_vertices/(). Or why only some of them has a built-in id member for vertices and faces, or why there isn't a common method which constructs one of the structures from an already made data (for example the best way I found up until now to load my triangulation into cgal triangulation structure is to save it to .off first...).
I just think that if you make a major change in the installation and configuration process, which the windows installer doesn't cover anymore (, and you have invalid html guide afterwards) you should at least give a big red note that this or that should be done afterwards.
(Or the windows installer just a minor unimportant side benefit of CGAL and I should move to linux and build the libraries from the source?)

I hope I wasn't disrespectful or rude (to much... J ). I appreciate very much your contribution and I guess I still use the library instead of writing the code myself. I must have grappled with CGAL too much lately on non-sense, and this might have been the straw.

Regards,



------------------------------------------------------------------------
*From:* Laurent Saboret
<>
*To:*

*Sent:* Tuesday, August 25, 2009 10:45:58 AM
*Subject:* Re: [cgal-discuss] Problems with CGAL 3.4 windows installer

Hi Zohar,

Zohar Levi a écrit :
>
> Hi,
>
>
> - Version 3.3.1 had a useful notes after the installation. 3.4 has an invalid html reference.

Yes, this is a known bug. CGAL 3.4 installation guide is available at
http://www.cgal.org/Manual/3.4/doc_html/installation_manual/contents.html

>
> - An application which compiled perfectly with 3.3.1 complained with 3.4 about missing compiler_config.h. It seemed the installer didn't generate this file, in contrary to the 3.3.1 installer.
>

CGAL 3.4 has a brand new installation process, using CMake. Please read the installation guide above.

Best regards,
-- Laurent Saboret
INRIA Sophia-Antipolis

-- You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss






Archive powered by MHonArc 2.6.16.

Top of Page