Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] running a demo on ubuntu Linux

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] running a demo on ubuntu Linux


Chronological Thread 
  • From: sara ershadi <>
  • To: "" <>
  • Subject: Re: [cgal-discuss] running a demo on ubuntu Linux
  • Date: Wed, 30 Jan 2013 08:49:26 -0800 (PST)
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=zPJHRBi6eL9ci6mF2NDHbOsnYzRfJ686SZil4VF05zWLTv4Ie8jDO6FXZKMFoQpdGLKkbo5TzfwT/f91hTGL0KON/qi/NYByq5iZiycIRHuFndgcW4xJZYlhIYoSwjyeXoBJJxSqpXn9TU52MdYujFfjUw+N3FVeBGw25qH3vlM= ;

Dear Laurent,

Thanks for your guidance .
I have a question . If I want to run demos in situation that I am installed CGAL from software center and  by use of Install the package named "libcgal-dev". what can I do for run demos and example ?
when I install the package named "libcgal-dev" I have a folder named CGAL in "file system/usr/bin/CGAL" and also I have some .so file in
"file system/usr/lib".
but it seems I have not any demo or example and source .cpp file of CGAL . what can I do for run demos and example ?.

2- If I decide to run CGAL from source in ubuntu linux I should install all dependencies package you have listed one by one ?

Thanks alot for your help.

From: Laurent Rineau (CGAL/GeometryFactory) <>
To:
Sent: Tuesday, January 29, 2013 1:38 AM
Subject: Re: [cgal-discuss] running a demo on ubuntu Linux

Le mardi 29 janvier 2013 00:05:08 sara a écrit :
> Hi all,
>
> I am working with ubuntu Linux. since it seems the speed of CGAL is more in
> linux than windows.
> I have installed Libcgal 3 item from software center in ubuntu
> but when I want to run a demo it dosn't cmake . properly . the error was :
> -- NOTICE: This demo requires CGAL and Qt3, and will not be compiled.
>
> then I decide to make the CGAL from source . I have downloaded
> CGAL-4.1.tar.gz from CGAL website.
>
> *1- the folder auxiliary\gmp\include is empty ! I expect it contain the
> needed gmp and mpfr.h files !*
>
> I egnore it and continue to build the CGAL Library.
> cd
> cd CGAL-4.1
> cmake .
>
>
> then I saw that qt3 and qt4 are others required lib are installed properly
> in output appeared in terminal .
>  make
> and then I was sure that this time CGAL installed properly certainly. then I
> decide to run  Mesh_2 demo


>
>
>
> cd CGAL-4.1
> cd demo
> cd Mesh_2
> mkdir build
> cd build
> cmake ..
>
> and unfortunately this message appeared :
>
> -- NOTICE: This demo requires CGAL and Qt3, and will not be compiled.

Install the package named "libcgal-dev". It will install a lot of dependencies
of CGAL:

libboost-dev
    Boost C++ Libraries development files (default version)

libboost-graph-dev
    generic graph components and algorithms in C++ (default version)

libboost-program-options-dev
    program options library for C++ (default version)

libboost-thread-dev
    portable C++ multi-threading (default version)

libgmp3-dev
    Multiprecision arithmetic library developers tools

libmpfr-dev
    multiple precision floating-point computation developers tools

libqt3-mt-dev
    Qt development files (Threaded)

libqt4-dev
    Qt 4 development files

zlib1g-dev
    compression library - development

Source: http://packages.ubuntu.com/lucid/libcgal-dev

After you have installed libcgal-dev, if you want to compile it from sources,
remove the packages libcgal and libcgal-dev from your system, and compile from
CGAL sources. All the main dependencies of CGAL should remain installed.

--
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://sympa.inria.fr/sympa/info/cgal-discuss







Archive powered by MHonArc 2.6.18.

Top of Page