Subject: CGAL users discussion list
List archive
- From: Joachim Reichel <>
- To:
- Subject: Re: [cgal-discuss] CGAL and Ubuntu
- Date: Tue, 11 Dec 2007 19:35:10 +0100
Hi,
> thank you, they were there. But When I want to make a demo, the previous
> "g++ can not b found" appears again although I installed g++!
are you sure that you installed g++ and not just g++-X.Y ?
>> mahmood@magma:~/Tools/cgal/demo/Voronoi_diagram_2$
>> make
>> /usr/share/qt3/bin/moc -o my_window.moc my_window.h
>> /usr/share/qt3/bin/moc -o qt_file_toolbar.moc qt_file_toolbar.h
>> /usr/share/qt3/bin/moc -o qt_layers_toolbar.moc qt_layers_toolbar.h
>> g++ -I../../include -Wall -frounding-math ->I/usr/include/qt3
>> -Iinclude -c voronoi_diagram_2.C
>> make: g++: Command not found
>> make: *** [voronoi_diagram_2.o] Error 127
>
> 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++.
You can copy /usr/share/cgal/makefile, edit CGAL_CXX and point CGAL_MAKEFILE
to
that copy. But I doubt that g++-3.3 is the default compiler on Ubuntu feisty,
hence, linking will most probably fail.
As already pointed out to you, you should rather install the g++ package,
which
depends on the correct g++-X.Y package (the default compiler, which was used
to
compile the CGAL libraries).
Note that I am not familiar with Ubuntu, I'm just guessing based on my Debian
experience. Maybe it is better to ask in some Ubuntu-related forum.
Joachim
- Re: Re: [cgal-discuss] CGAL and Ubuntu, nt_mahmood, 12/02/2007
- <Possible follow-up(s)>
- Re: Re: [cgal-discuss] CGAL and Ubuntu, nt_mahmood, 12/02/2007
- Re: [cgal-discuss] CGAL and Ubuntu, Laurent Rineau, 12/03/2007
- Re: [cgal-discuss] CGAL and Ubuntu, Mahmood NT, 12/11/2007
- Re: [cgal-discuss] CGAL and Ubuntu, Joachim Reichel, 12/11/2007
- Re: Re: [cgal-discuss] CGAL and Ubuntu, nt_mahmood, 12/11/2007
- Re: [cgal-discuss] CGAL and Ubuntu, Joachim Reichel, 12/11/2007
- Re: [cgal-discuss] CGAL and Ubuntu, Daniel Duque Campayo, 12/12/2007
- Re: [cgal-discuss] CGAL and Ubuntu, Joachim Reichel, 12/12/2007
- Re: [cgal-discuss] CGAL and Ubuntu, Fernando Cacciola, 12/12/2007
- Re: [cgal-discuss] CGAL and Ubuntu, Joachim Reichel, 12/12/2007
- Re: [cgal-discuss] CGAL and Ubuntu, nt_mahmood, 12/12/2007
- Re: Re: [cgal-discuss] CGAL and Ubuntu, nt_mahmood, 12/13/2007
Archive powered by MHonArc 2.6.16.