Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Help needed reconstructing surfaces from 3D data sets

Subject: CGAL users discussion list

List archive

[cgal-discuss] Help needed reconstructing surfaces from 3D data sets


Chronological Thread 
  • From: <>
  • To:
  • Subject: [cgal-discuss] Help needed reconstructing surfaces from 3D data sets
  • Date: Tue, 29 Jun 2010 16:49:27 +0200 (CEST)

Hi,

I am still in the experimental phase of using CGAL for relatively simple
tasks.
I have compiled and installed version 3.6 and worked my way through chapter
56:Point Set Processing. All of which worked fine.

I now want to start reconstructing from 3D point sets (chapter 47). However
the
example code
http://www.cgal.org/Manual/3.6/examples/Surface_reconstruction_points_3/poisson_reconstruction_example.cpp
will not compile on my system:

g++ (SUSE Linux) 4.4.1 [gcc-4_4-branch revision 150839] - 64bit
cmake version 2.6-patch 4
Eclipse CDT C/C++ IDE build 20100218-1602


I suspect that I ma not the first to encounter this problem. It seems to me
that a header file is missing (?)

Below is the error message:

g++ -O2 -g -Wall -c -fmessage-length=0 -frounding-math -MMD -MP
-MF"poisson_reconstruction_example.d" -MT"poisson_reconstruction_example.d"
-o"poisson_reconstruction_example.o" "../poisson_reconstruction_example.cpp"

In file included from /usr/local/include/CGAL/Taucs_solver_traits.h:30,
from
/usr/local/include/CGAL/Poisson_reconstruction_function.h:30,
from ../poisson_reconstruction_example.cpp:9:
/usr/local/include/CGAL/Taucs_matrix.h:291: error: expected ‘;’ before
‘*’ token
../poisson_reconstruction_example.cpp:108: error: expected ‘;’ at end of
input
../poisson_reconstruction_example.cpp:108: error: expected ‘}’ at end of
input
In file included from /usr/local/include/CGAL/Taucs_solver_traits.h:30,
from
/usr/local/include/CGAL/Poisson_reconstruction_function.h:30,
from ../poisson_reconstruction_example.cpp:9:
/usr/local/include/CGAL/Taucs_matrix.h: In constructor
‘CGAL::Taucs_matrix<T>::Taucs_matrix(int, bool)’:
/usr/local/include/CGAL/Taucs_matrix.h:159: error: ‘m_row_dimension’ was
not declared in this scope
/usr/local/include/CGAL/Taucs_matrix.h:160: error: ‘m_column_dimension’ was
not declared in this scope
/usr/local/include/CGAL/Taucs_matrix.h:161: error: ‘m_is_symmetric’ was not
declared in this scope
/usr/local/include/CGAL/Taucs_matrix.h:162: error: ‘m_columns’ was not
declared in this scope
/usr/local/include/CGAL/Taucs_matrix.h:163: error: ‘m_matrix’ was not
declared in this scope
/usr/local/include/CGAL/Taucs_matrix.h: In constructor
‘CGAL::Taucs_matrix<T>::Taucs_matrix(int, int, bool)’:
/usr/local/include/CGAL/Taucs_matrix.h:175: error: ‘m_is_symmetric’ was not
declared in this scope
/usr/local/include/CGAL/Taucs_matrix.h:179: error: ‘m_row_dimension’ was
not declared in this scope
/usr/local/include/CGAL/Taucs_matrix.h:180: error: ‘m_column_dimension’ was
not declared in this scope
/usr/local/include/CGAL/Taucs_matrix.h:181: error: ‘m_is_symmetric’ was not
declared in this scope
/usr/local/include/CGAL/Taucs_matrix.h:182: error: ‘m_columns’ was not
declared in this scope
/usr/local/include/CGAL/Taucs_matrix.h:183: error: ‘m_matrix’ was not
declared in this scope
/usr/local/include/CGAL/Taucs_matrix.h: In destructor
‘CGAL::Taucs_matrix<T>::~Taucs_matrix()’:
/usr/local/include/CGAL/Taucs_matrix.h:190: error: ‘m_columns’ was not
declared in this scope
/usr/local/include/CGAL/Taucs_matrix.h:194: error: ‘m_matrix’ was not
declared in this scope
/usr/local/include/CGAL/Taucs_matrix.h:195: error: there are no arguments to
‘taucs_ccs_free’ that depend on a template parameter, so a declaration of
‘taucs_ccs_free’ must be available
/usr/local/include/CGAL/Taucs_matrix.h:195: note: (if you use
‘-fpermissive’, G++ will accept your code, but allowing the use of an
undeclared name is deprecated)
/usr/local/include/CGAL/Taucs_matrix.h: In member function ‘int
CGAL::Taucs_matrix<T>::row_dimension() const’:
/usr/local/include/CGAL/Taucs_matrix.h:201: error: ‘m_row_dimension’ was
not declared in this scope
/usr/local/include/CGAL/Taucs_matrix.h: In member function ‘int
CGAL::Taucs_matrix<T>::column_dimension() const’:
/usr/local/include/CGAL/Taucs_matrix.h:203: error: ‘m_column_dimension’ was
not declared in this scope
/usr/local/include/CGAL/Taucs_matrix.h: In member function ‘T
CGAL::Taucs_matrix<T>::get_coef(int, int) const’:
/usr/local/include/CGAL/Taucs_matrix.h:212: error: ‘m_row_dimension’ was
not declared in this scope
/usr/local/include/CGAL/Taucs_matrix.h:213: error: ‘m_column_dimension’ was
not declared in this scope
/usr/local/include/CGAL/Taucs_matrix.h:217: error: ‘m_is_symmetric’ was not
declared in this scope
/usr/local/include/CGAL/Taucs_matrix.h:221: error: ‘m_columns’ was not
declared in this scope
/usr/local/include/CGAL/Taucs_matrix.h:222: error: there are no arguments to
‘construct_back_columns’ that depend on a template parameter, so a
declaration of ‘construct_back_columns’ must be available
/usr/local/include/CGAL/Taucs_matrix.h:224: error: ‘m_columns’ was not
declared in this scope
/usr/local/include/CGAL/Taucs_matrix.h: In member function ‘void
CGAL::Taucs_matrix<T>::set_coef(int, int, T, bool)’:
/usr/local/include/CGAL/Taucs_matrix.h:240: error: ‘m_row_dimension’ was
not declared in this scope
/usr/local/include/CGAL/Taucs_matrix.h:241: error: ‘m_column_dimension’ was
not declared in this scope
/usr/local/include/CGAL/Taucs_matrix.h:243: error: ‘m_is_symmetric’ was not
declared in this scope
/usr/local/include/CGAL/Taucs_matrix.h:247: error: ‘m_columns’ was not
declared in this scope
/usr/local/include/CGAL/Taucs_matrix.h:248: error: there are no arguments to
‘construct_back_columns’ that depend on a template parameter, so a
declaration of ‘construct_back_columns’ must be available
/usr/local/include/CGAL/Taucs_matrix.h:253: error: ‘m_columns’ was not
declared in this scope
/usr/local/include/CGAL/Taucs_matrix.h:258: error: ‘m_columns’ was not
declared in this scope
/usr/local/include/CGAL/Taucs_matrix.h: In member function ‘void
CGAL::Taucs_matrix<T>::add_coef(int, int, T)’:
/usr/local/include/CGAL/Taucs_matrix.h:273: error: ‘m_row_dimension’ was
not declared in this scope
/usr/local/include/CGAL/Taucs_matrix.h:274: error: ‘m_column_dimension’ was
not declared in this scope
/usr/local/include/CGAL/Taucs_matrix.h:276: error: ‘m_is_symmetric’ was not
declared in this scope
/usr/local/include/CGAL/Taucs_matrix.h:280: error: ‘m_columns’ was not
declared in this scope
/usr/local/include/CGAL/Taucs_matrix.h:281: error: there are no arguments to
‘construct_back_columns’ that depend on a template parameter, so a
declaration of ‘construct_back_columns’ must be available
/usr/local/include/CGAL/Taucs_matrix.h:283: error: ‘m_columns’ was not
declared in this scope
/usr/local/include/CGAL/Taucs_matrix.h: At global scope:
/usr/local/include/CGAL/Taucs_matrix.h:284: error: expected unqualified-id at
end of input
/usr/local/include/CGAL/Taucs_matrix.h:284: error: expected ‘}’ at end of
input
make: *** [poisson_reconstruction_example.o] Error 1

Thanks in advance

Mark


Archive powered by MHonArc 2.6.16.

Top of Page