Comments (6)
Hi,
Please try placing https://github.com/Yixin-Hu/TetWild/blob/master/CMakeLists.txt#L123-L135 with
add_executable(new_gtet ${SOURCE_FILES})
target_link_libraries(new_gtet geogram igl::core igl::cgal)
from tetwild.
Hi,
No Luck. getting same error.
from tetwild.
Can you please post the exact commands you are using to run cmake and make, and the detailed cmake output your are getting? I don't seem to have any problem on Ubuntu.
from tetwild.
I have double checked, I am able to build TetWild master branch out of the box on a clean slate Ubuntu 18.04 with the following commands:
$ apt-get update
$ apt-get install gcc g++ cmake git libcgal-dev
$ git clone https://github.com/Yixin-Hu/TetWild.git
$ cd TetWild/
$ git submodule update --init --recursive
$ mkdir build
$ cd build/
$ CC=gcc CXX=g++ cmake ..
$ make
$ ./TetWild --input <input_mesh> --output <output_mesh>
from tetwild.
I don't know what was the problem before but now cmake runs with no issue. But when trying to make it, having a lot of error starting like this
In file included from /usr/include/CGAL/Constrained_triangulation_2.h:28:0,
from /usr/include/CGAL/Constrained_Delaunay_triangulation_2.h:25,
from /home/galib/TetWild/src/SimpleTetrahedralization.cpp:15:
/usr/include/CGAL/Triangulation_2.h: In instantiation of ‘class CGAL::Triangulation_2<CGAL::Epeck, CGAL::Default>’:
/usr/include/CGAL/Constrained_triangulation_2.h:47:7: required from ‘class CGAL::Constrained_triangulation_2<CGAL::Epeck, CGAL::Default, CGAL::Exact_predicates_tag>’
/usr/include/CGAL/Constrained_Delaunay_triangulation_2.h:63:7: required from ‘class CGAL::Constrained_Delaunay_triangulation_2<CGAL::Epeck, CGAL::Default, CGAL::Exact_predicates_tag>’
/home/galib/TetWild/src/SimpleTetrahedralization.cpp:19:12: required from here
/usr/include/CGAL/Triangulation_2.h:100:48: error: no type named ‘size_type’ in ‘struct CGAL::Default’
typedef typename Tds::size_type size_type;
^
/usr/include/CGAL/Triangulation_2.h:101:48: error: no type named ‘difference_type’ in ‘struct CGAL::Default’
typedef typename Tds::difference_type difference_type;
I have followed the instruction given here
#2
but, having the same error.
from tetwild.
Your cmake seems to find Ubuntu’s CGAL ( as you can see, errors point to /usr/include/... ).
Maybe uninstall Ubuntu’s CGAL, and try again.
from tetwild.
Related Issues (20)
- Feature request: export each pass? HOT 2
- Problem with libigl when built from source HOT 5
- Remove dependency on CGAL HOT 2
- Region Identification HOT 1
- How to make tetrahedron coarse HOT 2
- TetWild producing unexpected results in Prusaslicer HOT 5
- Building on Win 10 with Visual Studio 2017 HOT 1
- Mesh Rendering
- Compilation on M1 Mac HOT 2
- 论文《Tetrahedral Meshing in the Wild》和对应程序学习请教 HOT 2
- Sizing Field HOT 1
- Abnormal program termination: received signal 11 (Segmentation fault) HOT 7
- Function wrapper issue on Ubuntu HOT 1
- Tetrahedral mesh include surface points? HOT 1
- meshing anisotropically HOT 4
- Exactly preserve the polyhedron boundary? HOT 1
- Tetwild terminating abnormally when background mesh is specified
- Stuck when installing
- Uses two versions of mesh_AABB header and source file each, at the same time (!) - please rename at least and clarify HOT 1
- multi-material meshing with shared faces HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tetwild.