Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] CGAL_PDB - could not include align.h

Subject: CGAL users discussion list

List archive

[cgal-discuss] CGAL_PDB - could not include align.h


Chronological Thread 
  • From: Timo Strunk <>
  • To:
  • Subject: [cgal-discuss] CGAL_PDB - could not include align.h
  • Date: Mon, 23 Feb 2009 14:58:05 +0100

Hi everybody,

I'm using CGAL3.4 on Ubuntu 8.10 with GCC 4.3.2. jama and tnt libraries are installed.

Including CGAL/PDB/align.h leads to an error:

-- minimal example --
#include <iostream>
#include <CGAL/PDB/align.h>

int main () {
std::cout << "Minimal Example" << std::endl;
}
--- minimal example end ---

does not compile with:
g++ testalign.cpp -L/home/strunk/local/lib -lCGAL -lCGAL_PDB -I/home/strunk/local/include -frounding-math
I think two Iterators are not renamed from the dsrpdb switch and also two functions are only present in CGAL/PDB/internal/align_points.out.h
I renamed the iterators, included a JAMA header, changed one assert and copied two function definitions from align_points.out.h.

The diff file is available here:
http://pastebin.com/m2723c6f8

It compiles now, but I haven't checked if it works as expected yet.

Thanks for CGAL,
Timo



  • [cgal-discuss] CGAL_PDB - could not include align.h, Timo Strunk, 02/23/2009

Archive powered by MHonArc 2.6.16.

Top of Page