Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] CGAL and Ubuntu

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] CGAL and Ubuntu


Chronological Thread 
  • From: Joachim Reichel <>
  • To:
  • Subject: Re: [cgal-discuss] CGAL and Ubuntu
  • Date: Wed, 12 Dec 2007 10:02:55 +0100

Hi,

>> I found that the command is not g++ but it is "g++-3.3", but I don't know
>> how to tell cgal, use "g++-3.3" and not g++.
>
> It's strange g++ is not installed if some g++-x.y is. But, you may try (as
> root):

No, it makes sense. The g++ package is kind of a meta package that
depends on the default g++-X.Y package and contains /usr/bin/g++, which
is a symbolic link to the default g++-X.Y binary. If you just want g++,
install g++; if you want a specific g++-X.Y, install g++-X.Y. Simple,
isn't it?

> which g++-3.3
>
> answer: "path"/g++-3.3 (i.e., linux gives us the path to
> g++-3.3, /usr/local/bin or wherever).
>
> ln -s "path"/g++-3.3 "path"/g++ (replace "path" with path to g++-3.3).
>
> (make a "link" to g++-3.3 so now calls to g++ point to it.)

Please don't do this (at least if "path" if /usr/bin). Just install the
g++ package.

(And g++-3.3 is most probably not the compiler that was used to compile
the CGAL libraries on Ubuntu. Hence, you will get into trouble in the
linking stage.)

Joachim



Archive powered by MHonArc 2.6.16.

Top of Page