Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] need help with vcpkg build on Windows- .vtu file - useful to save as ASCII...
Chronological Thread
- From: Adam Getchell <>
- To:
- Cc: "Tapp, Austin" <>
- Subject: Re: [cgal-discuss] need help with vcpkg build on Windows- .vtu file - useful to save as ASCII...
- Date: Mon, 8 Mar 2021 11:34:31 -0800
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:qrU6zR+zP1QI9v9uRHKM819IXTAuvvDOBiVQ1KB90O4TIJqq85mqBkHD//Il1AaPAdyKrasd0aGN6+jJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fcbglVgDexe65+IAiooQneuMQanZZpJ7osxBfOvnZGYfldy3lyJVKUkRb858Ow84Bm/i9Npf8v9NNOXLvjcaggQrNWEDopM2Yu5M32rhbDVheA5mEdUmoNjBVFBRXO4QzgUZfwtiv6sfd92DWfMMbrQ704RSiu4qF2QxLzliwJKyA2/33WisxojaJUvhShpwBkw4XJZI2ZLedycr/Bcd8fQ2dKQ8RfWDFbAo6kb4UBDPYOMulFoYfzpVQAsxW+Cw63Cez11jNIg2X73a0m3+kjFwzNwQwuH8gJsHTRtNj4KLodXvqwzKLVzDvMce9W1iv96IfWdhAhpeyHULVqfsXM00YvEhnJjlqOpoz5IzyV1voCs2yf7+d7WuKvjnQoqwB1ojS12sgsjYzJi5sTx1vZ+ip33Jw7KsekSE5nf9GkCp1QujmGOoZ3Qs4vXmFltTo+x7MGuJO3YSYExZooyhPcdfGJc5WE7xP/WOqNLjp1i2xoda+xiRu2/0Ws1+zxW9e03lpXqCdOj9fCtncI1xPJ68iHTONw/kig2TaT1wDT9/pLLVoomqrcLp4t2qQ/mYcJvkTGES/5hln2g7OWdko6/uio7/7rYrL8pp+TL4N0jRz+Mrgqmsy4BuQ4MRICUHSc+eS5zL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CaFVXiN3KNjX7yRhW3OKZNii+cexdRsYX4fhd2AnX4V4HabUiwP9ZzyDE32rYpnWjiNGgGMDE6fVkegKeX6HZxjvx6U0NM8nFlIO2A03KQ4+DdbJkbrfBrDyBwv+1f6XU+jbBS6XcXF7ROhCLOo4s28Bmdme6Vx28iCUIW82cZtMewpUxnfJ7h2NxFUHfA8ggK6DzJWRsPrtphTNbovvIJk4SdpOfIMD5Htuns044EHcGNcZCINXMgNVziHzuGVFJYHw7uDnnWgglmqN/X9nCRqcJn+J3lmZ5LTaMCEVJpTLUVDUNqGNFEK5ByDGsp
Yes, the vcpkg port for CGAL has changed from MPIR to GMP.
As a result, on Windows you need to install yasm-tool:x86-windows, even on 64-bit Windows.
I’ve documented the other prerequisites here:
I tend to let the CGAL port on vcpkg pick which Boost libraries to install, which is most (but not all) of them.
One drawback is that the CGAL port does not know that, e.g., TBB is installed, and doesn’t invoke the correct flags.
Cheers,
Adam
On Mar 7, 2021, at 11:55 PM, Maxime Gimeno ( via cgal-discuss Mailing List) <> wrote:Hi,
Sorry for your trouble with using vcpkg. I just had a look and things
have changed since the last time I did. I'll put order to the
dependencies soon.
Le lun. 8 mars 2021 à 04:20, Audette, Michel A. <> a écrit :
Hi again,
looks like Paraview needs me to save .vtu files as ASCII to be able to parse them. I tweaked the mesh_polyhedral_domain_with_features.cpp example with the ASCII flag as parameter.
CGAL::output_to_vtu(file, c3t3, CGAL::IO::ASCII);
Now able to see it on Paraview. I will be playing around with various tetrahedralization parameters from now on.
Sorry for the Internet traffic.
Michel
Michel Audette, Ph.D.
Associate Professor, Department of Computational Modeling and Simulation Engineering,
Graduate Program Director, Biomedical Engineering Institute,
Old Dominion University,
Norfolk, VA.
; cellphone: 757-470-1279 .
________________________________
From: <> on behalf of Audette, Michel A. <>
Sent: Sunday, March 7, 2021 8:53 PM
To: <>
Cc: Tapp, Austin <>
Subject: Re: [cgal-discuss] need help with vcpkg build on Windows- problem with .vtu file produced by
Hi Marc,
after all, I installed boost myself, separate from CGAL, and the problem went away. CGAL has its own internal boost installation, so I'm wondering why it does not include an up-to-date, inclusive set of software classes that has callable_traits as part of the complete imbedded boost set. If I cannot trust that CGAL-embedded boost installation as complete, as part of the vcpkg cgal installation, then the online doc should indicate that this instruction is incomplete. After all, the doc says:
You are now ready to install CGAL:
C:\dev\vcpkg> ./vcpkg.exe install cgal
This will take several minutes as it downloads MPIR (a fork of GMP), MPFR, all boost header files, and it will compile MPIR and MPFR, as well as several boost libraries. Afterwards, you will find the include files, libraries, and dlls in the subdirectory C:\dev\vcpkg\installed\x64-windows.
Anyhow, if I install boost separately (in the same x64-windows directory, i.e. : vcpkg.exe install boost:x64-windows), I'm now able to compile and run the Mesh_3 examples... I am trying to run variational tet meshing with an imposed polyhedral surface mesh, to produce a resolution-controlled tet mesh that is faithful to the discrete surface (I view this Rineau/Alliez variational algorithm as the best tet meshing algorithm available in public, which is why I go to this trouble).
However, starting with baby steps, such as the basic examples like mesh_polyhedral_domain_with_features.cpp. Just wondering about the out.vtu file produced by mesh_polyhedral_domain_with_features.cpp. When I try to visualize it on Paraview, the latter complains:
ERROR: In C:\glr\builds\paraview\paraview-ci\build\superbuild\paraview\src\VTK\IO\XML\vtkXMLUnstructuredDataReader.cxx, line 686
vtkXMLUnstructuredGridReader (000001AF6F9E3D90): Cannot read cell connectivity from Cells in piece 0 because the "offsets" array is not monotonically increasing or starts with a value other than 0.
Any idea why? Can you suggest something else to read and visualize vtu files?
Thanks for your support. Warm wishes,
Michel
Michel Audette, Ph.D.
Associate Professor, Department of Computational Modeling and Simulation Engineering,
Graduate Program Director, Biomedical Engineering Institute,
Old Dominion University,
Norfolk, VA.
; cellphone: 757-470-1279 .
________________________________
From: <> on behalf of Marc Glisse <>
Sent: Sunday, March 7, 2021 5:18 PM
To: <>
Cc: Tapp, Austin <>
Subject: Re: [cgal-discuss] need help with vcpkg build on Windows- problem with boost/callable_traits not built
On Sun, 7 Mar 2021, Audette, Michel A. wrote:in trying to build Mesh_3 examples, I'm finding that the
boost/callable_traits directory is not set up properly with vcpkg. I
cannot find it anywhere, so the compiler complains of not finding
is_invocable.hpp.
Sorry for the obvious question, but did you install the
boost-callable-traits vcpkg package?
--
Marc Glisse
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://nam11.safelinks.protection.outlook.com/?url="https%3A%2F%2Fsympa.inria.fr%2Fsympa%2Finfo%2Fcgal-discuss&data=04%7C01%7Cmaudette%40odu.edu%7Cffdef7ae229e47d092f208d8e1b6ff9f%7C48bf86e811a24b8a8cb368d8be2227f3%7C0%7C0%7C637507523383645532%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=vNZtGPzCjHq8isntp1uBUVCbv%2B3TvwQ%2F7RCsqAC%2BCeM%3D&reserved=0
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
- [cgal-discuss] need help with vcpkg build on Windows- problem with boost/callable_traits not built, Audette, Michel A., 03/07/2021
- Re: [cgal-discuss] need help with vcpkg build on Windows- problem with boost/callable_traits not built, Marc Glisse, 03/07/2021
- Re: [cgal-discuss] need help with vcpkg build on Windows- problem with .vtu file produced by, Audette, Michel A., 03/08/2021
- Re: [cgal-discuss] need help with vcpkg build on Windows- .vtu file - useful to save as ASCII..., Audette, Michel A., 03/08/2021
- Re: [cgal-discuss] need help with vcpkg build on Windows- .vtu file - useful to save as ASCII..., Maxime Gimeno, 03/08/2021
- Re: [cgal-discuss] need help with vcpkg build on Windows- .vtu file - useful to save as ASCII..., Adam Getchell, 03/08/2021
- Re: [cgal-discuss] need help with vcpkg build on Windows- .vtu file - useful to save as ASCII..., Maxime Gimeno, 03/08/2021
- Re: [cgal-discuss] need help with vcpkg build on Windows- .vtu file - useful to save as ASCII..., Audette, Michel A., 03/08/2021
- Re: [cgal-discuss] need help with vcpkg build on Windows- problem with .vtu file produced by, Audette, Michel A., 03/08/2021
- Re: [cgal-discuss] need help with vcpkg build on Windows- problem with boost/callable_traits not built, Marc Glisse, 03/07/2021
Archive powered by MHonArc 2.6.19+.