Subject: CGAL users discussion list
List archive
- From: Stefan Salewski <>
- To:
- Subject: Re: [cgal-discuss] ruby c extensions and straight skeletons
- Date: Tue, 08 Oct 2013 20:08:07 +0200
On Tue, 2013-10-08 at 19:57 +0200, Stefan Salewski wrote:
> stefan@AMD64X2 ~/tust $ make
> compiling rcgal_apollonius.cpp
Sorry, there was still one old file "rcgal_apollonius.cpp" in that
directory, but its makes no difference. Just removed it and made a new
clean build, build process is fine:
stefan@AMD64X2 ~/tust $ ls -l
total 8
-rw-r--r-- 1 stefan stefan 196 Oct 8 19:43 extconf.rb
-rw-r--r-- 1 stefan stefan 618 Oct 8 19:42 hello_world.cpp
stefan@AMD64X2 ~/tust $ cat extconf.rb
require 'mkmf'
if have_library("CGAL") and have_library("CGAL_Core") and
have_library("gmp")
$CFLAGS += " -frounding-math"
create_makefile("hello_world")
else
puts 'missing CGAL library'
end
stefan@AMD64X2 ~/tust $ ruby extconf.rb
checking for main() in -lCGAL... yes
checking for main() in -lCGAL_Core... yes
checking for main() in -lgmp... yes
creating Makefile
stefan@AMD64X2 ~/tust $ make
compiling hello_world.cpp
linking shared-object hello_world.so
stefan@AMD64X2 ~/tust $ ls -lt
total 84
-rwxr-xr-x 1 stefan stefan 26661 Oct 8 20:03 hello_world.so
-rw-r--r-- 1 stefan stefan 30464 Oct 8 20:03 hello_world.o
-rw-r--r-- 1 stefan stefan 6313 Oct 8 20:03 Makefile
-rw-r--r-- 1 stefan stefan 6092 Oct 8 20:03 mkmf.log
-rw-r--r-- 1 stefan stefan 196 Oct 8 19:43 extconf.rb
-rw-r--r-- 1 stefan stefan 618 Oct 8 19:42 hello_world.cpp
stefan@AMD64X2 ~/tust $
- [cgal-discuss] ruby c extensions and straight skeletons, Noel Warren, 10/08/2013
- Re: [cgal-discuss] ruby c extensions and straight skeletons, Marc Glisse, 10/08/2013
- Re: [cgal-discuss] ruby c extensions and straight skeletons, Noel Warren, 10/08/2013
- Re: [cgal-discuss] ruby c extensions and straight skeletons, Noel Warren, 10/09/2013
- Re: [cgal-discuss] ruby c extensions and straight skeletons, Stefan Salewski, 10/09/2013
- Re: [cgal-discuss] ruby c extensions and straight skeletons, Noel Warren, 10/09/2013
- Re: [cgal-discuss] ruby c extensions and straight skeletons, Stefan Salewski, 10/08/2013
- Re: [cgal-discuss] ruby c extensions and straight skeletons, Noel Warren, 10/08/2013
- Re: [cgal-discuss] ruby c extensions and straight skeletons, Stefan Salewski, 10/08/2013
- Re: [cgal-discuss] ruby c extensions and straight skeletons, Stefan Salewski, 10/08/2013
- Re: [cgal-discuss] ruby c extensions and straight skeletons, Stefan Salewski, 10/08/2013
- Re: [cgal-discuss] ruby c extensions and straight skeletons, Sebastien Loriot (GeometryFactory), 10/08/2013
- Re: [cgal-discuss] ruby c extensions and straight skeletons, Noel Warren, 10/09/2013
- Re: [cgal-discuss] ruby c extensions and straight skeletons, Stefan Salewski, 10/08/2013
- Re: [cgal-discuss] ruby c extensions and straight skeletons, Marc Glisse, 10/08/2013
Archive powered by MHonArc 2.6.18.