Subject: CGAL users discussion list
List archive
- From: sanlington <>
- To: cgal-discuss <>
- Subject: [cgal-discuss] Do i need to install taucs ?
- Date: Sun, 17 May 2009 22:43:26 +0800 (CST)
I have install CGAL-3.2.1, OS is Linux.
In my CGAL application, i want to use Taucs to solve a sparse linear equation, and i include the header files like this:
//////////////////////////////////////////////////////////////////////////////////////
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include<CGAL/Taucs_solver_traits.h>
#include<CGAL/Taucs_fix.h>
#include<CGAL/Taucs_matrix.h>
#include<CGAL/Taucs_vector.h>
#include <CGAL/Delaunay_triangulation_3.h>
#include <CGAL/Triangulation_cell_base_with_info_3.h>
#include <CGAL/Triangulation_vertex_base_with_info_3.h>
#include <CGAL/IO/Geomview_stream.h>
#include <CGAL/IO/Triangulation_geomview_ostream_3.h>
#include <unistd.h>
#include <CGAL/Triangulation_hierarchy_3.h>
#include <CGAL/circulator.h>
#include <CGAL/squared_distance_3.h>
#include <list>
//////////////////////////////////////////////////////////////////////////////////////////
but there are some compile errors occured, some of them is :
In file included from /usr/local/CGAL/CGAL-3.2.1/include/CGAL/Taucs_matrix.h:24,
from /usr/local/CGAL/CGAL-3.2.1/include/CGAL/Taucs_solver_traits.h:24,
from Triangulation.h:11,
from Mesh.cpp:2:
/usr/local/CGAL/CGAL-32.1/include/CGAL/Taucs_fix.h:37:27: taucs.h: No such file or directory
In file included from /usr/local/CGAL/CGAL-3.2.1/include/CGAL/Taucs_matrix.h:24,
from /usr/local/CGAL/CGAL-3.2.1/include/CGAL/Taucs_solver_traits.h:24,
from Triangulation.h:11,
from Mesh.cpp:2:
/usr/local/CGAL/CGAL-3.2.1/include/CGAL/Taucs_fix.h: In function `double cgal_taucs_available_memory_size()':
/usr/local/CGAL/CGAL-3.2.1/include/CGAL/Taucs_fix.h:77: error: `taucs_available_memory_size' was not declared in this scope
/usr/local/CGAL/CGAL-3.2.1/include/CGAL/Taucs_fix.h:80: error: `taucs_printf' was not declared in this scope
/usr/local/CGAL/CGAL-3.2.1/include/CGAL/Taucs_fix.h:77: warning: unused variable 'taucs_available_memory_size'
/usr/local/CGAL/CGAL-3.2.1/include/CGAL/Taucs_fix.h:80: warning: unused variable 'taucs_printf'
In file included from /usr/local/CGAL/CGAL-3.2.1/include/CGAL/Taucs_solver_traits.h:24,
from Triangulation.h:11,
from Mesh.cpp:2:
/usr/local/CGAL/CGAL-3.2.1/include/CGAL/Taucs_matrix.h: At global scope:
/usr/local/CGAL/CGAL-3.2.1/include/CGAL/Taucs_matrix.h:249: error: ISO C++ forbids declaration of `taucs_ccs_matrix' with no type
/usr/local/CGAL/CGAL-3.2.1/include/CGAL/Taucs_matrix.h:249: error: expected `;' before '*' token
/usr/local/CGAL/CGAL-3.2.1/include/CGAL/Taucs_matrix.h:295: error: expected `;' before "private"
/usr/local/CGAL/CGAL-3.2.1/include/CGAL/Taucs_matrix.h:315: error: ISO C++ forbids declaration of `taucs_ccs_matrix' with no type
//////////////////////////
did i include the wrong header files ,or besides CGAL, do i need to install Taucs ?
In my CGAL application, i want to use Taucs to solve a sparse linear equation, and i include the header files like this:
//////////////////////////////////////////////////////////////////////////////////////
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include<CGAL/Taucs_solver_traits.h>
#include<CGAL/Taucs_fix.h>
#include<CGAL/Taucs_matrix.h>
#include<CGAL/Taucs_vector.h>
#include <CGAL/Delaunay_triangulation_3.h>
#include <CGAL/Triangulation_cell_base_with_info_3.h>
#include <CGAL/Triangulation_vertex_base_with_info_3.h>
#include <CGAL/IO/Geomview_stream.h>
#include <CGAL/IO/Triangulation_geomview_ostream_3.h>
#include <unistd.h>
#include <CGAL/Triangulation_hierarchy_3.h>
#include <CGAL/circulator.h>
#include <CGAL/squared_distance_3.h>
#include <list>
//////////////////////////////////////////////////////////////////////////////////////////
but there are some compile errors occured, some of them is :
In file included from /usr/local/CGAL/CGAL-3.2.1/include/CGAL/Taucs_matrix.h:24,
from /usr/local/CGAL/CGAL-3.2.1/include/CGAL/Taucs_solver_traits.h:24,
from Triangulation.h:11,
from Mesh.cpp:2:
/usr/local/CGAL/CGAL-32.1/include/CGAL/Taucs_fix.h:37:27: taucs.h: No such file or directory
In file included from /usr/local/CGAL/CGAL-3.2.1/include/CGAL/Taucs_matrix.h:24,
from /usr/local/CGAL/CGAL-3.2.1/include/CGAL/Taucs_solver_traits.h:24,
from Triangulation.h:11,
from Mesh.cpp:2:
/usr/local/CGAL/CGAL-3.2.1/include/CGAL/Taucs_fix.h: In function `double cgal_taucs_available_memory_size()':
/usr/local/CGAL/CGAL-3.2.1/include/CGAL/Taucs_fix.h:77: error: `taucs_available_memory_size' was not declared in this scope
/usr/local/CGAL/CGAL-3.2.1/include/CGAL/Taucs_fix.h:80: error: `taucs_printf' was not declared in this scope
/usr/local/CGAL/CGAL-3.2.1/include/CGAL/Taucs_fix.h:77: warning: unused variable 'taucs_available_memory_size'
/usr/local/CGAL/CGAL-3.2.1/include/CGAL/Taucs_fix.h:80: warning: unused variable 'taucs_printf'
In file included from /usr/local/CGAL/CGAL-3.2.1/include/CGAL/Taucs_solver_traits.h:24,
from Triangulation.h:11,
from Mesh.cpp:2:
/usr/local/CGAL/CGAL-3.2.1/include/CGAL/Taucs_matrix.h: At global scope:
/usr/local/CGAL/CGAL-3.2.1/include/CGAL/Taucs_matrix.h:249: error: ISO C++ forbids declaration of `taucs_ccs_matrix' with no type
/usr/local/CGAL/CGAL-3.2.1/include/CGAL/Taucs_matrix.h:249: error: expected `;' before '*' token
/usr/local/CGAL/CGAL-3.2.1/include/CGAL/Taucs_matrix.h:295: error: expected `;' before "private"
/usr/local/CGAL/CGAL-3.2.1/include/CGAL/Taucs_matrix.h:315: error: ISO C++ forbids declaration of `taucs_ccs_matrix' with no type
//////////////////////////
did i include the wrong header files ,or besides CGAL, do i need to install Taucs ?
穿越地震带 纪念汶川地震一周年
- [cgal-discuss] Do i need to install taucs ?, sanlington, 05/17/2009
- Re: [cgal-discuss] Do i need to install taucs ?, Laurent Rineau (GeometryFactory), 05/18/2009
- Re: [cgal-discuss] Do i need to install taucs ?, Laurent Saboret, 05/18/2009
- Re: [cgal-discuss] Do i need to install taucs ?, Laurent Rineau (GeometryFactory), 05/18/2009
Archive powered by MHonArc 2.6.16.