Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Geomview and gv_terrain.cpp example error

Subject: CGAL users discussion list

List archive

[cgal-discuss] Geomview and gv_terrain.cpp example error


Chronological Thread 
  • From: Adam Getchell <>
  • To: "" <>
  • Subject: [cgal-discuss] Geomview and gv_terrain.cpp example error
  • Date: Tue, 19 Nov 2013 05:47:44 +0000
  • Accept-language: en-US

Hello all,

I’m looking to generate 3D images of my Delaunay triangulations. Reading the documentation, I am running the following example code:

http://doc.cgal.org/latest/Geomview/Geomview_2gv_terrain_8cpp-example.html

On MacOS 10.9, I get the following results:

┌─[getchell][Hapkido][±][master ][~/CDT-plusplus]
└─▪ ./gv_terrain 
Starting Geomview...done.
Drawing 2D Delaunay triangulation in wired mode.
Drawing its Voronoi diagram.
Error <1>: OOGLNew: couldn't allocate -16 bytes: SKEL lines: Cannot allocate memory
File: mallocp.c, Line: 62

I get the same results when running on Linux (tunneling to XQuartz):

┌─[adam][dewitt][~]
└─▪ uname -a
Linux dewitt 3.2.0-56-generic #86-Ubuntu SMP Wed Oct 23 09:20:45 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

┌─[adam][dewitt][±][master ][~/CDT-plusplus]
└─▪ ./gv_terrain 
Starting Geomview...done.
Drawing 2D Delaunay triangulation in wired mode.
Drawing its Voronoi diagram.
Xlib:  extension "NV-GLX" missing on display "localhost:10.0".
Drawing 2D Delaunay triangulation in non-wired mode.
Error <1>: OOGLNew: couldn't allocate -16 bytes: SKEL lines: Cannot allocate memory
File: mallocp.c, Line: 62

Both machines are running GeomView 1.9.4. Both are using source code from my GitHub repository:

https://github.com/acgetchell/CDT-plusplus

Suggestions? Should I be reporting this upstream to Geomview.org?

Thanks for your time,

Adam Getchell
http://about.me/adamgetchell




Archive powered by MHonArc 2.6.18.

Top of Page