Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] need help with vcpkg build on Windows- .vtu file - useful to save as ASCII...

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: "Audette, Michel A." <>
  • 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 03:19:50 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=odu.edu; dmarc=pass action=none header.from=odu.edu; dkim=pass header.d=odu.edu; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=A/GjxbsI0aCZ5s0NGHsbkk6bRdLlz5T+2ZPVMJsLGn4=; b=FsZmbNUWQj+w5rBN7VefL+FMfrzGt9V8XUfUUG7PYa7cEBkfCJcvCbmUOXkOICj/8nu+GRC/9qw6lRNwVFUhC7dfY9BcMAC0jYrWkZ/jjCecL+ZTaz8JtAYdSc1cs7z/7Tqh87YDqCqGsPJDnunneSJW4W+RM2fH/rdT1jkfoUr9Wawdi1qtyVfsdo2QTzWAq8DsupEPQVmTD5ZiF45jwBkm70s2GPU3Qpq397B5DAlpUTgxgpje+Zd6tasJsvl0v2puCBMsNgnFMWOYUDpmTf1ssNtp5nQ9U0iJLib/WBjR3YxHmfSmA040Q7TxeDPUtdi7nxkJp8T6HfQk3LLNdQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EyNcZ4c2pM7nCTW/QE1yX2XsGXUYNH3UhZLULNDYZ3CK+/FGaJBseT5zW+wADcZup91nvxxb8+tNLuIRtroBT5XaljfJGt5MrBbMbKbq0pE0ZC8KsmEBtvVaE6SGybzP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lvi3MquYJ5Tej3vBBb8HE+OcY++C3jT2cimM6SwVPtdgPgG7xA=

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&amp;data=04%7C01%7Cmaudette%40odu.edu%7Cffdef7ae229e47d092f208d8e1b6ff9f%7C48bf86e811a24b8a8cb368d8be2227f3%7C0%7C0%7C637507523383645532%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=vNZtGPzCjHq8isntp1uBUVCbv%2B3TvwQ%2F7RCsqAC%2BCeM%3D&amp;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




Archive powered by MHonArc 2.6.19+.

Top of Page